Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 1297

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Task Control Instructions
Flags
Examples
(If the memory all clear operation is executed from the Programming Con-
sole, however, cyclic task 0 will automatically be made executable.)
2. If a task is in non-executable status, TKON(820) can executed to put that
task into executable status. Likewise, a cyclic task in executable status can
be put into non-executable status with the TKOF(821) instruction.
3. Cyclic tasks or extra cyclic tasks that were made executable will be put in
executable status in that cycle in task-number order. Consequently, a task
will not be executed if it is put into standby status before the cycle's pro-
cessing reaches that task as each task is executed in task-number order.
Name
Label
Error Flag
ER
Name
Addresses
Task Flags
TK00 to TK31
Specifying a Later Task
When CIO 000000 is ON in the following example, task number 3 is made
executable in task number 1. Task number 3 will be executed in the same
cycle when program execution reaches task number 3.
Task 1
Task 3
Operation
ON if N is not a constant between 00 and 31 or between
8000 and 8255 (CS1-H, CJ1-H, and CJ1M CPU Units
only).
ON if the task specified with N does not exist.
ON if TKON(820) is executed in an interrupt task.
OFF in all other cases.
Operation
These flags are turned ON when the corresponding
cyclic task is executable and they are OFF when the
corresponding cyclic task is not executable or in
standby status.
TK00 to TK31 correspond to cyclic task numbers 00
to 31.
03
Task number 3 is executed
in the same cycle.
Section 3-34
1257

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents