Clock Synchronization

anjan

Member
Join Date
Apr 2004
Posts
4
Is there an application that may run on a 2000 server with Many A/B PLCs on ethernet (SLC, Mlogix, PLC 5, ControlLogix) to set the clock directly in the PLCs. Or is there any sample code for VB? Thanks..
 
Using a TOP server to log data directly in InSQL. There is no HMI application in between.
 
How accurate do you need them all to be? For example, it could take several seconds to write all the PLCs -- so their times would differ by several seconds.

Do they need to be accurate to official US time? You can write code that gets the official US time (see http://www.time.gov).

It is easy to write a program to write a value, in this case time, to each PLC. Depending on the PLC you can write directly to each PLC's time memory storage, or wether you need to write to another location and then set a flag so PLC ladder logic reads the value and sets the time.
 
It does not need to be very accurate. Do you know of any suggested code? (VB?). Writing the clock values from an application to a IP based PLC.

Thanks..
 
Couldn't you use a scheduled job in the database to push NOW() through InSQL to each PLC?

Just a short SQL script for each PLC to take current time, format it properly, and push it to the PLC's. For Microsoft SQL Server, you can use the SQLServerAgent to schedule the jobs in the Database itself. Just use a daily schedule to push the times out.
 

Similar Topics

I want to keep wallclocktime roughly the same on 5 different controllers using factory talk alarms and events so the timestamps in the alarm log...
Replies
7
Views
7,622
Hello everyone, I'm doing a Building Automation with PLC Beckhoff BC9000. Being the PLC free of hardware real-time clock, after the boot of...
Replies
1
Views
1,860
Hi, I am working with a Micrologix 1400 and Panelview Component 600. I created a screen on the PVC that allows the user to select a time of the...
Replies
4
Views
2,876
We recently purchased a IC693CPU352 module and it appears the internal time clock is static. I can set the time and date but once set it does not...
Replies
5
Views
167
Hello. I cannot change the SendClock settings for a PROFINET IO device. I need to slow down the CODESYS PROFINET IO controller. What am I doing...
Replies
0
Views
196
Back
Top Bottom