![background image](http://html1.mh-extra.com/html/omron/cj1m-cpu21/cj1m-cpu21_operation-manual_742493117.webp)
88
COUNTER FREQUENCY CONVERT: PRV2(883)
Section 5-3
5-3
COUNTER FREQUENCY CONVERT: PRV2(883)
Purpose
PRV2(883) reads the pulse frequency input from a high-speed counter and
either converts the frequency to a rotational speed 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.
This instruction is supported by the CJ1M CPU Units Ver. 2.0 or later only.
Ladder Symbol
Variations
Applicable Program Areas
Operands
C1: Control Data 1
C2: Control Data 2 (Pulses/revolution)
Specifies the number of pulses per revolution (0001 to FFFF hex).
D: First Destination Word
The PV is output to D or to D and D+1.
Operand Specifications
PRV2(883)
C1
C2
D
C1:
Control data
C2:
Pulses/revolution
D:
First destination word
Variations
Executed Each Cycle for ON Condition
PRV2(883)
Executed Once for Upward Differentiation
@PRV2(883)
Executed Once for Downward Differentiation
Not supported
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
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.)
D
D+1
0
15
Lower word of conversion result
Upper word of conversion result
Area
C1
C2
D
CIO Area
---
CIO 0000 to
CIO 6143
CIO 0000 to
CIO 6142
Work Area
---
W000 to W511
W000 to W510
Holding Bit Area
---
H000 to H511
H000 to H510
Summary of Contents for CJ1M-CPU21
Page 1: ...Cat No W395 E1 03 CJ series Built in I O CJ1M CPU21 22 23 CJ1M CPU Units...
Page 2: ...CJ series Built in I O CJ1M CPU21 22 23 CPU Units Operation Manual Revised August 2004...
Page 3: ...iv...
Page 19: ...xx...
Page 79: ...50 Wiring Examples Section 3 3...
Page 217: ...188 Origin Search and Origin Return Functions Section 6 3...
Page 220: ...191 Built in Outputs Section 7 1...
Page 247: ...218 Built in Outputs Section 7 1...
Page 251: ...222 Combinations of Pulse Control Instructions Appendix A...
Page 255: ...226 Using Pulse Instructions in other CPU Units Appendix B...
Page 263: ...234 Index...
Page 265: ...236 Revision History...