Frequency meter in PLC

Favian

Member
Join Date
Aug 2005
Posts
17
Hello, Im trying to measure the frequency (Hz) of a fast input.
what Im doing now is copying the Acc Count twice a second apart and
subtracting. This seems to work but it takes 2 seconds to update the frequency value which may or maynot be ok. Is there a better way of doing this? thanks.
 
Why not try a converter. Companies like Endress and Hauser do digital to frequency signal converters where you get a 0-10V or 4-20mA signal to feed into your PLC.


So how fast a frequency are you talking about.
 
I assume you are trying to calculate a value that updates continuously. Create two registers, current_count and prev_count. Once every second, copy current_count to prev_count, move the accumulated value of the counter into current_count, and subtract prev_count from current_count to get the current freq.

If you do it this way, you'll be updating every second instead of every 2 seconds. If that still isn't fast enough, how about updating every 500ms and multiplying the result by 2?
 
Last edited:

Similar Topics

hello i am trying to set the max frequency for the drive via rslogix 5000, but do not see that patameter in the rslogix 5000 drive paramerts? the...
Replies
1
Views
298
Hello, please its possible to control flow rate using frequency mode of a flow meter ? if yes, how is it done for a PLC like Micrologix ? i...
Replies
10
Views
2,193
Do you folks know of any Motor Frequency Meters that have a 4-20 ma output ? I know a frequency drive would provide that need , but the customer...
Replies
10
Views
2,497
I need a frequency meter that can do the following Be able to hook directly to 0 to 120 VAC Able to measure from 0 to 120 Hz. Here are two...
Replies
9
Views
3,513
Hello guys, I am new to this forum and have some problems with my PowerFlex755 EENET frequency inverter. I want to do a point to point...
Replies
9
Views
378
Back
Top Bottom