Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 881

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Interrupt Control Instructions
Specifying Up/Down Differentiation of an Interrupt Input
(CS1W-INT01, CJ1W-INT01, and CJ1M CPU Unit Built-in Inputs Only)
Inputs to a CS1W-INT01/CJ1W-INT01 Interrupt Input Unit (16 inputs/Unit)
Operand
N
Specify the Interrupt Input Unit's unit number.
2: Unit number 0 (interrupt tasks 100 to 115)
3: Unit number 1 (interrupt tasks 116 to 131)
C
Specify either the rising or falling edge of the interrupt input signal.
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.)
Inputs to a CJ1M CPU Unit's Built-in Inputs (4 inputs/Unit)
Operand
N
Specify the interrupt input number.
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)
C
Interrupt mask.
0000 hex: Up-differentiation (Detect rising edge.)
0001 hex: Down-differentiation (Detect falling edge.)
Note When the up/down differentiation setting is changed, all detected in-
terrupt inputs will be cleared.
Disabling/Enabling a Scheduled Interrupt Task's Timer Interrupt
Operand
N
Specify the scheduled interrupt number.
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.
C
Scheduled interrupt
time units (Set in the
PLC Setup.)
Any time unit setting
10 ms
1 ms
0.1 ms
Contents
Contents
Contents
Scheduled interrupt set time
0 decimal (0000 hex):
Disable interrupt. (Stop internal timer.)
1 to 9,999 decimal (0001 to 270F hex):
Enable interrupt. (Start internal timer with inter-
rupt interval between 10 and 99,990 ms.)
1 to 9,999 decimal (0001 to 270F hex):
Enable interrupt. (Start internal timer with inter-
rupt 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 inter-
rupt 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 CPU Units
2 to 9,999 decimal (0002 to 270F hex):
Enable interrupt. (Start internal timer with inter-
rupt interval between 0.2 and 999.9 ms.)
Note Setting 0001 cannot be used. An error will occur
if 0001 is set.
Section 3-20
841

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents