102BTechnology instructions
9.3 Basic motion control
S7-1200 Programmable controller
386
System Manual, 11/2011, A5E02486680-05
Table 9- 62 Example 2 - If the task is aborted prior to reaching the parameterized velocity
([HFXWH
%XV\
,Q9HORFLW\
&RPPDQG
$ERUWHG
(UURU
Abort
If "Execute" = FALSE before the task is aborted
([HFXWH
%XV\
,Q9HORFLW\
&RPPDQG
$ERUWHG
(UURU
Abort
If "Execute" = FALSE after the task is aborted
①
The task is started with a positive edge at the input parameter "Execute". Depending on the programming, "Execute"
can still be reset to the value FALSE during the task, or the value TRUE can be retained until after the task is aborted.
②
While the task is active, the output parameter "Busy" indicates the value TRUE.
③
During task execution, the task is aborted by another motion control task. If the task is aborted, output parameter
"Busy" changes to FALSE and "CommandAborted" to TRUE.
④
If "Execute" retains the value TRUE until after the task is aborted, then "CommandAborted" also remains TRUE and
changes its status to FALSE together with "Execute".
⑤
If "Execute" has been reset to FALSE before the task is aborted, "CommandAborted" indicates the value TRUE for only
one execution cycle.
Note
Under the following conditions, an abort is not indicated in output parameter
"CommandAborted":
The parameterized velocity has been reached, input parameter "Execute" has the value
FALSE, and a new motion control task is initiated.
When the parameterized velocity is reached and input parameter "Execute" has the value
FALSE, the task is complete. Therefore, the start of a new task is not indicated as an
abort.