256
Timer and Counter Instructions Section 5-16
The following table shows which values of C can be used with each function.
CTBL(63) Table
Comparison
If C is 000 or 001, INI(61) starts or stops comparison of the high-speed
counter’s PV to the comparison table registered with CTBL(63). Refer to 1-4-6
High-speed Counter 0 Interrupts for details on table comparison.
PV Change If C is 002, INI(61) changes the high-speed counter’s PV to the 8-digit value in
P1 and P1+1. The leftmost 4 digits are stored in P1+1 and the rightmost 4 dig-
its are stored in P1. A hexadecimal value of F in the most significant digit of
PV indicates that the PV is negative.
CPU Unit: Built-in High-speed Counter 0
The following table shows the possible 8-digit BCD values for the PV of high-
speed counter 0.
Pulse I/O Board: High-speed Counters 1 and 2
The following table shows the possible 8-digit BCD values for the PV of high-
speed counters 1 and 2 on a Pulse I/O Board.
Absolute Encoder Interface Board: High-speed Counters 1 and 2
The PV of absolute high-speed counters 1 and 2 cannot be changed.
High-speed Counter Board: High-speed Counters 1 to 4
The following table shows the possible 8-digit values (BCD or hexadecimal)
for the PV of high-speed counters 1 to 4 on a High-speed Counter Board.
C P1 INI(61) function
000 000 Starts CTBL(63) table comparison.
001 000 Stops CTBL(63) table comparison.
002 New high-speed counter PV Changes high-speed counter PV.
003 000 Stops pulse output.
Unit/Board Function Values of C
000 001 002 003
CPU Unit High-speed counter 0 YES YES YES ---
Transistor Output Unit Pulse output --- --- --- YES
Pulse I/O Board High-speed counters 1 and 2 YES YES YES ---
Pulse outputs 1 and 2 --- --- --- YES
Absolute Encoder
Interface Board
Absolute high-speed counters
1 and 2
YES YES --- ---
High-speed Counter
Board
High-speed counters 1 to 4 YES YES YES ---
Mode Possible values
Differential phase mode F003 2768 to 0003 2767
Incrementing mode 0000 0000 to 0006 5535
Numeric range Possible values
Linear counting F838 8608 to 0838 8607
Ring counting 0000 0000 to 0006 4999
Numeric range Possible values
BCD format Hexadecimal format
Linear counting F838 8608 to 0838 8607 F800 0000 to 07FF FFFF
Ring counting 0000 0000 to 0838 8607 0000 0000 to 07FF FFFF