Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: fluidpowerman on July 22, 2015, 12:36:56 PM
-
I was wondering if anyone could point me in the right direction or might know of a sample program for entering a clock function. For example with a microwave where I want to pop some popcorn, I would enter 3 min and 30 seconds, press start and and after 3:30 "ding" the popcorn is ready. I am using a do more with a C-more HMI. it would be nice to enter say 5915 on the hmi which would represent 59 minutes and 15 seconds. Any input would be greatly appreciated.
Thank you
Bryan
-
Moved this up. Think it will get more discussion here.
-
Thanks
-
How about this
-
Part of the charm of math boxes is that you can do a big expression in one shot, so you could do "MATH D4 (D0 * 60000) + (D1 * 1000)" and cut several rungs. I'd probably have them enter a single number like 5915, and split it into minutes and seconds in Do-More before doing the multiplying. For display, convert it into a string and insert the colon.
-
Thank you! I will work with this! Gentlemen, I really appreciate you taking time to respond. :)