
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
864
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
868
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
874
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
878
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
882
INI
P
C
NV
PRV
P
C
D
PRV2
C1
C2
D
CTBL
P
C
TB
SPED
P
M
F
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...