Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: russher on August 14, 2014, 12:21:18 PM

Title: Power-up Timer
Post by: russher on August 14, 2014, 12:21:18 PM
I am using a Do-More H2-DM1E CPU connected by Ethernet to a C-More EA9-T10CL. I want to have a timer in the Do-More that begins timing when the PLC is powered up and resets when the Do-More is powered down so it begins timing again on the next power up.
Any ideas of how to do this?
Title: Re: Power-up Timer
Post by: plcnut on August 14, 2014, 12:34:17 PM
Use MATH along with the values stored in SDT0 (Current time), SDT1 (Date and time of last power-down) and SDT2 (Date and time of last power-up).
Or you can put a timer on a rung with NOT ST0.
Title: Re: Power-up Timer
Post by: russher on August 14, 2014, 12:49:05 PM
A timer on a rung with NOT ST0 is simple and effective. Thanks!
Title: Re: Power-up Timer
Post by: plcnut on August 14, 2014, 01:00:05 PM
You're welcome.
Title: Re: Power-up Timer
Post by: Controls Guy on August 14, 2014, 07:51:46 PM
Yup, that's one difference between DL and Do-More.  You have to reset them if you want them to restart on prog-to-run transition (or I guess you could remove them from the retentive timer range).