Omron CJ - INSTRUCTIONS Reference Manual page 785

Table of Contents

Advertisement

TB
TB+1
Upper word of range 1 lower limit
TB+2
TB+3
Upper word of range 1 upper limit
TB+4
TB+5
Lower word of range 32 lower limit
TB+156
Upper word of range 32 lower limit
TB+157
TB+158
Lower word of range 32 upper limit
Upper word of range 32 upper limit
TB+159
TB+160
Interrupt task number
15
AAAA hex: Do not execute interrupt task.
FFFF hex: Ignore the settings for this range.
Note Always set the upper limit greater than or equal to the lower limit for any one range.
Operand Specifications
Word addresses
Area
CIO
WR
HR
P, C
---
---
---
TB
OK
OK
OK
Flags
Name
Label
Error Flag
P_ER
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Number of ranges
Lower word of range 1 lower limit
Lower word of range 1 upper limit
Range 1 interrupt task number
Range 32 interrupt task number
12
11
8
7
4
3
0 hex
Interrupt task number
00 to FF hex (0 to 255 decimal)
Interrupt task execution condition
0 hex: When value enters range
8 hex: When value leaves range
(Flag output only)
AR
T
C
DM
EM
---
---
---
---
---
OK
OK
OK
OK
OK
• ON if the specified range for P or C is exceeded.
• ON if the number of target values specified for target value comparison is set to 0.
• ON if the number of target values specified for target value comparison exceeds 48.
• ON if the same target value is specified more than once in the same comparison direction for target comparison.
• ON if the upper value is less than the lower value for any range.
• ON if the set values for all ranges are disabled during a range comparison.
• ON if the number of ranges specified for range comparison (1 to 32) is set to 0.
• ON if the number of ranges specified for range comparison (1 to 32) is set to a value higher than 32.
• ON if the high-speed counter is set for incremental pulse mode and decrementing is set in the table as the direction
for comparison.
• ON if an instruction is executed when the high-speed counter is set to Ring Mode and the specified value exceeds
the maximum ring value.
• ON if specified for a port not set for a high-speed counter.
• ON if executed for a different comparison method while comparison is already in progress.
• ON if CTBL(882) is executed in the interrupt task when an interrupt occurs during CTBL(882) execution.
• For a CJ2M CPU Unit, ON for any function that uses I/O on the Pulse I/O Module even if a Pulse I/O Module is not
mounted.
• OFF in all other cases.
0001 to 0020 hex (1 to 32 decimal)
0000 0000 to FFFF FFFF hex
0000 0000 to FFFF FFFF hex
0000 0000 to FFFF FFFF hex
0000 0000 to FFFF FFFF hex
0
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
OK
---
OK
OK
---
Operation
3. Instructions
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
---
---
---
OK
3
TR
bits
---
---
747

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF