EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
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...
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

Table of Contents

Related product manuals