Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 730

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Interrupt Control Instructions
Operands
Note
Note
Input Interrupts
N specifies the input interrupt number and the data to read and D specifies
the storage location for the read data.
Operand
N
Input interrupt 0
(interrupt task 140)
Input interrupt 1
(interrupt task 141)
Input interrupt 2
(interrupt task 142)
Input interrupt 3
(interrupt task 143)
Input interrupt 4
(interrupt task 144)
Input interrupt 5
(interrupt task 145)
Input interrupt 6
(interrupt task 146)
Input interrupt 7
(interrupt task 147)
D
Input interrupts 6 and 7 cannot be used on Y CPU Units and CP1L CPU Units.
Input interrupts 4, 5, 6, and 7 cannot be used on CP1L CPU Units with 14 I/O
Points.
Scheduled Interrupts
N specifies the scheduled interrupt number and the data to read and D speci-
fies the storage location for the read data.
Operand
N
D
PLC Setup
10 ms
parameter
1 ms
(Scheduled
0.1 ms 0.1 to 999.9 ms
Interrupt Inter-
val)
If the scheduled interrupt has been prohibited, he time elapsed until the
schedule interrupt's internal timer was stopped can be read. The present
value will be 0 if the scheduled interrupt has never been started.
Contents
Read ON or OFF to
generate interrupt
110 (or 10)
100 (or 6)
111 (or 11)
101 (or 7)
112 (or 12)
102 (or 8)
113 (or 13)
103 (or 9)
114
104
115
105
116
106
117
107
0000 hex: Detect ON
0000 hex: Unmask, direct mode
(default)
0001 hex: Mask
0001 hex: Detect OFF
0002 hex: Unmask, counter mode,
start decrementing
0003 hex: Unmask, counter mode,
start incrementing
Read scheduled
interrupt interval
4
0000 hex: Scheduled
interrupts prohibited.
0001 to 270F hex (1 to
9999): Scheduled inter-
rupt interval
10 to 99990 ms
1 to 9999 ms
Section 3-19
Read mask status
Contents
Read present value of
internal timer (i.e., time
from first interrupt or
previous interrupt
processing)
14
0000 to 270F hex (1 to
9999): Present value of
internal timer
0 to 99990 ms
0 to 9999 ms
0 to 999.9 ms
697

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents