102BTechnology instructions
9.3 Basic motion control
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
383
Table 9- 60 Example 3 - Error during task execution
([HFXWH
%XV\
'RQH
&RPPDQG
$ERUWHG
(UURU
Error
If "Execute" = FALSE before the error occurs
([HFXWH
%XV\
'RQH
&RPPDQG
$ERUWHG
(UURU
Error
If "Execute" = FALSE after the error occurs
①
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.
③
An error occurred during task execution. When the error occurs, the output parameter "Busy" changes to FALSE and
"Error" to TRUE.
④
If "Execute" retains the value TRUE until after the error occurs, then "Error" also remains TRUE and only changes its
value to FALSE together with "Execute".
⑤
If "Execute" has been set to FALSE before the error occurs, "Error" indicates the value TRUE for only one execution
cycle.