7 High-speed Counters
• Creating a Range Comparison Tables (Variable Length of One to 32 Ranges)
The number of ranges is registered along with the lower limit (2 words), upper limit (2 words), and
interrupt task number (1 words) for each range from range 1 to 32.
The comparison table can be between 6 and 161 words long, depending on the number of compari-
son ranges.
Set the ranges using upper and lower limits.
TB
Number of ranges
TB+1
Range 1 lower limit (lower word)
TB+2
Range 1 lower limit (upper word)
TB+3
Range 1 upper limit (lower word)
TB+4
Range 1 upper limit (upper word)
TB+5
Range 1 interrupt task number
Range 32 lower limit (lower word)
TB+156
Range 32 lower limit (upper word)
TB+157
Range 32 upper limit (lower word)
TB+158
Range 32 upper limit (upper word)
TB+159
TB+160
Range 32 interrupt task number
Interrupt task number
15
12 11
0 0 0
C
Interrupt task execution condition
OFF: When value enters range
ON: When value leaves range
AAAA hex: Do not execute interrupt task.
FFFF hex: Ignore the settings for this range.
7-30
0001 to 0020 hex
0000 0000 to FFFF FFFF hex
0000 0000 to FFFF FFFF hex
0000 0000 to FFFF FFFF hex
0000 0000 to FFFF FFFF hex
8 7
4 3
0
#0
Interrupt task No.: 00 to FF hex (0 to 255 decimal)
CJ2M CPU Unit Pulse I/O Module User's Manual
Need help?
Do you have a question about the SYSMAC CJ Series and is the answer not in the manual?
Questions and answers