EasyManua.ls Logo

Omron CJ - INSTRUCTIONS - (CJ2 M-CPU@@ and CJ1 M-CPU21;22;23 Only); 2-2-20 High-Speed Counter and Pulse Output Instructions

Omron CJ - INSTRUCTIONS
1308 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
98
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-2-20 High-speed Counter and Pulse Output Instructions
(CJ2M-CPU@@ and 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
730
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
736
COUNTER FRE-
QUENCY CON-
VERT
PRV2
883
(CJ1M CPU Unit
Ver. 2.0 or later
and CJ2M CPU
Unit Ver. 1.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
742
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
745
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
751
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
755
INI
P
C
NV
PRV
P
C
D
PRV2
C1
C2
D
CTBL
P
C
TB
SPED
P
M
F
PULS
P
T
N

Table of Contents

Related product manuals