Task Features
4-1-3
Basic CPU Unit Operation
Executed in order starting
at the lowest number.
166
The CPU Unit will execute cyclic tasks (see note) starting at the lowest num-
ber. It will also interrupt cyclic task execution to execute an interrupt task if an
interrupt occurs.
Note The CS1G/H-CPU@@(-V1) and CJ1@-CPU@@ CPU Units do not support this
function.
Cyclic task 0
Cyclic task 1
Cyclic task n
I/O refresh
Peripheral processing
Note All Condition Flags (ER, CY, Equals, AER, etc.) and instruction conditions
(interlock ON, etc.) will be cleared at the beginning of a task. Therefore Condi-
tion Flags cannot be read nor can INTERLOCK/INTERLOCK CLEAR (IL/ILC)
instructions, JUMP/JUMP END (JMP/JME) instructions, or SUBROUTINE
CALL/SUBROUTINE ENTRY (SBS/SBN) instructions be split between two
tasks.
With a CS1-H, CJ1-H, CJ1M, or CS1D CPU Unit, interrupt task can be exe-
cuted as cyclic tasks by starting them with TKON. These are called "extra
Interrupt task 5
Interrupt
occurs.
*1: END other than that for the final task.
Clears ER, Equals, and N Flags.
*2: END for the final task. Clears ER, Equals,
and N Flags, and then refreshes I/O.
Section 4-1
Need help?
Do you have a question about the CJ - PROGRAMMING MANUAL 12-2009 and is the answer not in the manual?
Questions and answers