3. Instructions
736
CS/CJ/NSJ Series Instructions Reference Manual (W474)
PRV
Applicable Program Areas
Operands
P: Port Specifier
Instruction Mnemonic Variations
Function
code
Function
HIGH-SPEED
COUNTER PV READ
PRV @PRV 881
PRV(881) reads the High-speed counter PV and pulse output PV
and interrupt input PV in counter mode.
Symbol
PRV
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or transition
programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
P Port specifier --- 1
C Control data --- 1
D First destination word WORD Variable
P Port
0000 hex Pulse output 0
0001 hex Pulse output 1
0002 hex Pulse output 2 (CJ2M only)
0003 hex Pulse output 3 (CJ2M only)
0010 hex High-speed counter 0
0011 hex High-speed counter 1
0012 hex High-speed counter 2 (CJ2M only)
0013 hex High-speed counter 3 (CJ2M only)
0100 hex Interrupt input 0 in counter mode
0101 hex Interrupt input 1 in counter mode
0102 hex Interrupt input 2 in counter mode
0103 hex Interrupt input 3 in counter mode
0104 hex Input interrupt 4 in counter mode (CJ2M only)
0105 hex Input interrupt 5 in counter mode (CJ2M only)
0106 hex Input interrupt 6 in counter mode (CJ2M only)
0107 hex Input interrupt 7 in counter mode (CJ2M only)
1000 hex PWM(891) output 0
1001 hex PWM(891) output 1
1002 hex PWM output 2 (CJ2M only)
1003 hex PWM output 3 (CJ2M only)
D: First destination word
PRV(881)
P
C
D
P: Port specifier
C: Control data