Library for SNTP Server Functionality in SIMATIC S7 CPUs (LSNTP)
In this entry we provide you with library blocks for all current SIMATIC S7 CPUs, which map the functionality of an SNTP server.
The following sample configuration shows a possible use, for example, of an S7-1200 CPU as SNTP server in an automation cell.
- Receipt and analysis of an NTP request from a client.
- Creation and sending of an SNTP message to the requesting client.
For S7-1200 the library is valid for CPU firmware versions up to 3.x and 4.1.3 and higher.
V3.0.0 for TIA Portal V14
Documentation V3.0.0 (1,5 MB)
Library "LSNTP" V3.0.0 for TIA Portal V14 (446,4 KB)
Example project V3.0.0 for TIA Portal V14 (1,2 MB)
- Replacement of internal data type "TCON_Param" with "TCON_IP_V4" in "LSNTP_Server" for S7-1200/1500
- Correction of the calculation of the fractional part of a second
Time synchronization, time leveling, NTP server