EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 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
Page #780 background imageLoading...
Page #780 background image
3. Instructions
742
CS/CJ/NSJ Series Instructions Reference Manual (W474)
PRV2
Applicable Program Areas
Operands
C1: Control data
Note Supported by CJM1 CPU Unit Ver. 3.0 or later only.
C2: Pulses per Revolution
Specifies the number of pulses per revolution (0001 to FFFF hex).
Instruction Mnemonic Variations
Function
code
Function
COUNTER
FREQUENCY CONVERT
PRV2 @PRV2 883
Reads the pulse frequency input from a high-speed counter and
either converts the frequency to a rotational speed (number of revo-
lutions) or converts the counter PV to the total number of revolu-
tions. The result is output to the destination words as 8-digit
hexadecimal. The frequency measurement function can be used
with high-speed counter 0 only.
Symbol
PRV2
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or transition
programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
C1 Control data --- 1
C2 Pulses per revolution UINT 1
D First destination word UDINT 2
C1 PRV2(883) function
0*0 hex
Converts frequency to rotation speed.
(The second digit of C () specifies the units and the third digit (*) specifies the frequency calculation method.)
0001 hex Converts counter PV to total number of revolutions.
D: First destination word
PRV2(883)
C1
C2
D
C1: Control data
C2: Pulses per revolution
C1
0
Conversion Type
0 hex: Frequency to speed
1 hex: Counter PV to total revolutions
(When Conversion Type is "Frequency to speed")
Pulse Frequency Calculation Method
0 hex: Standard calculation method
1 hex: High-frequency calculation method, 10-ms sampling (See note.)
2 hex: High-frequency calculation method, 100-ms sampling (See note.)
3 hex: High-frequency calculation method, 1,000-ms sampling (See note.)
(When Conversion Type is "Frequency to speed")
Speed Unit
0 hex: r/min
1 hex: r/s (See note.)
2 hex: r/h (See note.)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals