JeremyAdair87
Member
I'm using a GSV to get the time from a Contrologix plc.
I noticed duplicate data in my SQL database.
We calculate a Julian date from the PLC clock for dates in a barcode and those clock dates got reset somehow. The timestamp(from SQL) of the reset was within minutes of a download I did to the line.
Can a download affect the PLC clock?
I know I did an upload seconds before I made a small servo config change, and redownloaded... but that does not explain why the PLC clock would change.
I fixed it using the Clock tool and am considering putting it in the startup of our local server. I didn't actually change code to fix this problem. The clock tool put the code back on track.
Thanks for any help.
P.S. I know PLC clocks are inaccurate. We use it for days not seconds. I am fully aware of many pitfalls involving PLC clocks... except of course for this one.
I noticed duplicate data in my SQL database.
We calculate a Julian date from the PLC clock for dates in a barcode and those clock dates got reset somehow. The timestamp(from SQL) of the reset was within minutes of a download I did to the line.
Can a download affect the PLC clock?
I know I did an upload seconds before I made a small servo config change, and redownloaded... but that does not explain why the PLC clock would change.
I fixed it using the Clock tool and am considering putting it in the startup of our local server. I didn't actually change code to fix this problem. The clock tool put the code back on track.
Thanks for any help.
P.S. I know PLC clocks are inaccurate. We use it for days not seconds. I am fully aware of many pitfalls involving PLC clocks... except of course for this one.