88
Instruction Support and Operand Restrictions Section 2-6
2-6-19 High-speed Counter and Pulse Output Instructions (CJ1M-CPU21/
22/23 Only)
Instruction Mnemonic Function
code
Symbol/Operands Function Supported
variable
data types
AT
setting or
array
variable
required
(Required
word data
size
shown in
parenthe-
ses.)
MODE CONTROL INI
@INI
880 P: Port specifier WORD ---
C: Control data UINT ---
NV: 1st word with
new PCV
DWORD ---
HIGH-SPEED
COUNTER PV
READ
PRV
@PRV
881 P: Port specifier WORD ---
C: Control data UINT ---
D: 1st destination
word
WORD Yes (1 or
2)
COUNTER FRE-
QUENCY CON-
VERT
(CJ1M CPU Unit
Ver. 2.0 or later only)
PRV2 883 C1: Control data WORD ---
C2: Pulses/revolu-
tion
UINT ---
D: 1st destination
word
UDINT ---
COMPARISON
TABLE LOAD
CTBL
@CTBL
882 P: Port specifier UINT ---
C: Control data UINT ---
TB: 1st compari-
son table word
LWORD Yes (not
fixed)
SPEED OUTPUT SPED
@SPED
885 P: Port specifier UINT ---
M: Output mode WORD ---
F: 1st pulse fre-
quency word
UDINT ---
SET PULSES PULS
@PULS
886 P: Port specifier UINT ---
T: Pulse type UINT ---
N: Number of
pulses
DINT ---
PULSE OUTPUT PLS2
@PLS2
887 P: Port specifier UINT ---
M: Output mode WORD ---
S: 1st word of set-
tings table
WORD Yes (6)
F: 1st word of start-
ing frequency
UDINT ---
INI
P
C
NV
PRV
P
C
D
PRV2
C1
C2
D
CTBL
P
C
TB
SPED
P
M
F
PULS
P
T
N
PLS2
P
M
S
F