News:

  • June 09, 2026, 10:17:24 AM

Login with username, password and session length

Author Topic: Timer in count down mode  (Read 9953 times)

J Butler

  • Newbie
  • *
  • Posts: 1
Timer in count down mode
« on: July 07, 2011, 12:12:54 PM »
Working on a small project that the user would like to see the timer numbers on a touch panel counting down instead of up as normal.  Something like "Minutes left"...

Has anyone run across this requirement?

Regards

PLCGuy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 677
Re: Timer in count down mode
« Reply #1 on: July 07, 2011, 12:16:40 PM »
Yes I do. I used a counter tied to the one second bit, SP4. When the oven is warming up it counts up, cooling down it counts down. You will have to do some math to convert to minutes and seconds. I used a POP command to do this. If you need more info let me know. Load you counter memory in the accumulator, div by 60 pop out the value and do the math again. Try to figure it out.