Cycle Time/High-speed Processing
6-1-5
Interrupt Functions
6-1-6
I/O Refreshing
I/O refreshing method
Cyclic refreshing
Immediate
Specified as an instruction
refreshing
variation (!)
IORF(097) instruction
FIORF(225) instruction
(CJ1-H-R CPU Units only)
DLNK(226) instruction
264
Interrupt tasks can be executed for the following conditions. Refer to 4-3 Inter-
rupt Tasks for more 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, i.e., no other type of interrupt task can be used.
I/O Interrupts (Interrupt tasks 100 to 131)
An I/O interrupt task is executed when the corresponding input (on the rising
edge of the signal or, for CS/CJ-series Interrupt Input Units, on either the ris-
ing or falling edge) is received from an Interrupt Input Unit.
Scheduled Interrupts (Interrupt tasks 2 and 3)
A scheduled interrupt task is executed at regular intervals.
Power OFF Interrupt (Interrupt task 1)
This task is executed when the power is interrupted.
External Interrupts (Interrupt tasks 0 to 255)
An external interrupt task is executed when an interrupt is received from a
Special I/O Unit, CPU Bus Unit, or Inner Board.
Note 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.
There are two ways to refresh real I/O, cyclic refreshing and immediate
refreshing, which have different timing. The following table shows when these
methods can be used.
Relevant Unit
Can be used.
Can be used.
Can be used.
Cannot be used.
Cannot be used.
High-speed Input Unit or
High-density Input Unit
CS1W-IDP01: 0.1 ms
CJ1W-IDP01: 0.05 ms
C200H-ID501/ID215/MD501/MD115/MD215: 4 ms
Basic I/O Units
Special I/O Units
Can be used.
Cannot be used.
Can be used.
Can be used.
Cannot be used.
Section 6-1
CPU Bus Units
Can be used.
Cannot be used.
Cannot be used.
Cannot be used.
Can be used.
Need help?
Do you have a question about the CJ - PROGRAMMING MANUAL 08-2008 and is the answer not in the manual?
Questions and answers