News:

  • August 15, 2026, 05:19:48 AM

Login with username, password and session length

Author Topic: TimeSync Not Working  (Read 10473 times)

JeffS

  • Hero Member
  • *****
  • Posts: 113
TimeSync Not Working
« on: September 17, 2019, 06:38:07 PM »
I just tried to use the TimeSync configuration in a Do-more setup I have.  One Do-more is the server the other is a client.  Update interval is 1 min.  I have sat and watched this but the time on the client Do-more never updates and the $TimeSynced never turns on.  Any thoughts to what I am missing?

Server:
IP - 10.52.19.0
Subnet - 255.255.252.0
Module - 1

Client:
IP 10.52.18.51
Subnet - 255.255.252.0
Module - 2

Thanks,
Jeff

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6170
  • Yes Pinky, Do-more will control the world!
Re: TimeSync Not Working
« Reply #1 on: September 17, 2019, 10:42:55 PM »
TimeSync uses broadcasts. Are both units on the same broadcast domain? Routers generally don't pass broadcasts, although switches generally do.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

JeffS

  • Hero Member
  • *****
  • Posts: 113
Re: TimeSync Not Working
« Reply #2 on: September 18, 2019, 09:32:19 AM »
This is a stand alone network with one switch between the Do-mores.  No routers involved.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6170
  • Yes Pinky, Do-more will control the world!
Re: TimeSync Not Working
« Reply #3 on: September 18, 2019, 09:55:51 AM »
There's really not a huge amount that can go wrong. As long as both units are in the same logical network and broadcasts are being passed, the unit set as server (or alternate) will broadcast a time packet (three times, five seconds apart) at the specified interval, and any unit currently acting as a client will set his time and set the synced flag. I just tested with a BRX as server and a 205 as client and it's working as expected.

You did write the sysconfig change to both PLCs, right?

The next step I would go to would be to get a Wireshark trace and make sure the sync packets are being sent.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

JeffS

  • Hero Member
  • *****
  • Posts: 113
Re: TimeSync Not Working
« Reply #4 on: September 18, 2019, 10:12:40 AM »
Did a Wireshark trace and these are the only broadcasts I see from any of the Do-mores.

I tried wiping the PLCs and re-writing the program just to make sure there wasn't some strangeness happening.
« Last Edit: September 18, 2019, 10:15:53 AM by JeffS »

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6170
  • Yes Pinky, Do-more will control the world!
Re: TimeSync Not Working
« Reply #5 on: September 18, 2019, 11:38:14 AM »
Those are all ARPs, and our broadcasts definitely don't show up as ARP. My money is on the switch blocking unknown broadcasts.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

JeffS

  • Hero Member
  • *****
  • Posts: 113
Re: TimeSync Not Working
« Reply #6 on: September 18, 2019, 11:39:04 AM »
You are correct, swapped out switches and now it is working.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6170
  • Yes Pinky, Do-more will control the world!
Re: TimeSync Not Working
« Reply #7 on: September 18, 2019, 11:43:33 AM »
You are correct, swapped out switches and now it is working.

Awesome!
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO