Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 23, 2012, 08:22:22 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Host Engineering Forum
>
General Category
>
General Discussion
>
Timer in count down mode
Pages: [
1
]
« previous
next »
Print
Author
Topic: Timer in count down mode (Read 320 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
Logged
PLCGuy
Internal Dev
Posts: 334
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.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> MX Technology Preview
=> General Discussion
=> CTRIO
=> DirectSOFT
=> DNLoader
=> DSData
=> EBCs and EBC100s
=> ECOMs and ECOM100s
=> EDRV
=> ERM
=> Ethernet SDK
=> MB-GATEWAY
=> NetEdit
=> Profibus
=> WinPLC
Loading...