12 mc_halt, Mc_halt – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 116

Advertising
background image

L-force | PLC Designer - SoftMotion

The SM_PLCopen.lib library

POUs for the motion control of individual axes

116

L

DMS 5.2 EN 03/2011 TD17

6.2.12

MC_Halt

This POU of SM_PLCopen.lib brakes the axis to the speed 0. This POU can be interrupted

and does not block the axis like the POU MC_Stop.

Input/output (VAR_IN_OUT)
Axis : AXIS_REF
The structure that is filled with axis data in the Drive Interface (SM_DriveBasic.lib) is shown

here.

Inputs (VAR_IN)
Execute : BOOL (default: FALSE)
The program organisation unit is activated on a rising edge, i.e. the deceleration will begin.
Deceleration : REAL
Deceleration value [u/s²]

Outputs (VAR_OUT)
Done : BOOL (default: FALSE)
TRUE indicates that the drive has stopped.
CommandAborted : BOOL (default: FALSE)
The motion that had started was interrupted by another function block acting on the same

axis.
Error : BOOL (default: FALSE)
TRUE indicates an error in the function block.
ErrorID : SMC_Error (INT )
Error number

Advertising