L_MC1P_TorqueControl

This FB is the cyclic interface for using an axis in torque-controlled operation.

The activation of the FB automatically leads to a change to the torque-controlled operation. If the FB is aborted, it is again changed to the original control mode.

The function is aborted by executing another movement command or by executing a ‘Halt’ or ‘Stop’ command.

 

 

 

L_MC1P_TorqueControl

 

 

 

AXIS_REF

-

Axis

xBusy

-

BOOL

BOOL

-

xExecute

xCommandAborted

-

BOOL

BOOL

-

xContinuousUpdate

xError

-

BOOL

LREAL

-

lrTorque

eErrorID

-

L_IE1P_Error

LREAL

-

lrVelocityHighLimit

LREAL

-

lrVelocityLowLimit

BOOL

-

xAllowSameSignVelocityLimit

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

Axis

AXIS_REF

Transfer of the axis data structure

Motion axes (AXIS_REF)

xExecute

BOOL

FALSE ä TRUE

Start execution of the function block.

xContinuousUpdate

BOOL

Continuous acceptance of the profile parameters

Control input ContinuousUpdate

FALSE

The profile parameters ( lrTorque , lrVelocityHighLimit , lrVelocityLowLimit ) are accepted with a rising edge at xExecute .

TRUE

The profile parameters are accepted continuously, i.e. during the execution, the motion profile may change.

lrTorque

LREAL

Gearbox output side setpoint torque in [Nm]

lrVelocityHighLimit

LREAL

Upper velocity limitation in [unit/s]

  • Must always be positive.

lrVelocityLowLimit

LREAL

Lower velocity limitation in [unit/s]

  • Must always be negative.

xAllowSameSignVelocityLimit

BOOL

TRUE: Thresholds with the same sign can be parameterized for the lrVelocityHighLimit and lrVelocityLowLimit inputs.

Note :If both thresholds are positive, the axis accelerates to the threshold parameterized at lrVelocityLowLimit when the controller is enabled. If both thresholds are negative, the axis decelerates to the threshold parameterized at lrVelocityHighLimit.

Outputs

Name

Data type

Value/meaning

xBusy

BOOL

TRUE

Processing is running.

xCommandAborted

BOOL

TRUE

The command was aborted by another FB.

xError

BOOL

TRUE

An error has occurred. For details see eErrorID .

eErrorID

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