7-15
Section
Timer and Counter Instructions
401
Flags
ER:
The port specifier and control data are incompatible.
(For example: P=010 and C=000)
There is an error in the operand settings or the specified PV is not within
the acceptable range.
The address specified for P1 or P1+1 exceeds the data area boundary.
Indirectly addressed DM word is non-existent. (Content of *DM word is
not BCD, or the DM area boundary has been exceeded.)
The specified function is incompatible with actual PC operation. For ex-
ample, do not set C=005 if synchronized pulse control is not being used.
INI(61) is executed to change the PV of a pulse output (C=004) while the
pulse output is operating.
INI(61) is executed in an interrupt subroutine while a pulse I/O or high-
speed counter instruction (INI(61), PRV(62), CTBL(63), SPED(64),
PULS(65), ACC(––), PWM(––), or SYNC(––)) is being executed in the
main program.
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.
7-15-9
HIGH-SPEED COUNTER PV READ – PRV(62)
P:
Port specifier
000, 010, 100, 101, 102, 103
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, 002, or 003
PRV(62)
P
C
D
This instruction is not supported by SRM1(-V2) PCs.
Limitations
In the CPM1/CPM1A PCs, P must be 000 and C must be 000 to 002.
In CPM2A/CPM2C PCs, P must be 000, 010, 100, 101, 102, or 103 and C must
be 000 to 003.
D and D+1 must be in the same data area.
If a DM address is used for D, it must be read/write DM.
Description
When the execution condition is OFF, PRV(62) is not executed. When the
execution condition is ON, PRV(62) controls the high-speed counter PV, pulse
output PV, interrupt input (counter mode) PV, or input frequency for synchro-
nized control as specified by P and C.