Jump to content
Sign in to follow this  
RicardoRSP

Timer countdown

Recommended Posts

Hi 

I got a contract to install a unitronic PLC recently and i'm loving this hardware, very easy in so many ways, but i got a question that i couldn't find the anwser on older topics.

Since i'm not at the site of the installed PLC, i can't really test the ladder code, so i'm trying to get everything ready to save time there. One thing that i couldn't find is, there is a way to see the timers countdown when the code are running with the PLC? Last time that i was there, i could just see when the timer activate, but couldn't find where i could look it's countdown.

Thanks all and sorry for the english, is not my main language.

Share this post


Link to post
Share on other sites

A timer tag has the following members:

Preset

Current

Out

 

 

The Out bit is what you used for telling if the timer has activated. Preset will give you the value that the timer is starting to count from, and the Current is the time left.

Preset - Current will give you the elapsed time.

 

You can attach a Timer Box element in the HMI to the timer in order to see Preset, Current or Elapsed

Share this post


Link to post
Share on other sites

Thanks for answering!

So, can i put something on the ladder code, while watching it on the run, so i can see the elapsed time? Like something to see the "current" property? Or i can only put that property on the HMI?

 

Share this post


Link to post
Share on other sites

Both.

Open up UniLogic and at the bottom you'll see a tab called "Timers".  When you're online with the unit you can click on one of the timer type tags you've defined and drill into it to see the preset as well as the current value.

If you have a screen open, you'll see something called "Timer" in the toolbox.  You can use the Timer Box object to drop something that will display timer information on the HMI.  What you see is totally configurable from the dropdowns in the object configuration-

image.png.c359f7e0bf04736d80bbed25f53ffee2.png 

I encourage you to make a test project in UniLogic and play around with it.

Joe T.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...