Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 753

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

High-speed Counter/Pulse Output Instructions
Note
Operand Specifications
720
15
TB
Number of target values
TB+1
Lower word of target value 1
TB+2
Upper word of target value 1
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
14
12
11
8
7
0 0 0
0 0 0 0
Direction
OFF: Incrementing,
ON: Decrementing
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.
15
Lower word of range 1 lower limit
TB
Upper word of range 1 lower limit
TB+1
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 8 lower limit
TB+35
Upper word of range 8 lower limit
TB+36
Lower word of range 8 upper limit
TB+37
Upper word of range 8 upper limit
TB+38
Range 8 interrupt task number
TB+39
Interrupt task number
0000 to 00FF hex: Interrupt task number 0 to 255
AAAA hex:
Do not execute interrupt task.
FFFF hex:
Ignore the settings for this range.
Always set the upper limit greater than or equal to the lower limit for any one
range.
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
Indirect DM addresses
in binary
Indirect DM addresses
in BCD
0
0001 to 0030 hex (1 to 48 target values)
00000000 to FFFFFFFF hex
00000000 to FFFFFFFF hex
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.)
P
C
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
Section 3-20
TB
CIO 0 to CIO 6143
W0 to W511
H0 to H511
A448 to A959
T0000 to T4095
C0000 to C4095
D0 to D32767
@ D0 to @ D32767
*D0 to *D32767

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents