Omron CS1G/H-CPUxxH Instructions Manual page 785

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

Advertisement

Interrupt Control Instructions
3-20-6 Summary of Interrupt Control
I/O Interrupt Processing (N=0 to 3)
764
000000
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.
Task No. 0
DI
END
Task No. 1
EI
END
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.
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.
All interrupt
tasks disabled.
Power OFF
processing
disabled.
Section 3-20

Advertisement

Table of Contents
loading

Table of Contents