102BTechnology instructions
9.3 Basic motion control
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
353
Parameter and type
Data type
Description
CommandAborted
OUT
Bool
TRUE = During execution the task was aborted by another
task.
Error
OUT
Bool
TRUE = An error has occurred during execution of the task.
The cause of the error can be found in parameters "ErrorID"
and "ErrorInfo".
ErrorID
OUT
Word
Error ID for parameter "Error"
ErrorInfo
OUT
Word
Error info ID for parameter "ErrorID"
$[LV
([HFXWH
9HORFLW\
'LUHFWLRQ
,Q9HORFLW\
%XV\
&RPPDQG$ERUWHG
(UURU
(UURU,'
(UURU,QIR
&XUUHQW
0&B
0RYH9HORFLW\
$[LVB
([HB
,Q9HOB
$ERUWB
%XV\B
$[LV
([HFXWH
'RQH
%XV\
&RPPDQG$ERUWHG
(UURU
(UURU,'
(UURU,QIR
$[LVB
([HB
'RQHB
$ERUWB
0&B+DOW
%XV\B
W
W
W
W
W
W
W
W
W
9HORFLW\
0&B+DOW
([HB
([HB
,Q9HOB
$ERUWB
'RQHB
9HORFLW\
$[LVB
$ERUWB
%XV\B
%XV\B
The following values were configured in the "Dynamics > General" configuration window: Acceleration = 10.0 and
Deceleration = 5.0
①
The axis is braked by an MC_Halt task until it comes to a standstill. The axis standstill is signaled via "Done_2".
②
While an MC_Halt task is braking the axis, this task is aborted by another motion task. The abort is signaled via
"Abort_2".
Override response
The MC_Halt task can be aborted by the
following motion control tasks:
MC_Home Mode = 3
MC_Halt
MC_MoveAbsolute
MC_MoveRelative
MC_MoveVelocity
MC_MoveJog
The new MC_Halt task aborts the following
active motion control tasks:
MC_Home Mode = 3
MC_Halt
MC_MoveAbsolute
MC_MoveRelative
MC_MoveVelocity
MC_MoveJog