Omron SYSMAC CS Series Instruction & Reference Manual page 697

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

Advertisement

TB: First comparison table word
 Specifying a Target Value Comparison Table (C = 0000 or 0002 Hex)
For target value comparison, the length of the comparison table is determined by the number of tar-
get values specified in TB. The table can be between 4 and 145 words long, as shown below.
15
TB
Number of target values
Lower word of target value 1
TB+1
Upper word of target value 1
TB+2
TB+3
Interrupt task number for target value 1
Lower word of target value 48
TB+142
Upper word of target value 48
TB+143
TB+144
Interrupt task number for target value 48
Interrupt Task Number
15
12
11
0 hex
Direction
0: Incrementing,
8: Decrementing
 Specifying a Range Comparison Table with 8 Ranges (C = 0001 or 0003 Hex)
For range comparison, the comparison table always contains eight ranges. The table is 40 words
long, as shown below. If it is not necessary to set eight ranges, set the interrupt task number to
FFFF hex for all unused ranges. The ranges are set using upper and lower limits.
15
TB
Lower word of range 1 lower limit
TB+1
Upper word of range 1 lower limit
TB+2
Lower word of range 1 upper limit
TB+3
Upper word of range 1 upper limit
Range 1 interrupt task number
TB+35
Lower word of range 8 lower limit
TB+36
Upper word of range 8 lower limit
TB+37
Lower word of range 8 upper limit
Upper word of range 8 upper limit
TB+38
Range 8 interrupt task number
TB+39
Interrupt task number
15
12
11
Interrupt task execution condition
0 hex: When value enters range
8 hex: When value leaves range (CJ2M only)
AAAA hex: Do not execute interrupt task. (Flag output only)
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.
 Specifying a Range Comparison Table with 1 to 32 Ranges (C = 0004 or 0005 Hex)
(CJ2M Only)
The length of the comparison table is determined by the number of target values specified in TB.
The table can be between 6 and 161 words long. Set valid values for the entire table specified by
TB. (It is not possible to skip settings for any ranges.)
CS/CJ/NSJ Series Instructions Reference Manual (W474)
0
0001 to 30 hex (1 to 48 target values)
00000000 to FFFFFFFF hex
00000000 to FFFFFFFF hex
8
7
4
3
0
Interrupt task number
00 to FF hex (0 to 255)
0
0000 0000 to FFFF FFFF hex (See note.)
0000 0000 to FFFF FFFF hex (See note.)
0000 0000 to FFFF FFFF hex (See note.)
0000 0000 to FFFF FFFF hex (See note.)
8
7
4
3
0
0 hex
Interrupt task number
00 to FF hex (0 to 255 decimal)
3. Instructions
3
663

Advertisement

Table of Contents
loading

Table of Contents