mr_lee

Need some help with speed readout

2 posts in this topic

I'm new to programming were putting a old 503 plc we got on a press it has boxes running on belts. Would like to put a photo eye to count the boxes and some how turn that into boxes per minute on a panel view. Any help would be appreciated thanks.

Edited by mr_lee

Share this post


Link to post
Share on other sites

Set up a timer that resets every time the photo eye goes true (use a one shot)

Store the elapsed time in seconds. That value will be X in units of seconds per box 

1/X = boxes per second. Multiply by 60 and you have boxes per minute.  

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