Good day - I have been scratching my head on this for a while and everything I try seems way too complicated to be right. There must be a simpler way!
In a nutshell I am trying to count pulses received via a digital input. The pulses come at a rate of about 1 per second and I need to count about 2 weeks worth (machine runs 24/7) - works out to about 1209600 pulses. After that it can roll over to zero and start counting again (reset). My problem is that if I place a CNT box to count the pulses it will only go to 9999. I have tried placing two CNT boxes in the sequence and then adding the values, but i still cannot obtain a result in excess of 9999 (not to mention that this is a clumsy solution).
Any ideas will be most welcome.
With thanks,
Laurence