I would like to have 1 unit, can be a PC or PLC, which act as a NTP server.
Then I would like 1 PLC to receive the time from the first mentioned NTP server, so he will be configured as a NTP Client.
This second PLC should then also act as a NTP server to a network of PLC:s.
The last line of units will then act as NTP Clients to the second mentioned server.
I have tried using library AsARCfg and also only configured the settings on the CPU properties.
But as soon as both servers are active the clients wont receive the time from selected/second NTP Server.
I have tried to also Enable the DNS Service and configured default gateway with no success.
Is it possible to handle the NTP in this way or am I configuring something wrong?
I can post more pictures on my setup if the answer is that is it possible to handle the NTP in this way.
When using a hierarchy like this you need to set the servers to have hierarchical settings for the “Stratum of local clock” in the Time Synchronization settings.
The top level should have the lowest value and the value should increase as you go deeper in the hierarchy.
As an example using the numbering in your picture.
in addition to what the colleguages already mentioned:
what version of Automation Runtime you’re using? In general it should work but I can remember, that some time ago in AR there was an issue having server and client both activated. Unfortunately I can’t remember the exact version, but if you’re not using the latest AR, please update an check again.