NTP service for Siemens S7-1500

Topics about the Software of Revolution Pi
Post Reply
hikaru2001
Posts: 38
Joined: 18 Feb 2019, 04:13
Answers: 0

NTP service for Siemens S7-1500

Post by hikaru2001 »

Hello,

I have successfully set RevPi core3 as NTP server and my PC can get the time from RevPi. However my S7-1500 can't synchronize the time with RevPi. What's wrong with my configuration?
Attachments
a.png
a.png (106.66 KiB) Viewed 1800 times
u.biakoup
KUNBUS
Posts: 182
Joined: 14 Apr 2022, 13:04
Answers: 2

Re: NTP service for Siemens S7-1500

Post by u.biakoup »

Hello,
Please, could you post here how you set up your REVPI CORE as NTP SERVER. This will help other User. This is the spirit we want to promote here.
Thank you.
u.biakoup
KUNBUS
Posts: 182
Joined: 14 Apr 2022, 13:04
Answers: 2

Re: NTP service for Siemens S7-1500

Post by u.biakoup »

Hello,
you can create Wireshark trace.

Instruction here: https://kunbus-gmbh.atlassian.net/servi ... -408856663
Best Regards

Ulrich Kouatang Biakoup | Technical Support
hikaru2001
Posts: 38
Joined: 18 Feb 2019, 04:13
Answers: 0

Re: NTP service for Siemens S7-1500

Post by hikaru2001 »

Hi,

1. Install NTP server
"sudo apt-get install ntp"
2. Configure NTP server
"sudo nano /etc/ntp.conf"
Important part need to be modified in the file.
"
pool 0.debian.pool.ntp.org iburst #Standard time server from Internet
pool 1.debian.pool.ntp.org iburst
pool 2.debian.pool.ntp.org iburst
pool 3.debian.pool.ntp.org iburst

# If you want to provide time to your local subnet, change the next line.
# (Again, the address is an example only.)
##################################################
broadcast 192.168.20.255 #allowed local time client range, here is 192.168.20.1~192.168.20.254
##################################################
"
3. restart NTP server
"sudo service ntp restart"
4. Test
"ntpq -p"
If you have the similar feedback from the terminal, that means you are successful.
The IP address should be with *.
Attachments
Untitled.png
Untitled.png (30.81 KiB) Viewed 1582 times
u.biakoup
KUNBUS
Posts: 182
Joined: 14 Apr 2022, 13:04
Answers: 2

Re: NTP service for Siemens S7-1500

Post by u.biakoup »

Hello Hikaru 2021,
Thank you

Best Regards

Ulrich Kouatang Biakoup | Technical Support
Post Reply