Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Saturn_Europa1 on November 23, 2026, 08:34:48 AM
-
I am setting up hour meter counters on some Do-more PLCs using the Increment and the UDC on Direct Soft PLCs. I was wondering if these counters hit the upper limit of their range will the PLC go into a major fault or if it will just show an Overflow or roll back to 0?
-
Do-more, INC instruction on signed 2's complement D will go from 2,147,483,647 hours (over 245,000 years) to -2,147,483,648 (0x7FFFFFFF to 0x80000000).
Not sure about behavior of UDC in DirectLOGIC, which utilizes a 32 bit BCD counter. So it can go up to 99,999,999 hours BCD, so after 11,000 years.
Remember to use Retentive Memory and to replace the battery at the recommended intervals.
:-D
-
Thanks! I faulted out a Compact Logix a few years ago by entering a number larger than the instruction could take. It shut down production for hours.
Then an operator accidently put in a negative number on a different Compact Logix and it faulted that PLC. Just wanted to double check!