Hi Guys, for some weird reason the PLC that we use to get all the data for Ignition keeps drifting off about a second every day or two.
What I figured was try to sync the gateway time to the PLC time manually so I created tags for day, month, hour, etc. using expression language. I also selected the write value back to PLC item, picked the currect OPC server and correct item path for each tag.
I made a scan class with a driven mode that basically one shot executed every time my minute tag hits zero. I used this scan class with my 5 time tags.
Am I missing something here? shouldn’t these tag values write back to the PLC clock bits once an hour on the zeroth minute?
I’m sure there are other tools that can be used but I figured I try to get it done through the designer so I can have my PLC clock and gateway clocked synced.
using 7.8.2 Ignition PLC is AB Logix 5572