Sign in to follow this  
Followers 0
haans

Counting on time

2 posts in this topic

Hello!

Anyone have tips for getting a precise count in seconds for the «on time» of a input?

water pump deliveres 20 l/min and input is feedback that its running.

ive been trying with %s4-6 and input in serial but not getting it precise

Somachine basic

Share this post


Link to post
Share on other sites

You will always get a drift in time when using a timer in any plc to do something like this. Either install a real flow switch in the field or if you have to use time the get a RTC (Real Time Clock) and deduct the times from starting to stopping off each other to be more precise

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