![Omron CJ1G-CPUxx Instructions Manual Download Page 800](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491800.webp)
779
High-speed Counter/Pulse Output Instructions
Section 3-21
Note Always set the upper limit greater than or equal to the lower limit for any one
range.
Operand Specifications
Description
CTBL(882) registers a comparison table or registers and comparison table
and starts comparison for the port specified in P and the method specified in
C. Once a comparison table is registered, it is valid until a different table is
registered or until the CPU Unit is switched to PROGRAM mode.
Each time CTBL(882) is executed, comparison is started under the specified
conditions. When using CTBL(882) to start comparison, it is normally suffi-
TB
TB+1
TB+2
TB+3
Lower word of range 1 lower limit
Upper word of range 1 lower limit
Lower word of range 1 upper limit
Upper word of range 1 upper limit
Range 1 interrupt task number
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.)
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.
0
15
TB+35
TB+36
TB+37
TB+38
TB+39
Lower word of range 8 lower limit
Upper word of range 8 lower limit
Lower word of range 8 upper limit
Upper word of range 8 upper limit
Range 8 interrupt task number
Area
P
C
TB
CIO Area
---
---
CIO 0000 to CIO 6143
Work Area
---
---
W000 to W511
Holding Bit Area
---
---
H000 to H511
Auxiliary Bit Area
---
---
A448 to A959
Timer Area
---
---
T0000 to T4095
Counter Area
---
---
C0000 to C4095
DM Area
---
---
D00000 to D32767
EM Area without bank
---
---
---
EM Area with bank
---
---
---
Indirect DM/EM
addresses in binary
---
---
@ D00000 to @ D32767
Indirect DM/EM
addresses in BCD
---
---
*D00000 to *D32767
Constants
See descrip-
tion of oper-
and.
See descrip-
tion of oper-
and.
---
Data Registers
---
---
---
Index Registers
---
---
---
Indirect addressing
using Index Registers
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –
2048 to +2047 ,IR15
DR0 to DR15, IR0 to
IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...