Sun dial
Well apparently this was it :
"The reason that its not indexing is because of a little line of code I put in to try to ensure that the count C1 reset ay midnight. Unfortunatley it counts the pulses of Y2 not the movement.
So, in short, the count C1 is always equal to the hours without having to move.
However, I've taken this out now and replaced it with a different falling edge trigger from the 2400 sensor"
Simple eh.
Now get this - The GPS movement I bought in as a package, included gearbox (which was the worst ever machining I have had the pleasure to see), GPS box of tricks and receiver and a Chiming unit - oh and a speaker.
After re-making the gearbox it was just case of plug in and go. Now we were on a very tight lead time for this clock - hence the mess (customer pulled delivery forward 3 months after he placed the order and I am always up for a challenge), and so I never really listened to it striking.
Last night, sat in the back of the clock, freezing my nuts off, midnight came and -- no strike.
Am now told -
"I have had &%** (%$£"%% check out the chimer and you were correct it is chiming '0' at 12 midnight. If this is a problem he can email the files to you and if you can have access to a card reader it is simple to copy the additional files onto the removable card".
You can imagine my reply.
Sun dial sounds a good shout, especially as global warming increases - couldnt be anything to do with all the billions of PLC's on stand by could it !
Have a great day, I was serious when I said you have been a great help, it helped me put some structure into the tests so my man was able to solve the problem and I now know how and what a PLC is and does.
Bob