Description of Tasks
Program
Task 0
Task 1
Task 2
Task 0
Task 1
Task 2
Note TKOF(821) can be used in a task to put that
task itself on standby.
Example: Each Task Controlled by Another Task
In this example, each task is controlled by another task.
Example:
Start task 1
when a is
ON.
Task 0
Task 1
Task 2
Program for task 0
Program for task 1
Task 1 is set to be executed at the start of
operation unconditionally.
Task 1 executable when a is ON.
Task 1 put on standby when b is ON.
Task 2 is executable when c is ON and task 1 has
been executed.
Put task 1
on standby
Task 0
when b is
ON.
Task 1
Task 2
If task 1 executed
Start
task 2
Task 0
when c
is ON.
Task 1
Task 2
Section 1-6
19
Need help?
Do you have a question about the CJ - PROGRAMMING MANUAL 12-2009 and is the answer not in the manual?