Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add small utility to read a bunch of PDOs #211

Merged

Conversation

kivel
Copy link
Collaborator

@kivel kivel commented Mar 19, 2024

tiny helper to read nameplates for instance.

./readDataObjects.py -m0 -p21 -y EL7xxx_motor_nameplate.yaml

INDEX ==== 0x9009 ====
0x01: Motor vendor = Beckhoff
0x02: Motor type = AM8112-xFx1
0x03: Serial number = aa400i07
0x04: Order number = AM8112-0F21-0000
0x05: Type of motor = sync, rot
0x06: Number of pole pairs = 0x00000003 3
0x07: Standstill current (rms) = 0x0000125c 4700
0x08: Rated current (rms) = 0x00001194 4500
0x09: Peak current (rms) = 0x00004074 16500
0x0a: Nominal voltage (rms) = 0x0000846c 33900
0x0b: Max voltage (rms) Maximum voltage = 0x00017700 96000
0x0c: Max winding du/dt = 0x007a1200 8000000
0x0d: Max torque = 0x0550 1360
0x0e: Torque constant = 0x0050 80
0x0f: EMF (rms) = 0x00000005 5
0x10: Winding resistance = 0x04e2 1250
0x13: Maximum velocity = 0x00002710 10000
0x15: Motor temp warn level = 0x04b0 1200
0x16: Motor temp shutdown level = 0x0578 1400
0x17: Time constant I2T model = 0x01a3 419
INDEX ==== 0x8010 ====
0x12: Current loop integral time = 0x0006 6
0x13: Current loop proportional gain = 0x0085 133
0x14: Velocity loop integral time = 0x00000032 50
0x15: Velocity loop proportional gain = 0x00000096 150
0x29: Amplifier I2T warn level = 0x50 80
0x2a: Amplifier I2T error level = 0x69 105
INDEX ==== 0x8011 ====
0x11: Maximum current = 0x00004074 16500
0x12: Rated current = 0x00001194 4500
0x13: Number of pole pairs = 0x03 3
0x15: Commutation offset = 0xffa6 -90
0x16: Torque constant = 0x00000050 80
0x18: Rotor moment of inertia = 0x0000004b 75
0x19: Winding inductance = 0x0007 7
0x1b: Motor speed limitation = 0x0000161f 5663
0x29: I2T warn level = 0x50 80
0x2a: I2T error level = 0x69 105
0x2b: Motor Temperature warn level = 0x04b0 1200
0x2d: Motor thermal time constant = 0x01a3 419
INDEX ==== 0x8012 ====
0x11: Release delay = 0x0014 20
0x12: Application delay = 0x0008 8
0x14: Brake moment of inertia = 0x0000 0

@kivel kivel added the enhancement New feature or request label Mar 19, 2024
@anderssandstrom
Copy link
Contributor

Very nice!

@anderssandstrom anderssandstrom merged commit 26cf8f5 into paulscherrerinstitute:master Mar 19, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants