EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Basic CPU Unit Operation

Omron CJ - PROGRAMMING MANUAL 12-2009
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
166
Task Features Section 4-1
4-1-3 Basic CPU Unit Operation
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.
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
Executed in order starting
at the lowest number.
Cyclic task 0
Cyclic task 1
Interrupt task 5
Interrupt
occurs.
*1: END other than that for the final task.
Clears ER, Equals, and N Flags.
Cyclic task n
*2: END for the final task. Clears ER, Equals,
and N Flags, and then refreshes I/O.
I/O refresh
Peripheral processing

Table of Contents

Related product manuals