Sign in to follow this  
Followers 0
smario

Calculate RPM using a prox. sensor

8 posts in this topic

I have one proximity sensor which can generate 6 pulse per revision. How can I calculate the RPM? Is PRV2 function available for sensors or only for encoders use? Can me help someone? My PLC is OMRON CP1L-M30DR Thank You in advance Mario

Share this post


Link to post
Share on other sites
PRV2 function work for proximity sensors?

Share this post


Link to post
Share on other sites
Encoder or sensor, the PLC doesn't make the difference

Share this post


Link to post
Share on other sites
i use PRV2 function but the speed rotation don't display a constant (sped rotation oscillating)

Share this post


Link to post
Share on other sites
Check the parameters you have entered in the C1 control word and your pulses/rev in C2. You have not specified the max/min rpm of your 6 pulse per revolution sensor. If it is running slow then you will get large variations in speed if you have the incorrect Pulse frequency calculation method set wrong. Third digit in C1 control word. My guess for your application would be to set C1 to #0030 and C2 for #0006. Don't forget the '#' otherwise you will get totally screwed up data.

Share this post


Link to post
Share on other sites
for C1 i use #0000 (Standard calculation method), and for C2 #0006 but still oscillating Edited by smario

Share this post


Link to post
Share on other sites
Have you tried other settings for C1? Have you configured "Built-In Input" PLC settings correctly for your Sensor Input. Should be "Use Counter [60Hz]", "Linear Mode", Software Reset", "Increment pusle input" [Don't forget to power down and power up PLC after changing them]? What IS the RPM range of the shaft? Other things to consider:- Switching frequency of proximity switch. Are you operating the proximity switch outside its switching frequency [a very common mistake]? If the RPM is slow and/or the duty cycle of the pulses is not consistent [all 6 pulses should be about the same] then you WILL se fluctuation. In that case you will need to create an average speed over a longer sampling time to smooth out the result.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0