Appendices
A-40
CP2E CPU Unit Software User’s Manual(W614)
HIGH-SPEED
COUNTER PV
READ
PRV @ Reads the High-speed counter PV and pulse output PV.
P: Port Specifier
* Can only be used in CP2E-N30/40/60Dîš…-îš….
C: Control Data
D: First Destination Word
Instruction Mnemonic Variations Symbol/Operand Function
PRV(881)
P
C
D
P: Port specifier
C: Control data
D: First destination word
0000 hex Pulse output 0
0001 hex Pulse output 1
0002 hex Pulse output 2*
0003 hex Pulse output 3*
0010 hex High-speed counter 0
0011 hex High-speed counter 1
0012 hex High-speed counter 2
0013 hex High-speed counter 3
0014 hex High-speed counter 4
0015 hex High-speed counter 5
1000 hex PWM(891) output 0
0000 hex Reads the PV.
0001 hex Reads status.
0002 hex Reads range comparison results.
00 3 hex
P = 0000 or 0001: Reads the output fre-
quency of pulse output 0 or pulse output 1.
C = 0003 hex
P = 0010: Reads the frequency of
high-speed counter input 0.
C = 0013 hex: 10-ms sampling method
C = 0023 hex: 100-ms sampling method
C = 0033 hex: 1-s sampling method
D
D+1
0
15
DPV
0
15
Lower word of PV
Upper word of PV
2-word PV
Pulse output PV, high-speed counter input PV,
high-speed counter input frequency for high-speed counter input 0
1-word PV
Status, range comparison results