L_MC1P_SetTorqueLimit

This FB sets the torque limit values of a drive in both positive and negative direction. If the torque limit values of the actuator are not included in the mapping, the mapping must be extended with the two values lrTorqueLimitPos and lrTorqueLimitNeq .

The torque limit values (0x60E0 and 0x60E1) must be included in the PDO mapping.

 

 

 

L_MC1P_SetTorqueLimit

 

 

 

AXIS_REF

-

Axis

Busy

-

BOOL

BOOL

-

xEnable

xError

-

BOOL

BOOL

-

xSetTorqueLimitPos

eErrorID

-

L_IE1P_Error

LREAL

-

lrTorqueLimitPos

BOOL

-

xSetTorqueLimitNeg

LREAL

-

lrTorqueLimitNeg

BOOL

-

xTorqueInputAsPercent

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

Axis

AXIS_REF

Transfer of the axis data structure

Motion axes (AXIS_REF)

xEnable

BOOL

TRUE

Start execution of the function block.

TRUE æ FALSE

The torque limits parameterised in the axis (subindex 128 and 129) are reactivated.

xSetTorqueLimitPos

BOOL

TRUE

Set positive torque limit value.

FALSE

The default value (Subindex 128) is written to the positive torque limit value.

lrTorqueLimitPos

LREAL

Positive torque limit value at the gearbox output end in [Nm]

Note: If xTorqueInputAsPercent = TRUE, the positive torque limit value is interpreted as a value in per cent (1.0=100% motor reference torque)

xSetTorqueLimitNeg

BOOL

TRUE

Set negative torque limit value.

FALSE

The default value (Subindex 129) is written to the negative torque limit value.

lrTorqueLimitNeg

LREAL

Negative torque limit value at the gearbox output end in [Nm]

Note: If xTorqueInputAsPercent = TRUE, the negative torque limit value is interpreted as a value in per cent (1.0=100% motor reference torque)

xTorqueInputAsPercent

BOOL

TRUE

The values at lrTorqueLimitPos and lrTorqueLimitNeg are interpreted as % values. 1.0 corresponds to 100% of the motor reference torque (display parameter subindex 39).

Outputs

Name

Data type

Value/meaning

Busy

BOOL

TRUE

The FB is processed, i.e.

  • outputs xSetTorqueLimitPos and xSetTorqueLimitNeg are evaluated cyclically
  • the torque limits are set according to the selection.

xError

BOOL

TRUE

An error has occurred. For details see eErrorID .

eErrorID

If xError = TRUE: Error number for the error that has occurred.