11 mc_stop, Mc_stop – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 115

Advertising
background image

DMS 5.2 EN 03/2011 TD17

L

115

L-force | PLC Designer - SoftMotion

The SM_PLCopen.lib library

POUs for the motion control of individual axes

6.2.11

MC_Stop

This program organisation unit from SM_PLCopen.lib decelerates the axis to velocity 0.

This program organisation unit cannot be interrupted and blocks the axis for as long as the

Execute input is set and the axis has not yet been stopped completely.

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.
Error : BOOL (default: FALSE)
TRUE indicates an error in the function block.
ErrorID : SMC_Error (INT )
Error number

Advertising