Technology instructions
9.3 Motion control
Table 9- 69
Example 1 - Complete execution of task
If "Execute" = FALSE during the processing of the task
①
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 completion of the task.
②
While the task is active, the output parameter "Busy" indicates the value TRUE.
③
With conclusion of the task (for example, for motion control instruction "MC_Home": Homing was successful), output
parameter "Busy" changes to FALSE and "Done" to TRUE.
④
If "Execute" retains the value TRUE until after completion of the task, then "Done" also remains TRUE and changes its
value to FALSE together with "Execute".
⑤
If "Execute" has been set to FALSE before the task is complete, "Done" indicates the value TRUE for only one
execution cycle.
498
If "Execute" = FALSE after completion of the task
System Manual, 03/2014, A5E02486680-AG
S7-1200 Programmable controller