SNTP Service SL Library Documentation¶
- Company
3S - Smart Software Solutions GmbH
- Title
SNTP Service SL
- Version
1.1.0.0
- Categories
Application|Utils
- Namespace
SNTP
- Author
3S - Smart Software Solutions GmbH
- Placeholder
SNTP_Service_SL
Description 1¶
The SNTP Library contains function blocks for easy implementation of SNTP client and server components on a CODESYS control. The function block SNTPGetUTCTime
can be used to request the UTC time of a SNTP/NTP server (SNTP V3, SNTP V4). The function block SNTPServer
can be used to build a simple SNTP server.
- Function blocks of the SNTP library:
Function block to request the time of a SNTP server: SNTPGetUTCTime (SNTP client).
Function block to provide the local server time: SNTPServer (SNTP server)
- The package contains following components:
Library
SNTPService
(Namespace: SNTP)Example project (SNTP client and server)
Help file (chm)
Product data sheet (English, German)
The package SNTPService
includes the library SNTPService
and the example project SNTPExample
. The application SNTPRequestExample
shows the usage of the function block SNTPGetUTCTime
. The application SNTPServerExample
shows how to use the function block SNTPServer
.
Application SNTPRequestExample¶
The application reads the current UTC time from a SNTP server and shows the result, the local time and the time difference in a visualization.

Visualization of the application SNTPRequestExample
Application SNTPServerExample¶
The application SNTPServerExample
starts a simple SNTP server on port 123.

Application ‘’SNTPServerExample``
Contents:¶
Indices and tables¶
- 1
- Based on SNTP Service SL.library, last modified 11.04.2023, 12:31:57. LibDoc 4.4.0.0-b.27The content file SNTP Service SL.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 11.04.2023, 12:32:00.