Motion control is easy
10.5 MC_Halt instruction
10.5
MC_Halt instruction
Table 10- 11 MC_Halt instruction
LAD / FBD
STEP 7 automatically creates the DB when you insert the instruction.
1
In the SCL example, "MC_Halt_DB" is the name of the instance DB.
2
Table 10- 12 Parameters for the MC_Halt instruction
Parameter and type
Axis
Execute
Done
Busy
CommandAborted
Error
ErrorID
ErrorInfo
202
SCL
"MC_Halt_DB"(
Axis:=_multi_fb_in_,
Execute:=_bool_in_,
Done=>_bool_out_,
Busy=>_bool_out_,
CommandAborted=>_bool_out_,
Error=>_bool_out_,
ErrorID=>_word_out_,
ErrorInfo=>_word_out_);
Data type
IN
TO_Axis_1
IN
Bool
OUT
Bool
OUT
Bool
OUT
Bool
OUT
Bool
OUT
Word
OUT
Word
Description
Use the MC_Halt instruction to stop all
motion and to brings the axis to a stand-
still. The stand-still position is not defined.
In order to use the MC_Halt instruction,
the axis must first be enabled.
Description
Axis technology object
Start of the task with a positive edge
TRUE = Zero velocity reached
TRUE = The task is being executed.
TRUE = During execution the task was aborted by another
task.
TRUE = An error has occurred during execution of the task.
The cause of the error can be found in parameters "ErrorID"
and "ErrorInfo".
Error ID for parameter "Error"
Error info ID for parameter "ErrorID"
Easy Book
Manual, 11/2011, A5E02486774-04