Host Engineering Forum

General Category => ECOMs and ECOM100s => Topic started by: clintonp on April 18, 2011, 01:22:49 PM

Title: SCADA System Time synchronization
Post by: clintonp on April 18, 2011, 01:22:49 PM
I have some DL06's with H0-ECOM100's that have to fetch and save the current time from an NTP timeserver -- that is, I have to update my PLC time based on polling an NTS-4000-GPS-R timerserver.  Does anybody do this?  I'm looking to get any code available to process an NTP time value.  Any advice on sending the request to the timeserver would be helpful, too! 

Paul in SE Wisconsin
Title: Re: SCADA System Time synchronization
Post by: Greg on May 07, 2011, 11:15:15 PM
clintonp, I believe you and I discussed this via e-mail. But it doesn't look like anyone here has done that. As I indicated in my e-mail to you, the ECOM100s don't natively support SNTP protocol. Of course, you could use RBE (which I think we also discussed) and just send the time data (not in SNTP protocol) to the PC and, for that matter, between PLCs (i.e. peer-to-peer ECOM).
Title: Re: SCADA System Time synchronization
Post by: clintonp on May 09, 2011, 08:41:04 AM
Our solution was a relatively simple VB application on a Windows PC on the SCADA network.  The app fetches the time from the timeserver, and distributes it to the PLCs.  If there were a demand for millisecond or better accuracy, our approach would not have worked.  We got lucky. 

Paul in SE Wisconsin