Omron SYSMAC CS Series Instruction & Reference Manual page 663

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

(2) Specifying Up/Down Differentiation of Interrupt Inputs for I/O Interrupts and Input Interrupts
(Except when Using a C200HS-INT01 Interrupt Input Unit)
Operand
N
Inputs to a CS1W-INT01/CJ1W-INT01
Interrupt Input Unit (16 inputs/Unit)
Inputs to a CJ1M CPU Unit's Built-in Inputs
(4 inputs/Unit)
CJ2M CPU Unit inputs (when Pulse I/O
Module is mounted) (4 inputs/Block)
C
Inputs to a CS1W-INT01/CJ1W-INT01
Interrupt Input Unit (16 inputs/Unit)
Inputs to a CJ1M CPU Unit's Built-in Inputs
(4 inputs/Unit)
CJ2M CPU Unit inputs (when Pulse I/O
Module is mounted) (4 inputs/Block)
Note When the up/down differentiation setting is changed, all detected interrupt inputs will be cleared.
(3) Disabling/Enabling a Scheduled Interrupt Task's Timer Interrupt
Operand
N
4: Interrupt task 0 (interrupt task 2)
5: Interrupt task 1 (interrupt task 3)
Note 1 Only scheduled interrupt 0 can be used with the CJ1M-CPU11/21.
2 The scheduled interrupts (0 and 1) cannot be used with a CJ2H CPU Unit if the synchronous unit operation function is
enabled.
C
Scheduled interrupt time units
(Set in the PLC Setup.)
Any time unit setting
10 ms
1 ms
0.1 ms
Note High-speed interrupt function can be used with CJ2 CPU Units with unit version 1.1 or later to set an inter-
rupt interval of 0.1 ms (&1 decimal or #0001 hex) for scheduled interrupt 1 (interrupt task 2). This setting can-
not be used for other interrupts.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Interrupt input
2: Unit number 0
3: Unit number 1
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)
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.
Interrupt input
Set to 0000 to FFFF hex. Bits 0 to 15 correspond to each interrupt task. Individual bit
settings are as follows:
0: Up-differentiation (Detect rising edge.)
1: Down-differentiation (Detect falling edge.)
0000 hex: Up-differentiation (Detect rising edge.)
0001 hex: Down-differentiation (Detect falling edge.)
0 decimal (0000 hex):
Disable interrupt. (Stop internal timer.)
1 to 9,999 decimal (0001 to 270F hex):
Enable interrupt. (Start internal timer with interrupt interval between 10 and 99,990 ms.)
1 to 9,999 decimal (0001 to 270F hex):
Enable interrupt. (Start internal timer with interrupt interval between 1 and 9,999 ms.)
CJ1M CPU Units
5 to 9,999 decimal (0005 to 270F hex):
Enable interrupt. (Start internal timer with interrupt interval between 0.5 and 999.9 ms.)
Note Settings 0001 to 0004 cannot be used. An error will occur if one of these settings is used.
CJ1-H-R and CJ2 CPU Units
2 to 9,999 decimal (0002 to 270F hex):
Enable interrupt. (Start internal timer with interrupt interval between 0.2 and 999.9 ms.)
Note Setting 0001 cannot be used. An error will occur if 0001 is set. (See note.)
CJ2M CPU Units
4 to 9,999 decimal (0004 to 270F hex): Enable interrupt. (Start internal timer with interrupt
interval between 0.4 and 999.9 ms.)
Note Settings 0001 to 0003 decimal (0001 to 0003 hex) cannot be used. An error will occur if
one of these settings is used.
Contents
Interrupt identifier
I/O interrupts 0 to 15 (interrupt tasks 100 to 115)
I/O interrupts 16 to 31 (interrupt tasks 116 to 131)
Up/down differentiation specification
Contents
Scheduled Interrupt No.
Scheduled interrupt set time
3. Instructions
3
629

Advertisement

Table of Contents
loading

Table of Contents