Omron CJ - INSTRUCTIONS Reference Manual page 1153

Table of Contents

Advertisement

Example Programming
TKON
(Example 1)
Task 1
0.00
0.01
Task 3
Interrupt task 10
TKOF
(Example 1)
Task 1
0.00
Task 3
CS/CJ/NSJ Series Instructions Reference Manual (W474)
When CIO 0.00 is ON in this
example, task number 3 is made
executable in task number 1.
TKON
When 0.01 is ON,
3
interrupt task 10 is
made executable as
an added task.
TKON
8010
END
Task number 3 is
executable in the
same cycle.
END
END
When CIO 0.00 is ON in this
example, task number 3 is put
into standby status in task
number 1.
TKOF
3
END
Task number 3 is in standby
status in the same cycle,
i.e., it is not executed in the
END
current or following cycles.
(Example 2)
Task 1
END
Task 3
0.00
TKON
1
END
(Example 2)
Task 1
END
Task 3
0.00
TKOF
1
END
3. Instructions
Task number 1 is executed
in the next cycle.
When CIO 0.00 is ON in
this example, task number
1 is made executable in
task number 3.
Task number 1 is in standby
status in the next cycle, i.e.,
it is executed in the current
cycle but not in following
cycles.
When CIO 0.00 is ON in this
example, task number 1 is put
into standby status in task
number 3.
1115
3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents