NTP001 <-> Siemens Automation PLC

Hello,

I have some kind of strange behaviour of a NTP001, which communicates with a few Siemens PLC S7-300 and S7-400. At first I have to say, that the time synchronisation with a Windows 10 is working. The messages from Windows are sometimes wrong (time synchronisation did not work but was successful), but the NTP telegrams are ok.

I made a wireshark capture an there I can see a pattern:

  1. request from Siemens PLC - time stamp from PLC included
  2. reply from NTP001 - time stamp from NTP001 included
  3. however time synchronisation did not work
  4. request from Siemens PLC - time stamp from PLC included
  5. reply from NTP001 - time stamp from PLC(!!!) included

These are the hex dump of the ntp telegrams - starting with the tag for internet protocol v4:

4500004c8c2e00001e117a94c0a80a49c0a80a45c004007b00388faee30004fa000100000001000000000000000000000000000000000000000000000000000000000000ed93439e7916872b

45b8004c2172400040118298c0a80a45c0a80a49007bc0040038b034240104ef000000000000004447505300ed93442d61a99b5aed93439e7916872bed934430b5b73047ed934430b5d5d5cf

4500004c8c3300001e117a8fc0a80a49c0a80a45c004007b003869cbe30004fa000100000001000000000000000000000000000000000000000000000000000000000000ed93439e7a1cac08

45b8004c2173400040118297c0a80a45c0a80a49007bc00400381396e40004fa0001000000010000524154450000000000000000ed93439e7a1cac08ed93439e7a1cac08ed93439e7a1cac08

Why the first correct telegram is ignored is also a question. But my question here is: why the NTP001 replies the time stamp from the PLC with the request time stamp? And had anyone the same issue with Siemens PLC?

thx

Greetings, @sersch ,

Sincerest apologies for a late response,

To investigate this further, we would appreciate if you could provide the following information:

  • Does the issue occur with all PLCs or only specific devices?
  • Is the PLC configured to use standard NTP or SNTP?
  • Does the issue persist after rebooting the NTP001?
  • Can you reproduce the issue after rebooting the NTP001?

As an additional test, if another NTP server is available, please verify whether the Siemens PLC synchronizes successfully with it. This will help determine whether the behavior is specific to the NTP001 implementation or related to the PLC configuration.

Once we receive the requested information, we will continue investigating the issue in greater detail.

Kind regards,
V.

Hello,

after a review of the wireshark captures we found the RATE signal in the answer of NTP001. This means that two requests from the same client are too close.

This behaviour can not be solved by rebooting the NTP001. And there is no option to switch off the blocking of fast requests. The PLC uses SNTP and there are no options to configure the ntp client.

So the NTP001 is not suitable for Siemens PLC S7-400. I don’t know if the NTP001 ist working with the new Siemens PLC S7-1500 series, but the S7-400 series is still active.

Our solution is to connect the NTP001 to a raspberry. There is Chrony installed which is working fine with Siemens PLC.

thx

Hello,

Thank you for sharing your insights and the workaround you implemented.

I have submitted a feature request to allow configuration of the request frequency. Our R&D team will review your suggestion, and I will get back to you with an update as soon as I receive their feedback.

All the best,
V.

Hello,

I have received an update from our R&D team.

At this time, the NTP001 does not support changing or disabling the NTP request rate.

To help us better understand your requirements, could you please provide more details about your use case? I will forward this information to our R&D team so they can evaluate the scope and intended use of this functionality. Your feedback may be taken into consideration for future firmware releases.

If this functionality is essential for your deployment, please note that we also offer the possibility of a custom development project tailored to your requirements.

Best regards,
V.

Hello,

I am only a user of Siemens S7-400. I can only switch on NTP client and set an IP-address. There is no documentation about the NTP client on S7-400. I have heard there is implemented a SNTP client but an AI-analysis of wireshark capture identifies the traffic as NTP protocol.

I don’t know why, but the wireshark capture shows after the first request of NTP client and correct reply from NTP001 there is a second request immediately after NTP001 reply. Maybe the time difference was too big and the second request was for verification of the NTP001 reply but this is only a guess and I have no background information.

best regards

C.