Basic Cpu Unit Operation - Omron CS1G/H-CPUxx-EV1 Programming Manual

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxx-EV1:
Table of Contents

Advertisement

Task Features
4-1-3

Basic CPU Unit Operation

Executed in order starting
at the lowest number.
160
The CPU Unit will execute cyclic tasks (including extra cyclic tasks, CS1-H,
CJ1-H, CJ1M, or CS1D CPU Unit only) starting at the lowest number. It will
also interrupt cyclic task execution to execute an interrupt task if an interrupt
occurs.
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
cyclic tasks." Extra cyclic tasks (interrupt task numbers 0 to 255) are executed
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

Advertisement

Table of Contents
loading

Table of Contents