L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual
Page 29

L-force | PLC Designer
Lenze Specific Functions
DMS 4.1 EN 03/2011 TD29
27
Outputs (VAR_OUT)
Designator / Data type
Value / Meaning
Done / BOOL
TRUE indicates that the entry has been acknowledge.
Error / BOOL
TRUE indicates that an error has occurred in the function block.
ErrorID / INT
Error number
Error messages
The following error messages have been stored:
Error message
Description
ERROR_NO_LENZE_AXIS_REF: INT := 16#200
The function is not supported by this drive.
ERROR_TORQUE_LIMIT_NOT_VALID: INT :=
16#210
Value range exceeded. Only torque limits of 0 … 200 %
are permissible.
ERROR_TORQUE_LIMIT_MAPPING_FAULT :=
16#211
This function cannot be executed with the selected
mapping. The torque process data are absent.
Example 1: The PLC wants to set the torque limit positively to 50 %.
SetTorqueLimitPos = TRUE
TorqueLimitPos_Value: 50.0
SetTorqueLimitNeg = FALSE
TorqueLimitNeg_Value = xxx
Execute = True
The drive sets the positive torque limit to 50 % of the rated torque; the negative torque
limit valid in the drive is not altered.
Example 2: The PLC wants to set both torque limits to 100 %.
SetTorqueLimitPos = TRUE
TorqueLimitPos_Value: 100.0
SetTorqueLimitNeg = TRUE
TorqueLimitNeg_Value = 100.0
Execute = True
The drive sets both torque limits to 100 % of the rated torque.