Skip to main content

7.16.8 MC_HALT

Function

Control movement stops. The axis is moved to Discrete Motion until the velocity is zero. After the "Done" output is set, the state is transferred to the "quiescent" state.

LD graphics

alt text

Parameter description

ParametersTypeDeclarationDescriptionRemarks
AxisAXISVAR_IN_OUTSystem axis for executing commandsInvoke Function Block
ExecuteBOOLVAR_INRising edge activation
DecelerationLREALVAR_INDeceleration[u/s2]
JerkLREALVAR_INJerk[u/s3]
BuffferModeUSINTVAR_INDefine the time sequence of FB:
0 means to immediately abort the ongoing movement (default value);
1 means to affect the axis when the last movement is "complete"
DoneBOOLVAR_OUTReaching zero speed
BusyBOOLVAR_OUTWhether there is a valid output for FB, True:FB is not terminated
CommandAbortedBOOLVAR_OUTThe command was terminated by another command
ErrorBOOLVAR_OUTAn error signal has occurred within the FB
ErrorIDWORDVAR_OUTError ID