This function block returns the torque in Nm as long as the value at the input Enable is TRUE.
If the input Enable is set to FALSE, the data is not valid, and the outputs are reset.
The torque value is read from the Sercos IDN P-0-3030.0.36. This IDN is defined for LXM32S and LXM28S drives. The IDN must be mapped before the function block can be used. Otherwise, the output ET_Result is set to ActualTorqueIDNNotMapped.
For a simulated drive, the output ET_Result is set to NoActualValuesWithSimulatedDrive.
Input |
Data type |
Description |
---|---|---|
Axis |
Axis_Ref |
Reference to the axis for which the function block is to be executed. |
Enable |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE. The input Enable starts or terminates execution of a function block.
|
Output |
Data type |
Description |
---|---|---|
Valid |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
Error |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
ErrorID |
This enumeration provides diagnostics information. |
|
Torque |
LREAL |
Torque in Nm.
NOTE: The unit is Nm (as opposed to the technical units defined in the PLCOpen specification).
|