![background image](http://html1.mh-extra.com/html/omron/cp1l-12-2007/cp1l-12-2007_operation-manual_742083207.webp)
174
High-speed Counters
Section 5-1
When the High-speed Counter Gate Bit is turned OFF again, the high-speed
counter will resume counting and the counter PV will be refreshed.
Restrictions
• The Gate Bit will be disabled if the high-speed counter's reset method is
set to Phase-Z Software reset and the Reset Bit is ON (waiting
for the phase-Z input to reset the counter PV.)
High-speed Counter Frequency Measurement
This function measures the frequency of the high-speed counter (input
pulses.)
The input pulse frequency can be read by executing the PRV(881) instruction.
The measured frequency is output in 8-digit hexadecimal and expressed in
Hz. The frequency measurement function can be used with high-speed
counter 0 only.
The frequency can be measured while a high-speed counter 0 comparison
operation is in progress. Frequency measurement can be performed at the
same time as functions such as the high-speed counter and pulse output with-
out affecting the performance of those functions.
Procedure
1,2,3...
1.
High-speed Counter Enable/Disable Setting (Required)
Select the
Use high speed counter 0
Option in the PLC Setup.
2.
Pulse Input Mode Setting (Required)
Set the High-speed Counter 0 Pulse Input Mode (
Input Setting
) in the PLC
Setup.
3.
Counting Mode Setting (Required)
Set the High-speed Counter 0
Counting Mode
in the PLC Setup.
If ring mode counting is selected, set the High-speed Counter 0
Circular
Max. Count
(max. ring count) in the PLC Setup.
4.
Reset Method Setting (Required)
Set the High-speed Counter 0 Reset Method in the PLC Setup.
5.
PRV(881) Instruction Execution (Required)
N: Specify the high-speed counter number. (High-speed counter 0: 0010)
C: 0003 (Read frequency)
D: Destination word for frequency data
Restrictions
• The frequency measurement function can be used with high-speed
counter 0 only.
Specifications
Item
Specifications
Number of frequency
measurement inputs
1 input (high-speed counter 0 only)
Frequency measurement
range
High-speed counter 0:
Differential phase inputs: 0 to 50 kHz
(J models: 0 to 10 kHz)
All other input modes: 0 to 100 kHz
(J models: 0 to 20 kHz)
Note:
If the frequency exceeds the maximum value, the
maximum value will be stored.
Measurement method
Execution of the PRV(881) instruction
Output data range
Units: Hz
Range:
Differential phase input: 0000 0000 to 0003 0D40 hex
(Y models: 0000 0000 to 0007 A120 hex)
All other input modes: 0000 0000 to 0001 86A0 hex
(Y models: 0000 0000 to 000F 4240 hex)
Содержание CP1L - 12-2007
Страница 3: ...iv...
Страница 9: ...x...
Страница 13: ...xiv TABLE OF CONTENTS...
Страница 21: ...xxii...
Страница 33: ...xxxiv Conformance to EC Directives 6...
Страница 65: ...32 Function Blocks Section 1 5...
Страница 428: ...395 Clock Section 6 9...
Страница 429: ...396 Clock Section 6 9...
Страница 523: ...488 Troubleshooting Unit Errors Section 9 4...
Страница 531: ...496 Replacing User serviceable Parts Section 10 2...
Страница 563: ...528 Auxiliary Area Allocations by Function Appendix C...
Страница 611: ...576 Auxiliary Area Allocations by Address Appendix D...
Страница 638: ...603 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 639: ...604 Connections to Serial Communications Option Boards Appendix F...
Страница 669: ...634 Index...
Страница 671: ...636 Revision History...