FSPT_Tech
Member
Can someone help with me create the correct logic that would display a countdown timer on a Panelview. I need to create a timing function that counts down fro a set time to zero and have it displayed on a panelview screen. The operator needs to be able to enter a certain time via the panelview (in hours, minutes and seconds), start the timer which will turn on the conveyor, then have the conveyor stop when the timer times out, and an output to notify that the sequence is complete.
I'm using a SLC 5/03 processor with a Panelview 600 touch screen. I've tried different ideas, including using several timers and even using the realtime clock as a timer but can't seem to correctly make the timer count down properly as well as display the values as they count down. It seems pretty easy to create a timer where the display counts up but creating one that counts down to zero, which also shows the seconds, minutes and hours, count down on the Panelview is giving me a hard time. I'm sure it is very easy but I need some help. If I could get a sample that I can download it would be great.
Thanks for your help.
I'm using a SLC 5/03 processor with a Panelview 600 touch screen. I've tried different ideas, including using several timers and even using the realtime clock as a timer but can't seem to correctly make the timer count down properly as well as display the values as they count down. It seems pretty easy to create a timer where the display counts up but creating one that counts down to zero, which also shows the seconds, minutes and hours, count down on the Panelview is giving me a hard time. I'm sure it is very easy but I need some help. If I could get a sample that I can download it would be great.
Thanks for your help.