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

Title: Do More and Cmore Clock input example
Post 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
Title: Re: Do More and Cmore Clock input example
Post by: BobO on July 22, 2015, 01:15:32 PM
Moved this up. Think it will get more discussion here.
Title: Re: Do More and Cmore Clock input example
Post by: fluidpowerman on July 22, 2015, 01:22:04 PM
Thanks
Title: Re: Do More and Cmore Clock input example
Post by: davidbgtx on July 22, 2015, 02:36:02 PM
How about this
Title: Re: Do More and Cmore Clock input example
Post by: Controls Guy on July 22, 2015, 03:14:18 PM
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.
Title: Re: Do More and Cmore Clock input example
Post by: fluidpowerman on July 22, 2015, 04:43:03 PM
Thank you!  I will work with this!  Gentlemen, I really appreciate you taking time to respond.  :)