Programming Reference / Motion / Get Motor Data
The Get Motor Data block is used to retrieve any one of 12 status items about the motor connected at the selected Slot and provide this as an operand into any other block that accepts data.
Item | Description |
---|---|
A | Provide the block where you want to put the motor data |
B | Select the Slot for the particular InoDrive you want to retrieve data from |
C | From the drop down, select the data item |
Get Data Items
Item | Description |
---|---|
Position | The current motor position in Axis units |
Position Error | The current deviation from the expected position in Axis units |
Target Position | Final stopped position for the current positioning command in Encoder counts |
Speed | The current speed in Axis units per second |
Speed Error | The current deviation from the expected speed in Axis units per second |
Target Speed | The expected speed for the current command Axis units per second |
Torque | The current torque being applied to the rotor in Profile defined units |
Torque Error | The current deviation in the expected applied torque in Profile defined units |
Target Torque | The expected torque value for the current command in Profile defined units |
Command | The numerical code for the type of command currently being executed 0 = No Command 1 = Speed Command (no positioning) 2 = Positioning Command |
Overload Factor | Floating point value between 0 and 1 indicating the current status of the I2t calculation. When this value reaches 1, the motor will be limited to its rated current. After reaching 1, this value has to fall below 0.5 before the motor will be allowed to draw peak current |
Buffer | Integer value indicating the number of commands currently in the command queue. |