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
-
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?
-
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.
-
A timer on a rung with NOT ST0 is simple and effective. Thanks!
-
You're welcome.
-
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).