Hi, I seem to have a Control Logix routine that updates faster than expected. It contains a counter and is updated every second but after a minute it has more than 60 counts. Thanks.
How is the routine triggered ? Is it executed as part of a Periodic Task, or executed by a timer running in a different task ?
How many counts per minute have you observed ?
How do you measure that elapsed minute ?
If you're mixing incremental events like 1000-ms timers with absolute measurements like the value of the DateTime that's derived from the Controller System Time microsecond clock, they aren't going to be perfectly synchronized.