Programming
7.5 Tracking active jobs
S7-1500 Motion Control V13 Update 3
Function Manual, 07/2014, A5E03879256-AC
187
Job termination
If the Motion Control job is aborted during processing by another job, then this is indicated in
the "CommandAborted" parameter with the value TRUE. The signal status of the "Execute"
parameter influences the indication duration in the "CommandAborted" parameter:
You set "Execute" after the job is aborted to FALSE.
You set "Execute" before the job is aborted to FALSE.
①
The job is started with a positive edge at the "Execute" parameter. Depending on the program, "Execute" can be reset
to the FALSE value while the job is still busy, or retain the TRUE value until the job has been completed.
②
While the job is active, the parameter "Busy" shows the value TRUE.
③
During job execution, the job is aborted by another Motion Control job. When the job is aborted, the "Busy" parameter
changes to "FALSE" and "CommandAborted" changes to TRUE.
④
As long as the "Execute" parameter retains the value TRUE after completion of the job, the "CommandAborted" pa-
rameter also retains the value TRUE.
⑤
If the "Execute" parameter has been set to FALSE before the job is aborted, then the "CommandAborted" parameter
only shows the value TRUE for one execution cycle.