Syncing Multiple PLC Times

sparkie

Lifetime Supporting Member
Join Date
Nov 2014
Location
KS
Posts
1,148
We have several PLC's that are on our controls network (which is actually a pretty strong network). We have several issues that can be solved by syncing the time on our networked PLCs to our networks.

I noticed there is a logix time update utility, which would work for our CLX and above systems, but what about for our older SLC/MLX systems? Has anyone had experience with something like this as I havn't found much information on it.
 
1. In your SCADA have an event that writes SCADA TIME to each PLC. In code, write this value to the appropriate S:xx address;
OR
2. set up a MSG instruction to READ the wallclock time from a CLX then write this to the appropriate S:xx address
 
Okay, sounds good. Basically we have many, many systems (around 30) and 5 different scada systems. I want to sync them all to the same time. I'm setting up a rockwell VM on our servers to handle such things, but was curious if I would have to add the logic manually to each.
 
It has been my experience that the Clock Update Tool will work with SLC and Micrologix controllers. I have not used in in many years and I seem to recall that there are exceptions, but we used it with SLC 5/04 PLCs on the network via NET-ENI modules, Digi IAP modules and SLC 5/05 as well as Logix 5k controllers.
 
Can't you sync the PLCs directly to a time server (NTP server)?

I've done it like that a couple of time. One (or two) NTP servers and every computer that needs accurate time is synced directly to the NTP server (those computers with less accurate time needs are synced to the domain controller). Then all PLCs and other network devices like routers, firewalls, industrial printers etc are synced to the NTP servers.

Almost all devices today have NTP capability.
 
Last edited:
Actually, I can sync them directly to NTP servers, but I have not found any information on how to do that. I would actually prefer them to be synced to our NTP to match the rest of the computers in our facility.
 
Almost all devices today have NTP capability.

You would think that an industry-leading controller would have this feature, but none of Rockwell Automation's controllers do.

I can understand the risks involved in changing the controller time automatically, but since it can be done manually from the editing software, the clock must be technically capable of it.

The Logix 5000 Clock Update Tool is the way to go.
 
Rockwell has some sample code that will sync the time in a Logix based PLC with an NTP server assuming that the PLC in question supports sockets. It has worked particularly well for me combined with Rockwell's sample code for Daylight Savings Time.
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/493378
(Access Level: Everyone)
If you don't know which PLCs support sockets, basically it is newer CompactLogix hardware and ControlLogix network cards other than an ENBT.
 
Thanks on this one guys. Looks like the clock update tool can do this if I keep it running on a computer. Fortunately I have access to our servers, so it should not be an issue to keep it running 24/7/365
 

Similar Topics

Hello, I have been getting more and more requests for Real Time Clock (RTC) sensitive automation from my clients. I know that there is a Modbus...
Replies
13
Views
2,733
Dear Experts, I need a little help with a project that involves an Omron Vision used for quality control of cylindrical products (arranged in 2...
Replies
13
Views
4,021
I geared two axis in studio 5000. The drives are kinetix 5700. My question is that if starting actual position of two axis are same they both work...
Replies
3
Views
2,349
I have a project including two parallel conveyors carrying a wide material. There is no mechanical gearing. I have two powerflex 755 controlling...
Replies
11
Views
4,174
Hello All, I know this has been covered probably 100 times but I am having issues with syncing my PLC time with PV. I want PV to copy the time...
Replies
3
Views
1,882
Back
Top Bottom