![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268125.webp)
86
Instruction Functions
Section 2-2
2-2-19 High-speed Counter and Pulse Output Instructions
(CJ1M-CPU21/22/23 Only)
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
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
865
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
869
COUNTER FRE-
QUENCY CON-
VERT
PRV2
883
(CJ1M CPU Unit
Ver. 2.0 or later
only)
C1:
Control data
C2:
Pulses/revo-
lution
D:
1st destination
word
Reads the pulse frequency input from a high-speed counter and either
converts the frequency to a rotational speed (number of revolutions) or
converts the counter PV to the total number of revolutions. The result is
output to the destination words as 8-digit hexadecimal. Pulses can be
input from high-speed counter 0 only.
Output
Required
875
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
879
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
883
INI
P
C
NV
PRV
P
C
D
PRV2
C1
C2
D
CTBL
P
C
TB
SPED
P
M
F
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...