764
Interrupt Control Instructions
Section 3-20
Note When the power OFF interrupt task is disabled for a CS1-H, CJ1-H, or CJ1M
CPU Unit, power OFF processing will also be enabled at the same time.
3-20-6 Summary of Interrupt Control
The interrupt control instructions control or read settings for I/O interrupts and
scheduled interrupts. (DI(693) and EI(694) control the operation of external
interrupts as well as I/O interrupts and scheduled interrupts.)
The instructions that act on individual interrupts have an operand, N, that
identifies the source of the interrupt. Numbers 0 to 3 indicate Interrupt Input
Units 0 to 3 and numbers 4 and 5 indicate scheduled interrupts 2 and 3.
I/O Interrupt Processing (N=0 to 3)
An I/O interrupt is caused by an input signal from an Interrupt Input Unit. Up to
four Interrupt Input Units can be connected to the PLC. Unit numbers 0 to 3
are assigned to the Units based on their position in the PLC from left to right.
The following program example demonstrates the operation of MSKS(690)
and CLI(691) when they are used to control I/O interrupts.
Disables execution of all interrupt tasks
(except the power OFF interrupt).
Enables execution of all disabled
interrupt tasks.
000000
DI
END
All interrupt
tasks disabled.
Power OFF
processing
disabled.
Task No. 0
EI
END
Task No. 1
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...