Interrupt Tasks; Types Of Interrupt Tasks - Omron CJ - PROGRAMMING MANUAL 12-2009 Programming Manual

Programmable controllers
Table of Contents

Advertisement

Interrupt Tasks

4-3

Interrupt Tasks

4-3-1

Types of Interrupt Tasks

I/O Interrupts (CS Series
Only)
Scheduled Interrupts
Power OFF Interrupt
Cyclic task (including
extra cyclic task)
Cyclic task (including
Multiple tasks
extra cyclic task)
Interrupt tasks can be executed at any time in the cycle if any of the following
conditions are in effect.
The built-in interrupt inputs and high-speed counter inputs on a CJ1M CPU
Unit can be used to activate interrupt tasks. Refer to the CJ Series Built-in I/O
Operation Manual for details.
Note The CS1D CPU Units for Duplex-CPU Systems do not support interrupts.
With the CS1D CPU Units, interrupt tasks can be used only as extra cyclic
tasks.
The I/O interrupt task will be executed when input to the Interrupt Input Unit is
ON.
A scheduled interrupt task will be executed at fixed intervals.
The power OFF interrupt task will be executed when power is turned OFF.
Interrupt task 0
GSBS
Call
n
Exe-
cution
Return
Call
GSBS
n
Return
Interrupt
Input Unit
CPU Unit
Pro-
gram
CPU Unit
Fixed interval
Pro-
gram
Section 4-3
GSBN
n = 0 to 1,023
n
Global subroutine
(shared subroutine
used for standard
programming)
GRET
END
183

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents