PLUS+1 User Forum

PLUS+1 Hardware => Controllers => Topic started by: MimmoA on March 31, 2014, 05:24:16 PM

Title: Freq to RPM
Post by: MimmoA on March 31, 2014, 05:24:16 PM
Hello,
could anyone give me some advice on how to make the most Freq to RPM block ? I connected a speed sensor on multifunction pin 26 but always has a delay in the return to the value 0. it is due to the fact that when you lock the shaft position sensor is not changing state leave the last stored value?
I have used freq input and pinconfig1=2.
best regards
Title: Re: Freq to RPM
Post by: bgtwuk on April 02, 2014, 06:18:48 PM
I would use the Function Block....Freq/Rpm.



Works great...

Bgtwuk
Title: Re: Freq to RPM
Post by: oiltronic on April 05, 2014, 07:38:36 PM
... always has a delay in the return to the value 0. it is due to the fact that when you lock the shaft position sensor is not changing state leave the last stored value?

Given that this block allows integer frequency values down to zero, and given that the API spec for frequency doesn't specify a lower range, I would say that your guess is correct.  It makes sense that the input frequency will continue to decrease until no input pulses are seen for a full second or two (depending on rounding).

I often use timers and/or limits to help speed calculations maintain their sanity.
Title: Re: Freq to RPM
Post by: BRIan on April 07, 2014, 12:22:49 AM
If you need to use decimal frequencies, you can calculate these by using the PER signal