243
Timer and Counter Instructions
Section 5-16
5-16-7 REGISTER COMPARISON TABLE – CTBL(63)
Limitations
The first and last comparison table words must be in the same data area. (The
length of the comparison table varies according to the settings.)
CTBL(63) cannot be used if the PC Setup (DM 6611) is set to pulse output
mode.
Description
CTBL(63) is used to register comparison tables and start comparison for high-
speed counters. The following table shows the functions of CTBL(63).
The description of CTBL(63) operation is divided into two parts. Refer to
page 243 for a description of operation for the CPU Unit, Pulse I/O Board, and
Absolute Encoder Interface Board. Refer to page 248 for details on CTBL(63)
operation with the High-speed Counter Board.
CPU Unit, Pulse I/O Board,
and Absolute Encoder
Interface Board
When the execution condition is OFF, CTBL(63) is not executed. When the
execution condition is ON, CTBL(63) registers a comparison table for use with
the high-speed counter PV. Depending on the value of C, comparison with the
high-speed counter PV can begin immediately or it can be started separately
with INI(61).
The port specifier (P) specifies the high-speed counter that will be used in the
comparison.
Note
1.
The Pulse I/O Board and Absolute Encoder Interface Board must be in-
stalled in slot 2.
2.
When a Pulse I/O Board is being used, the mode for ports 1 and 2 must be
set to high-speed counter mode in DM 6611 of the PC Setup. CTBL(63)
cannot be used if the mode is set to simple positioning mode.
P
:
Port specifier
000 to 004 or 101 to 104
Ladder Symbols
Operand Data Areas
@CTBL(63)
P
C
TB
TB
:
First comparison table word
IR, SR, AR, DM, EM, HR, LR
C
:
Control data
000 to 003
CTBL(63)
P
C
TB
Unit/Board
Function
CPU Unit
High-speed counter 0 (IR 00004 to IR 00006)
Pulse I/O Board
High-speed counters 1 and 2
Absolute Encoder Interface Board
Absolute high-speed counters 1 and 2
High-speed Counter Board
High-speed counters 1 to 4
Unit/Board
Function
Port specifier (P)
CPU Unit
High-speed counter 0 (built-in)
000
Pulse I/O Board
(See notes 1 and 2)
High-speed counter 1
001
High-speed counter 2
002
Absolute Encoder
Interface Board
(See note 1)
High-speed counter 1
001
High-speed counter 2
002
Содержание SYSMAC CQM1H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 9: ......
Страница 11: ......
Страница 15: ...xvi...
Страница 87: ...62 Calculating with Signed Binary Data Section 1 7...
Страница 169: ...144 Serial Communications Board Section 2 6...
Страница 537: ......
Страница 565: ......
Страница 569: ......
Страница 573: ......
Страница 577: ......