I have a puzzle that how to automatically synchronize the time and date of several logic machines which connected with one PC (no internet connection), and PC is the time master.
Just like the function by clicking the "get from system" button that is in the "utilities / date and time" tab " but not manually, just automatically?
For example, this function can be executed every day or every week, automatically do synchronize time and date with the connected PC.
Thanks a lot for your time.
I have set the PC as NTP server according to the guideline from internet.
And I also modify LM NTP client setting to PC( NTP server ) IP.
After several days, I think no synchronization happens (almost 3 minutes ahead the PC)
Could you please take a look the picture if I have set it correctly?
Thanks a lot.
20.06.2023, 14:12 (This post was last modified: 20.06.2023, 14:18 by rw_echo.)
Admin, I also encountered the same issue. When my PC was used as the NTP clock master, the closed-loop test result was successfully configured. However, when I used the resident script to test LM's system time, it could not synchronize with the PC. I still need your further guidance. Thank you in advance.
(21.06.2023, 12:55)admin Wrote: Looks correct. What settings do you have in System config > Services > NTP client/server? Which LM firmware is installed?
You need to set the LocalClockDispersion parameter to 0 in Windows. The default value is 10 which is too big for the clock source to be considered precise. So the time from such NTP server is ignored by the NTP client.
I have set the LocalClockDispersion parameter to 0 in Windows(with regedit).
Then, I changed the clock of PC, for example, from 16:31 to 15:31.
10 minutes later, nothing happen, the LM5 still run the clock with itself pace.
What is the frequency of NTP synchronization? every munite or every hour?