Omron SYSMAC CS Series Programming Manual page 162

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Using Tasks
TKOF(821)
Cyclic Task Numbers and the Execution Cycle
142
A cyclic task that is in Standby status will maintain that status in subsequent
cycles. The task will have to be activated using the TKON(820) instruction in
order to switch from Standby to READY status.
Cyclic task 1
TKON (820)
Cyclic task 2
If a TKOF(821) instruction is executed for the task it is in, the task will stop
being executed where the instruction is executed, and the task will shift to
Standby status.
If task m turns ON task n and m > n, task n will go to READY status the next
cycle.
Example:If task 5 turns ON task 2, task 2 will go to READY status the next
cycle.
If task m turns ON task n and m < n, task n will go to READY status the same
cycle.
Example:If task 2 turns ON task 5, task 5 will go to READY status in the same
cycle.
If task m places task n in Standby status and m > n, will go to Standby status
the next cycle.
Example: If task 5 places task 2 in Standby status, task 2 will go to Standby
status the next cycle.
If task m places task n in Standby status and m < n, task n will go to Standby
status in the same cycle.
Example: If task 2 places task 5 in Standby status, task 5 will go to Standby
status in the same cycle.
Standby status
Cyclic task 1
Cyclic task 2
RUN status
Task 2
Task execution will
stop here and the task
will shift to Standby
status.
Section 4-2
Standby status
RUN status

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1g/h-cpu-ev1 seriesCj1g-cpu seriesSysmac cj series

Table of Contents