Jump to content

Recommended Posts

Posted

Which is the most precise method, how do measure time between two events? I have a device with analog output. I need to measure the time between, when the analong input to m91 is greater than 0 and when it reaches to maximum AI value. It is a force sensor. 

Is there a way to store timer elapsed time value in a mi? It seems I can display it on HMI, but it is not somewhere in the memory?

The example under help uses 1 sec pulse, but it is way to long time.

 

Best regards

Posted

Hi Tempo,

There are several ways to measure the interval between two events. One of them is actually what you suggested, hence storing the timer current time into a variable.

The attached application demonstrates how you can do that (with several other features).

 

This application was taken from the U90Ladder sample projects folder. There are several other timed based applications, so you can check what method is better for you.

If something still isn't clear, please let me know.

Timer values Store and Load.U90

  • Upvote 1
Posted

Thanks for Your fast reply. The example helped me!

Hi Tempo,

There are several ways to measure the interval between two events. One of them is actually what you suggested, hence storing the timer current time into a variable.

The attached application demonstrates how you can do that (with several other features).

 

This application was taken from the U90Ladder sample projects folder. There are several other timed based applications, so you can check what method is better for you.

If something still isn't clear, please let me know.

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
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.