227
Timer and Counter Instructions Section 5-15
There is an error in the operand settings.
INI(61) is executed in an interrupt subroutine while a pulse I/O or high-
speed counter instruction is being executed in the main program.
5-15-8 HIGH-SPEED COUNTER PV READ – PRV(62)
This instruction is not available for SRM1 PCs.
Limitations In the CPM1/CPM1A PCs, P and C must be 000.
In CQM1 PCs, P and C must be 000, 001, or 002.
D and D+1 must be in the same data area.
DM 6143 to DM 6655 cannot be used for D.
Description When the execution condition is OFF, PRV(62) is not executed. When the exe-
cution condition is ON, PRV(62) reads data specified by P and C and writes it
to D or D and D+1.
The port specifier (P) specifies the high-speed counter or pulse output.
Note CPM1/CPM1A PCs are equipped with high-speed counter 0 only.
The control data, C, determines which type of data will be accessed.
High-speed Counter PV
(C=000)
If C is 000, PRV(62) reads the specified high-speed counter’s PV and writes
the 8-digit value in D and D+1.
With high-speed counter 0, the PV can be F003 2767 to 0003 2767 in Up/
Down Mode, or 0000 0000 to 0006 5535 in Incremental Mode. The hexadeci-
mal value F in the most significant digit of PV indicates that the PV is negative.
With high-speed counters 1 and 2 (CQM1 only), the PV can be F838 8607 to
0838 8607 in Linear Mode, or 0000 0000 to 0006 4999 in Ring Mode. The
P: Port specifier
000, 001, or 002
Ladder Symbols Operand Data Areas
@PRV(62)
P
C
D
D: First destination word
IR, SR, AR, DM, HR, LR
C: Control data
000, 001, or 002
PRV(62)
P
C
D
PFunction
000 Specifies high-speed counter 0 or a pulse output from a bit.
001 Specifies high-speed counter 1 or a pulse output from port 1.
002 Specifies high-speed counter 2 or a pulse output from port 2.
C Data Destination word(s)
000 High-speed counter PV D and D+1
001 Status of high-speed counter or pulse output D
002 Range comparison results D
Leftmost 4 digits Rightmost 4 digits Up/Down Mode Incrementing Mode
D+1 D F0032767 to 00032767 00000000 to 00065535