EasyManua.ls Logo

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 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 #756 background imageLoading...
Page #756 background image
3. Instructions
718
CS/CJ/NSJ Series Instructions Reference Manual (W474)
(2) Reading the Differentiation Settings Set for I/O Interrupts and Input Interrupts
(Except when Using a C200HS-INT01 Interrupt Input Unit)
(3) Reading the Set Value of a Scheduled Interrupt Task's Internal Timer
D Interrupt input Read interrupt mask status
Inputs to a CS1W-INT01 or CJ1W-INT01
Interrupt Input Unit (16 inputs/Unit)
Range: 0000 to FFFF hex
Bits 0 to 15 correspond to each interrupt task. The meaning of the individual flags is
as follows:
1: Disable (mask) the interrupt.
0: Enable (unmask) the interrupt.
Inputs to a C200HS-INT01 Interrupt Input
Unit (8 inputs/Unit)
Range: 0000 to 00FF hex
Bits 0 to 7 correspond to each interrupt task. The meaning of the individual flags is
as follows:
1: Disable (mask) the interrupt.
0: Enable (unmask) the interrupt.
Inputs to a CJ1M-CPU2@ CPU Unit's Built-in
Inputs (4 inputs/Unit)
0000 hex: Interrupts enabled (unmasked) in direct mode.
0001 hex: Interrupts disabled (masked) in direct mode.
0002 hex: Interrupts enabled for decrementing counter in counter mode.
0003 hex: Interrupts enabled for incrementing counter in counter mode.
CJ2M CPU Unit inputs (when Pulse I/O
Module is mounted) (4 inputs/Block)
Operand Contents
N
Interrupt input Interrupt identifier
Inputs to a CS1W-INT01 or CJ1W-INT01
Interrupt Input Unit (16 inputs/Unit)
2: Unit number 0 (interrupt tasks 100 to 115)
I/O interrupts 0 to 15 (interrupt tasks 100 to 115)
3: Unit number 1 (interrupt tasks 116 to 131)
I/O interrupts 16 to 31 (interrupt tasks 116 to 131)
Inputs to a CJ1M-CPU2@ CPU Unit's Built-in
Inputs (4 inputs/Unit)
10: Interrupt input 0 (interrupt task 140)
11: Interrupt input 1 (interrupt task 141)
12: Interrupt input 2 (interrupt task 142)
13: Interrupt input 3 (interrupt task 143)
CJ2M CPU Unit inputs (when Pulse I/O
Module is mounted) (4 inputs/Block)
110: Input interrupt 0 (Block 0) (interrupt task 140)
111: Input interrupt 1 (Block 0) (interrupt task 141)
112: Input interrupt 2 (Block 0) (interrupt task 142)
113: Input interrupt 3 (Block 0) (interrupt task 143)
114: Input interrupt 4 (Block 1) (interrupt task 144)
115: Input interrupt 5 (Block 1) (interrupt task 145)
116: Input interrupt 6 (Block 1) (interrupt task 146)
117: Input interrupt 7 (Block 1) (interrupt task 147)
Note For input interrupts 0 to 3, 10 to 13 can also be used as the interrupt number.
D
Interrupt Input Read interrupt input differentiation setting
Inputs to a CS1W-INT01 or CJ1W-INT01
Interrupt Input Unit (16 inputs/Unit)
Range: 0000 to FFFF hex.
Bits 0 to 15 correspond to each interrupt task. The meaning of the individual flags is
as follows:
0: Up-differentiation (Detect rising edge.)
1: Down-differentiation (Detect falling edge.)
Inputs to a CJ1M-CPU2@ CPU Unit's Built-in
Inputs (4 inputs/Unit)
0000 hex: Up-differentiation (Detect rising edge.)
0001 hex: Down-differentiation (Detect falling edge.)
CJ2M CPU Unit inputs (when Pulse I/O
Module is mounted) (4 inputs/Block)
Operand Contents
N
Scheduled Interrupt No.
4: Interrupt task 0 (interrupt task 2)
5: Interrupt task 1 (interrupt task 3)
Note Only scheduled interrupt 0 can be used with the CJ1M-CPU11/21.
D
Scheduled interrupt time units
(Set in the PLC Setup.)
Scheduled interrupt set time
Any time unit setting 0 decimal (0000 hex):
Interrupt disabled. (Internal timer stopped.)
10 ms 1 to 9,999 decimal (0001 to 270F hex):
Interrupt enabled. (Internal timer started with interrupt interval between 10 and 99,990 ms.)
1 ms 1 to 9,999 decimal (0001 to 270F hex):
Interrupt enabled. (Internal timer started with interrupt interval between 1 and 9,999 ms.)
0.1 ms 1 to 9,999 decimal (0001 to 270F hex):
Interrupt enabled. (Internal timer started with interrupt interval between 0.1 and 999.9 ms.)
Operand Contents

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
CategoryController
ManufacturerOmron
TypePLC
SeriesCJ Series
Instruction TypesBit, Compare, Data Control, Data Processing
Programming LanguagesLadder Diagram (LD), Structured Text (ST), Function Block Diagram (FBD), Sequential Function Chart (SFC)

Related product manuals