102BTechnology instructions
9.3 Basic motion control
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
355
0&B0RYH$EVROXWH
$[LV
([HFXWH
3RVLWLRQ
9HORFLW\
$[LVB
([HB
'RQH
%XV\
&RPPDQG$ERUWHG
(UURU
(UURU,'
(UURU,QIR
'RQHB
$ERUWB
%XV\B
$[LV
([HFXWH
3RVLWLRQ
9HORFLW\
'RQH
%XV\
&RPPDQG$ERUWHG
(UURU
(UURU,'
(UURU,QIR
$[LVB
([HB
'RQHB
0&B0RYH$EVROXWH
%XV\B
W
W
W
W
W
W
W
W
W
0RYH
([HB
([HB
'RQHB
$ERUWB
'RQHB
9HORFLW\
$[LVB
3RVLWLRQ
$[LVB
%XV\B
%XV\B
0RYH
The following values were configured in the "Dynamics > General" configuration window: Acceleration = 10.0 and
Deceleration = 10.0
①
An axis is moved to absolute position 1000.0 with a MC_MoveAbsolute task. When the axis reaches the target
position, this is signaled via "Done_1". When "Done_1" = TRUE, another MC_MoveAbsolute task, with target
position 1500.0, is started. Because of the response times (e.g., cycle time of user program, etc.), the axis comes
to a standstill briefly (see zoomed-in detail). When the axis reaches the new target position, this is signaled via
"Done_2".
②
An active MC_MoveAbsolute task is aborted by another MC_MoveAbsolute task. The abort is signaled via
"Abort_1". The axis is then moved at the new velocity to the new target position 1500.0. When the new target
position is reached, this is signaled via "Done_2".
Override response
The MC_MoveAbsolute 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_MoveAbsolute task aborts
the following active motion control tasks:
MC_Home Mode = 3
MC_Halt
MC_MoveAbsolute
MC_MoveRelative
MC_MoveVelocity
MC_MoveJog