MCV_SetTorqueValue
The value for the maximum torque in ±0,1% is set with the MCV_SetTorqueValue FB.
Blockdiagramm
Parameters of the FB
VAR_IN_OUT | ||
Variable name | Data type | Description |
axis | AXIS_REF | Axis reference |
VAR_INPUT | ||
Variable name | Data type | Description |
enable | BOOL | Activates the specified torque for torque control and torque pilot control. |
TorqueValue | INT | Maximum torque in ±0.1% |
VAR_OUTPUT | ||
Variable name | Data type | Description |
ActiveTorqueCommand | BOOL | Torque is active. |
ActualTorqueValue | INT | Current torque in ±0.1% |
Error | BOOL | Is TRUE when an error occurs in the FB. |
ErrorID | WORD | Error code. |
Behaviour of the FB
- The maximum torque is specified in the value range -1000 ≤ 0 ≤ +1000. The unit is 0.1% of the maximum torque; in the positive or negative direction of rotation in each case.
- The entered value is active as soon as "enable" is set to TRUE. The entered value is accepted immediately if the FB is permanently activated.