Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 916

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

High-speed Counter/Pulse Output Instructions
Description
Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
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)
If C1 is 0@*0 hex, PRV2(883) calculates the rotation speed (r/min) from the
frequency data and pulses/revolution setting. The second digit of C (@) speci-
fies the units and the third digit (*) specifies the frequency calculation method.
1. Rotation Speed Units
• Rotation Speed Units = r/min
When the second digit of C (@) is 0, PRV2(883) calculates the rotation
speed in r/min from the frequency data and pulses/revolution setting.
Rotation speed (r/min) = (Frequency
• Rotation Speed Units = r/s (CJM1 CPU Unit Ver. 3.0 or later only)
When the second digit of C (@) is 1, PRV2(883) calculates the rotation
speed in r/s from the frequency data and pulses/revolution setting.
Rotation speed (r/s) = Frequency
• Rotation Speed Units = r/h (CJM1 CPU Unit Ver. 3.0 or later only)
When the second digit of C (@) is 2, PRV2(883) calculates the rotation
speed in r/h from the frequency data and pulses/revolution setting.
Rotation speed (r/h) = (Frequency
• Range of Conversion Results
• Counter input method: Any method besides 4 differential phase mode
Conversion result = 00000000 to 000186A0 hex (0 to 100,000)
C1
C2
---
H000 to H511
---
A448 to A959
---
T0000 to T4095
---
C0000 to C4095
---
D00000 to D32767
---
---
---
---
---
@ D00000 to @
D32767
---
*D00000 to
*D32767
See descrip-
---
tion of oper-
and.
---
---
---
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to
–2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Pulses/revolution)
Pulses/revolution
Pulses/revolution)
Section 3-21
D
H000 to H510
A448 to A958
T0000 to T4094
C0000 to C4094
D00000 to D32766
---
---
@ D00000 to @
D32767
*D00000 to
*D32767
---
---
---
60
60
60
877

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents