Hello. You do have a few options for Time Sync for your devices on the same/accessible network.
Case#1 - One way of accomplishing what you are asking for is to set each Hardware's NTP server to the same source (eg. time.windows.com/time.nist.gov):
- Follow this Application Example to configure each PC's NTP server to the same source.
- Set your PLC's NTP client configuration:
- ***Some things to take in to consideration to successfully implement this:
- CPU and Router need to be in the same IP subnet
- CPU must be parameterized with a DNS server and a router
- On the router, the NTP traffic of the SMIATIC S7 station must be allowed to pass the firewall.
Another way is to use one of the hardware as a NTP Server to the remainder of the devices (aka NTP Clients). To accomplish this you can follow these steps:
- Case#2 - If setting one of your PCs as a NTP Server to the rest of the hardware then:
- Case#3 - If setting your PLC as the NTP Server then: