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.1 for TIA Portal V14 and higher
Documentation (1,5 MB)
Library "LSNTP" for TIA Portal V15 (535,5 KB)
Library "LSNTP" for TIA Portal V14 (505,0 KB)
Example project for TIA Portal V15 (1,2 MB)
Example project for TIA Portal V14 (1,3 MB)
- Upgrade to TIA Portal V15
- Correction of the calculation of the reference timestamp if the date at "lastTimeSet" is before 1990
Time synchronization, time leveling, NTP server