EasyManuals Logo

Omron CJ2M-CPU Series User Manual

Omron CJ2M-CPU Series
278 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #106 background imageLoading...
Page #106 background image
6 Interrupts
6-12
CJ2M CPU Unit Pulse I/O Module User’s Manual
(2) Enabling Interrupt Inputs
Example
The present value of an interrupt input counter can be read in the following two ways.
Pulse I/O
Module
No.
Terminal
symbol
Correspond-
ing bit
address
Function
Interrupt
task number
Operand N Operand C
Interrupt
identifier
Specifying to
detect ON or OFF
0 (on the
right)
IN00 CIO 2960.00 Interrupt input 0 140 100 #0000: Enable
interrupt (Direct
Mode)
#0001: Disable
interrupt
#0002: Enable
interrupt (Counter
Mode, decrement)
#0003: Enable
interrupt (Counter
Mode, increment)
IN01 CIO 2960.01 Interrupt input 1 141 101
IN02 CIO 2960.02 Interrupt input 2 142 102
IN03 CIO 2960.03 Interrupt input 3 143 103
1 (on the
left)
IN10 CIO 2962.00 Interrupt input 4 144 104
IN11 CIO 2962.01 Interrupt input 5 145 105
IN12 CIO 2962.02 Interrupt input 6 146 106
IN13 CIO 2962.03 Interrupt input 7 147 107
Reading the PV of an Interrupt Input Counter in Counter Mode
Reading the PV Refreshed at the I/O Refresh
Timing or When the Interrupt Task Is Started
Read from the Auxiliary Area. (Refer to Related
Parameters in the Auxiliary Area
on page 6-13.)
Value updated when a ladder program is exe-
cuted
Read PV by executing a PRV(881) instruction.
MSKS
112
#0000
END
END
MSKS
102
#0000
Interrupt task number 142
Cyclic task
(1) Specify detecting ON or OFF input signals.
For interrupt input 2, specify 112.
Specifies detecting ON signals.
(2) Enabling interrupts.
For interrupt input 2, specify 102.
Enables interrupt in Direct Mode.
(3) Input received at IN02.
(4) Starting the interrupt task
#0100
#0000
D100
C: Control Data (to read PV)
P: Port specifier, Example: Interrupt input 0
D: First Destination Word
D100
@PRV
15
0
PV
Counter PV that was read
Execution condition

Table of Contents

Other manuals for Omron CJ2M-CPU Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2M-CPU Series and is the answer not in the manual?

Omron CJ2M-CPU Series Specifications

General IconGeneral
Power Supply24 VDC
Number of InstructionsOver 400 instructions
ModelCJ2M-CPU11, CJ2M-CPU12, CJ2M-CPU13, CJ2M-CPU14, CJ2M-CPU15
Program Capacity5K steps to 60K steps
I/O CapacityUp to 2, 560 points
Communication PortsEthernet, USB, RS-232C
Execution Time0.04 µs per basic instruction
Operating Temperature0 to 55°C
Position ControlSupported
High-speed Counter100 kHz max.
Pulse Output100 kHz max.
Maximum Units40 units
Storage Temperature-20 to 75°C
Interrupt InputsSupported

Related product manuals