Jump to content

Recommended Posts

Posted

Hi,

 

I have a system running a V570 that is programmed using visilogic 9.6.0.  Basically I am looking at pausing a timer. 

 

How I have the timer set right now is as follows:

 

MB1       TD1

-|  |--------(  )---

 

I would like it to pause whenever MB2 is true. 

For example, if TD1 is preset to 1 hour and it has been running so it only has 30 minutes left, I would like to toggle a pause button connected to MB2 to stop the timer.  When I toggle the pause button back, I would like the timer to continue counting down from the 30 minutes.

 

Is this as simple as this or do I need to store the current time when I pause and load it when I unpause?:

 

MB1     MB2      TD1

-|  |-------| / |-------(  )---

 

 

I know this is very easy to test but the PLC is currently in use and I will only have a brief window to download so I would like to get it right the first try.

 

Thanks.

Posted

Hi KAMANT,

In general, your logic is correct, but to pause the timer and continue from the current value you need to use TA timer, and not TD.

Anyway, I attached a part from Visilogic help file concerning the use of timers

Timers.pdf

  • Upvote 1

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.