I try to update the time via NTP on my X90CP174.48 ,but it failed every time.
If I remove the NTP setting, I can update time manually.
I sniff the wire to check that everything is communicated.
I see the controller asking of time update, the NTP server respond, but the time is not updated on the PLC.
The logger is empty and I can find any log or status of the NTP synchronization.
Any hint on how to check why the NTP is not working…
Thanks,
Did you define the NTP-server with an IP-address or url?
For an url, also DNS has to be activated.
Since I don’t want to play with DNS, I put the IP address.
I put a local NTP server under my control and the source of the NTP server that is a local source ( internet NTP sources are blocked). That explains why I’m able to capture the exchange between the X90 and the server.
Also the bolt server has been tested and work properly.
I still can find any log on the X90 to see why it failed to sync.
Hi,
how is the stratum setting of your NTP server?
Maybe the PLC doesn’t accept the servers time because of stratum number is too high?
Please see here the corresponding thread:
Best regards!
Ok i figure it out, it seem that all traffic around the NTP protocol si block since the NTP source is unrelayable the server never come with a “Sync” status.
I can figure it out hwo to find a reliable time source…
Maybe GPS ou cellulaire network.
You could also take a look at B&R Secure Remote Maintenance solution:
In the SiteManager a NTP Relay agent can be activated, which then can be used by the PLC NTP-client connected to the DEV-port.
It could be a better ideal to explain how to make the controller a reliable source off NTP and sync everything on it.
If it drifts everybody drifts the same time.