![Omron CJ1M-CPU21 Operation Manual Download Page 118](http://html1.mh-extra.com/html/omron/cj1m-cpu21/cj1m-cpu21_operation-manual_742493118.webp)
89
COUNTER FREQUENCY CONVERT: PRV2(883)
Section 5-3
Description
PRV2(883) converts the pulse frequency input from high-speed counter 0,
according to the conversion method specified in C1 and the pulses/revolution
coefficient specified in C2, and outputs the result to D and D+1.
Select one of the following conversion methods by setting C1 to 0000 hex or
0001 hex.
Converting Frequency to Rotation Speed (C1 = 0
@
*
0 hex)
The second digit of C1 (
@
) specifies the units and the third digit (
*
) specifies
the frequecy calculation method.
1.
Rotation Speed Units
• Rotation Speed Units = r/min
When the second digit of C1 (
@
) is 0, PRV2(883) calculates the rotation
speed in r/min from the frequency data and pulses/revolution setting.
Rotation speed (r/min) = (Frequency
÷
Pulses/revolution)
×
60
• Rotation Speed Units = r/s (CJM1 CPU Unit Ver. 3.0 or later only)
When the second digit of C1 (
@
) is 1, PRV2(883) calculates the rotation
speed in r/s from the frequency data and pulses/revolution setting.
Rotation speed (r/s) = Frequency
÷
Pulses/revolution
• Rotation Speed Units = r/hr (CJM1 CPU Unit Ver. 3.0 or later only)
When the second digit of C1 (
@
) is 2, PRV2(883) calculates the rotation
speed in r/hr from the frequency data and pulses/revolution setting.
Rotation speed (r/hr) = (Frequency
÷
Pulses/revolution)
×
60
×
60
Range of Conversion Results
• Counter input method: Any method besides 4
×
differential phase mode
Conversion result = 00000000 to 000186A0 hex (0 to 100,000)
(If a frequency higher than 100 kHz has been input, the output will re-
main at the maximum value of 000186A0 hex.)
Auxiliary Bit Area
---
A000 to A959
A448 to A958
Timer Area
---
T0000 to T4095
T0000 to T4094
Counter Area
---
C0000 to C4095
C0000 to C4094
DM Area
---
D00000 to D32767
D00000 to D32766
EM Area without bank
---
---
---
EM Area with bank
---
---
---
Indirect DM/EM
addresses in binary
---
@ D00000 to @
D32767
@ D00000 to @
D32767
Indirect DM/EM
addresses in BCD
---
*D00000 to
*D32767
*D00000 to
*D32767
Constants
See descrip-
tion of oper-
and.
---
---
Data Registers
---
DR00 to DR15
---
Index Registers
---
---
---
Indirect addressing
using Index Registers
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to
–2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area
C1
C2
D
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...