AB CompactLogix Network - Clock Sync - Best Practice

Hello all,

We have several small-medium sized systems that we maintain that are mostly CompactLogix systems with some MicroLogix. Right now, these PLCs have their time set during commissioning and every DST the PLCs are touched to change the time....manually.

Going online with all of them and changing their time to allow the time based operations they perform to be accurate.

These PLCs are networked together and there are PCs that can access these PLCs as well. On the PCs is where like Logix softwares live, SCADA, etc.

Now that Rockwell has discouraged use of their Clock Update Tool, what is the best practice for setting these PLCs up to get their time setting from an external device? I had never used the Clock Update Tool, and I understand that you can still download it but it is not supported or maintained so I don't want to go that route.

Any guidance is appreciated. Thanks
 
The best thing to do is still.... to use the Clock Update Tool, or the successor functions of FactoryTalk Action Manager.

Most modern ControlLogix / CompactLogix support raw socket connections and there is a fairly well tested AOI for simple NTP Client, so you can choose that method as well if your controllers have access to an enterprise server that will provide or proxy NTP.

I deal with a lot of CompactLogix and PV+ systems that are air-gapped, so I don't have access to a time server or a PC that has accurate time and/or on which I can install the clock tool. My biggest customer seems to have a blind spot on the topic: they want the timestamps and logs on their PLC-controlled system to be accurate, but they refuse to cooperate with installing the software to make them be so. I can't use GPS because they don't have a view of the sky.

I've gone so far as to try to cobble together a WWVB radio clock receiver with a discrete output, but that's a whole other can of worms.
 
+1 for the Clock Update tool (but why have then not improved that thing yet. )

The new asset manager probably will have that someday - cause that how AB works now...delete the old working stuff and create a paid version that is the only one you can find (Ferret is another example)

You can have a master clock PLC and MSG to the Micrologic to set it's time - I would imagine you could MSG to the Compactlogix too but I've never done it.
 
Thanks for the responses. I just watched the video on FT Action Manager and it seems pretty straight forward to implement.

I had never even heard of that tool until today, but it seems like a good solution for networked systems. I'm going to give it a try on a test set up and hopefully it will be a solution that can be rolled out to some of the systems we manage.

If y'all have tried FT Action Manager and have any feedback feel free to share!
 
Rockwell has an AOI for NTP time synchronization to a NTP server on the network. If your CompactLogix models support sockets it works quite well. MicroLogix 1400 supports sockets so I suspect it could also read from a NTP server and have code to set the clock from the response.

ID: QA49644 | Access Levels: Everyone RSLogix/Studio 5000: AOI example for using sockets to read time from NTP or SNTP server

Another option might be to call one PLC a time master and use MSGs to periodically either write the time to other controllers or have other controllers read time from the master.

ID: IN17860 | Access Levels: TechConnect Logix platform: getting or setting the Processor Clock remotely

Paraphrased for those without access, to read from another controller:
MSG, CIP Generic, Service Code 3, Instance 1, Class 8b, Attribute 0, Source Length 4. Source is Tagname of 4 SINT array with values of 1,0,5,0 in [0] through [3]. Destination is Tagname of 20 INT array. Year down to uS will be two INT each starting at [3].

To write to another controller, differences from read:
Service Code 4, Source Length 32. Source is Tagname[1] of 20 INT array with values of 0,1,5 in [0] to [2], Year in [3], Month in [5], and so on to uS in [15] and maybe [16]. Destination is Tagname of 6 SINT array with no values noted.

Disclaimer: I haven’t done any time reading or writing among controllers myself. Use at your own risk and whatever other blah, blah applies. I recently started using the AOI on ControlLogix and 5069 CompactLogix and it has been great. Unfortunately, 1768 hardware doesn’t support sockets. I think sockets are supported on most 1769 except older L32E and L35E.
 
I now work in the power generation world and GPS use is common here. If you really want to go "all out" and get super precise and accurate time then buy a PTP enabled GPS unit. Contrologix will automatically sync to a PTP time server as the Grandmaster once you set the GPS to a higher priority. No AOI or App to mess with.

There are some industrial switch that can translate NTP to PTP for you as well, like some of the Stratix and Hirchmaan switch. In which case, you set the switch up as NTP client and enable PTP.
 

Similar Topics

We are trying to poll a compact logix into our scada system over a legacy serial radio network (MDS Transnet 900). When I say legacy serial...
5
Replies
964
Views
Good afternoon, I'm building a test station for temperature mapping that will log 12 data points to SQL via Open Automation Software. This station...
4
Replies
4,369
Views
Hello everyone, I'm using the following controllers in RSLogix5000 version 30: 1769-L33ER 1769-L30ER They are sending data between each other...
12
Replies
4,103
Views
I have an SM3000 on the same network with a few compactlogix plcs. One of the issues with the SM3000 is that it periodically loses its ethernet...
1
Replies
2,164
Views
Good Morning , I have a CompactLogix L18 on my desk that I would like to mimic other CompactLogix L18's thruout the plant to , try concepts...
3
Replies
4,995
Views
Top