2 function blocks for ethercat, 1 l_smc_settorquelimit, Function blocks for ethercat – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 262: L_smc_settorquelimit

L-force | PLC Designer - SoftMotion
The L_SMC_DriveUtil.lib library (Lenze specifications)
Function blocks for EtherCAT
262
L
DMS 5.2 EN 03/2011 TD17
12.2
Function blocks for EtherCAT
12.2.1
L_SMC_SetTorqueLimit
The torque limit values of a drive in positive and in negative direction of rotation can be
defined by the control. So far, the limit values were set via SDO access. For controlling the
drives via an EtherCAT fieldbus, it is possible to transfer these values as a part of the cyclic
process data. The advantage of this is that the values can be transmitted to the drive in a
considerably quicker way. In order to be able to make use of this advantage, a
corresponding mapping must be selected in the EtherCAT configurator, which contains
these torque limit values as process date.
The torque limit values are accessed from the PLC via the function block
L_SMC_SetTorqueLimit:
Inputs (VAR_IN)
Execute : BOOL
Activates the function.
SetTorqueLimitPos: BOOL
Orders a positive torque limit value.
TorqueLimitPos_Value: LREAL
Positive torque limit value in the range of 0 ... 100 % of the rated torque
SetTorqueLimitNeg: BOOL
Orders a negative torque limit value.
TorqueLimitNeg_Value: LREAL
Negative torque limit value in the range of 0 ... 100 % of the rated torque
Axis : AXIS_REF
Here the axis structure to which these torque limit values apply is transferred.