![Omron CJ1G-CPU series Programming Manual Download Page 179](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489179.webp)
158
Using Tasks
Section 4-2
2.
Activation at the start of operation is possible for normal cyclic tasks only.
It is not possible for extra cyclic tasks.
Standby status functions exactly the same way as a jump (JMP-JME). Output
status for the Standby task will be maintained.
Instructions will not be executed in Standby status, so instruction execution
time will not be increased. Programming that does not need to be executed all
the time can be made into tasks and assigned Standby status to reduce cycle
time.
Note Standby status simply means that a task will be skipped during task execu-
tion. Changing to Standby status will not end the program.
4-2
Using Tasks
4-2-1
TASK ON and TASK OFF
The TASK ON (TKON(820)) and TASK OFF (TKOF(821)) instructions switch a
cyclic task (including extra cyclic tasks) between READY and Standby status
from a program.
Note Extra cyclic tasks are supported only by CS1-H, CJ1-H, or CJ1M CPU Units.
Standby status
Jump
Conventional program
Executes under
set conditions
All instructions will
be executed un-
less jumps or other
functions are used.
Task
Reduced cycle time
Executes under
set conditions
N: Task No.
A task will go to READY status when the
execution condition is ON, and the corre-
sponding Task Flag will turn ON.
A task will go to Standby status when
the execution condition is ON, and the
corresponding Task Flag will turn OFF.
N: Task No.
Note: Task Flags do not work for extra cyclic tasks.
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...