Description
The "MC_Halt" Motion Control instruction stops all movements and brings the axis to a standstill with the configured deceleration. The standstill position is not defined.
Requirements
-
The axis technology object has been configured correctly.
-
The axis is enabled.
Override response
The MC_Halt command can be aborted by the following Motion Control commands:
-
MC_Home command Mode = 3
-
MC_Halt command
-
MC_MoveAbsolute command
-
MC_MoveRelative command
-
MC_MoveVelocity command
-
MC_MoveJog command
-
MC_CommandTable command
The new MC_Halt command aborts the following active Motion Control commands:
-
MC_Home command Mode = 3
-
MC_Halt command
-
MC_MoveAbsolute command
-
MC_MoveRelative command
-
MC_MoveVelocity command
-
MC_MoveJog command
-
MC_CommandTable command
Parameters
|
Parameter |
Declaration |
Data type |
Default value |
Description |
|
|---|---|---|---|---|---|
|
Axis |
INPUT |
TO_Axis_1 |
- |
Axis technology object |
|
|
Execute |
INPUT |
BOOL |
FALSE |
Start of the command with a positive edge |
|
|
Done |
OUTPUT |
BOOL |
FALSE |
TRUE |
Zero velocity reached |
|
Busy |
OUTPUT |
BOOL |
FALSE |
TRUE |
The command is being executed. |
|
CommandAborted |
OUTPUT |
BOOL |
FALSE |
TRUE |
During execution the command was aborted by another command. |
|
Error |
OUTPUT |
BOOL |
FALSE |
TRUE |
An error occurred during execution of the command. The cause of the error can be found in parameters "ErrorID" and "ErrorInfo". |
|
ErrorID |
OUTPUT |
WORD |
16#0000 |
Error ID for parameter "Error" |
|
|
ErrorInfo |
OUTPUT |
WORD |
16#0000 |
Error info ID for parameter "ErrorID" |
|
See also
S7-1200 Motion Control V4...5 (S7-1200)
MC_Halt: Function chart V1...3 (S7-1200)
MC_Power: Enable, disable axis V1...3 (S7-1200)
MC_Reset: Acknowledge fault, restart technology object V1...3 (S7-1200)
MC_Home: Home axis, set home position V1...3 (S7-1200)
MC_MoveAbsolute: Absolute positioning of axis V1...3 (S7-1200)
MC_MoveRelative: Relative positioning of axis V1...3 (S7-1200)
MC_MoveVelocity: Move axis at set velocity V1...3 (S7-1200)
MC_MoveJog: Move axis in jog mode V1...3 (S7-1200)
MC_CommandTable: Run axis commands as motion sequence V2...3 (S7-1200)
MC_ChangeDynamic: Change dynamic settings of axis V2...3 (S7-1200)