127
High-speed Counter and Pulse Output Instructions (CJ1M-CPU22/23 Only)
Section 3-19
3-19 High-speed Counter and Pulse Output Instructions (CJ1M-
CPU22/23 Only)
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
MODE CONTROL
INI
@INI
880
P: Port specifier
C: Control data
NV: 1st word with
new PV
INI(880) is used to start and stop target value comparison, to change
the present value (PV) of a high-speed counter, to change the PV of
an interrupt input (counter mode), to change the PV of a pulse output,
or to stop pulse output.
Output
Required
HIGH-SPEED
COUNTER PV
READ
PRV
@PRV
881
P: Port specifier
C: Control data
D: 1st destination
word
PRV(881) is used to read the present value (PV) of a high-speed
counter, pulse output, or interrupt input (counter mode).
Output
Required
COMPARISON
TABLE LOAD
CTBL
@CTBL
882
P: Port specifier
C: Control data
TB: 1st compari-
son table word
CTBL(882) is used to perform target value or range comparisons for the
present value (PV) of a high-speed counter.
Output
Required
SPEED OUTPUT
SPED
@SPED
885
P: Port specifier
M: Output mode
F: 1st pulse fre-
quency word
SPED(885) is used to specify the frequency and perform pulse output without
acceleration or deceleration.
Output
Required
SET PULSES
PULS
@PULS
886
P: Port specifier
T: Pulse type
N: Number of
pulses
PULS(886) is used to set the number of pulses for pulse output.
Output
Required
INI
P
C
NV
PRV
P
C
D
CTBL
P
C
TB
SPED
P
M
F
PULS
P
T
N
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...