L-force | plc designer - softmotion – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 263

DMS 5.2 EN 03/2011 TD17
L
263
L-force | PLC Designer - SoftMotion
The L_SMC_DriveUtil.lib library (Lenze specifications)
Function blocks for EtherCAT
Outputs (VAR_OUT)
bDone : BOOL
TRUE indicates that the selection has been acknowledged.
bError : BOOL
TRUE indicates that an error has occurred in the function block.
nErrorID SMC_Error: INT
Error number
Error messages
The following error messages are stored:
Example 1: The PLC wants to set the torque limit value positively to 50 %.
The drive sets the positive torque limit value to 50 % of the rated torque; the negative
torque limit value that is valid within the drive is not changed.
Example 2: The PLC wants to set both torque limit values to 100 %.
The drive sets both torque limit values to 100 % of the rated torque.
Error message
Description
ERROR_NO_LENZE_AXIS_REF: INT := 16#200
Function is not supported by this drive.
ERROR_TORQUE_LIMIT_NOT_VALID: INT := 16#210
Value range exceeded.
Only torque limit values from 0 … 200 % are permissible.
SetTorqueLimitPos = TRUE
TorqueLimitPos_Value: 50.0
SetTorqueLimitNeg = FALSE
TorqueLimitNeg_Value = xxx
Execute = True
SetTorqueLimitPos = TRUE
TorqueLimitPos_Value: 100.0
SetTorqueLimitNeg = TRUE
TorqueLimitNeg_Value = 100.0
Execute = True