Omron SYSMAC CP Series Instruction & Reference Manual page 352

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

2 Instructions
TB: First comparison table word
• TB is the first word of the comparison table. The structure of the comparison table depends on the
type of comparison being performed.
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 19 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
Interrupt task number for target value 1
TB+3
TB+16
Lower word of target value 6
Upper word of target value 6
TB+17
Interrupt task number for target value 6
TB+18
Interrupt Task Number
15
14
12
11
0 0 0
Direction
OFF: Incrementing,
ON: Decrementing
• For range comparison, the comparison table always contains six ranges. The table is 30 words long,
as shown below. If it is not necessary to set six ranges, set the interrupt task number to FFFF hex for
all unused ranges.
15
TB
Lower word of range 1 lower limit
TB+1
Upper word of range 1 lower limit
Lower word of range 1 upper limit
TB+2
Upper word of range 1 upper limit
TB+3
Range 1 interrupt task number
Lower word of range 6 lower limit
TB+25
Upper word of range 6 lower limit
TB+26
Lower word of range 6 upper limit
TB+27
Upper word of range 6 upper limit
TB+28
Range 6 interrupt task number
TB+29
Interrupt task number
0000 to 000F hex: Interrupt task number 0 to 15
AAAA hex:
FFFF hex:
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
2-316
0
0001 to 6 hex (1 to 6 target values)
00000000 to FFFFFFFF hex
00000000 to FFFFFFFF hex
8
7
4
3
0
0
Interrupt task number
00 to 0F hex (0 to 15)
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.)
Do not execute interrupt task.
Ignore the settings for this range.
AR
T
C
DM
---
---
---
---
OK
OK
OK
OK
Indirect DM addresses
Constants
@DM
*DM
---
---
OK
OK
OK
---
CP1E CPU Unit Instructions Reference Manual(W483)
CF
Pulse bits
TR bits
---
---
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents