Rockwell Automation GMLC Reference Manual User Manual
Page 383

Publication GMLC-5.2 - November 1999
346
Multitasking Blocks
Stop Other Task
Stop Other Task stops execution of the selected task. As each task can be
thought of as a separate concurrent program, stopping a task is equivalent
to the
block in the diagram when multitasking is not enabled.
However, unlike the end of a diagram, a stopped task can be resumed. See
Resume Task, below, for more information on resuming tasks.
After you stop a task, you can re-use the task number for another task.
However, once the task number has been re-used, the original task cannot
be resumed.
Stopping all currently executing tasks aborts the diagram with a No Tasks
Running runtime fault (Runtime_fault
= 23).
Resume Task
Resume Task resumes execution of a previously stopped task. The Task
Control block, with Resume Task selected, has one output node.
To be resumed, a task must have been stopped by a previous Task Control
block with Stop Other Task selected, or by executing a When End or Fault
command in an End Program block after a global or runtime fault. The
selected task continues from where it was when it was stopped. See When
End or Fault in the End Program section in the Program Control Blocks
chapter for more information on resuming tasks after a fault.
Stop Dispatcher
Stop Dispatcher turns multitasking off by disabling the task dispatcher.
This pauses all tasks except the one that contains the Task Control block
with Stop Dispatcher selected. See Multitasking Operation in this section
for more information on the task dispatcher. The Task Control block with
Stop Dispatcher selected has one output node.
!
ATTENTION: Do not resume a task that has not been
previously started via a Start New Task block