Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 756

Table of Contents

Advertisement

3. Instructions
(2) Setting the Time to the First Scheduled Interrupts
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 CJ2 CPU Unit if the synchronous unit operation function is
enabled.
C
Scheduled interrupt time units
(Set in the PLC Setup.)
10 ms
1 ms
0.1 ms
(3) Clearing/Retaining High-speed Counter Interrupt Causes (CJ1M CPU Units Only)
Operand
N
10: High-speed counter input 0
11: High-speed counter input 1
C
0000 hex: Retain the recorded interrupt.
0001 hex: Clear the recorded interrupt.
Operand Specifications
Word addresses
Area
CIO
WR
HR
N
---
---
---
C
OK
OK
OK
Flags
Name
Error Flag
Function
Depending on the value of N, CLI(691) clears/retains the specified recorded causes of I/O interrupts or
input interrupts, sets the time before execution of the first scheduled interrupt, or clears/retains the
specified recorded causes of high-speed counter interrupts (CJ1M CPU Unit built-in high-speed
counter inputs only).
(1) Clearing/Retaining Recorded Interrupt Causes for I/O Interrupts or Input Interrupts (N = 0 to
3, 6 to 9, or 100 to 107)
CLI(691) clears a recorded cause of the interrupt input specified by N when the corresponding bit
of C is ON, and retains the recorded cause of the interrupt input when the corresponding bit is OFF.
720
0 to 9,999 decimal (0000 to 270F hex):
Sets time to first interrupt between 10 and 99,990 ms.
0 to 9,999 decimal (0000 to 270F hex):
Sets time to first interrupt between 1 and 9,999 ms.)
0 to 9,999 decimal (0000 to 270F hex):
Sets time to first interrupt between 0.1 and 999.9 ms.)
Indirect DM/EM
@DM
AR
T
C
DM
EM
@EM
---
---
---
---
---
OK
OK
OK
OK
OK
OK
Label
P_ER
• ON if N is not within the specified range (0, 1, or 4 to 11 for CJ1M CPU Unit or 0 to 5 for other CPU
Units).
• ON if C is not within the specified range of 0000 to 00FF hex when N is 0 to 3 (for I/O interrupts and
C200HS-INT only).
• ON if C is not 0 or 1 (for I/O interrupts and CJ1M CPU Unit built-in input interrupt or high-speed
counter interrupt).
• ON if C is not within the specified range of 0 to 9,999 decimal (0000 to 270F hex) for scheduled inter-
rupts.
• ON when 4 or 5 (scheduled interrupt specification) is set for N when synchronous unit operation is
enabled for a CJ2H CPU Unit.
• OFF in all other cases.
Contents
Interrupt identifier
Scheduled interrupt set time
Contents
Interrupt identifier
Recorded Interrupt
addresses
Con-
stants
*DM
DR
*EM
---
---
---
OK
OK
OK
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
---
---
---
OK
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents