![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268915.webp)
876
High-speed Counter/Pulse Output Instructions
Section 3-21
Ladder Symbol
Variations
Applicable Program Areas
Operands
C1: Control Data
The function of PRV2(883) is determined by the control data, C1.
Note
The second digit of C (
@
) specifies the units and the third digit (
*
) specifies
the frequency calculation method.
C2: Pulses per 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
C1
C2
D
C1: Control data
C2: Pulses per 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
PRV2(883) function
0
@
*
0 hex
(See note.)
Converts frequency to rotation speed.
0001 hex
Converts counter PV to total number of revolutions.
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
Conversion result (Rightmost 4 digits)
Conversion result (Leftmost 4 digits)
Area
C1
C2
D
CIO Area
---
CIO 0000 to
CIO 6143
CIO 0000 to
CIO 6142
Work Area
---
W000 to W511
W000 to W510
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...