Implementation of (S)NTP client and (S)NTP server is based on protocol version 4.
For (S)NTP server configuration add a new object “SNTP Server” under of the available “Ethernet interfaces (ETH1-ETHn)”.
For a PLC only one instance of an (S)NTP server is possible.
The following parameters are available:
Not all parameters are shown in the user interface by default.
It should not be necessary to change the default values of the hidden parameters for most of the applications.
It is possible to edit the default values in the generic device editor. To display the parameters, go to “Tools Options Device editor” and enable the option “Show generic device configuration view” .
Access control
|
Parameter |
Default |
Value |
Description |
|---|---|---|---|
|
Enable |
FALSE |
TRUE or FALSE |
Enables Access Control |
|
Network address |
0.0.0.0 |
Valid IP address |
Network address of allowed clients |
|
Subnet mask |
24 |
8 ... 32 |
Subnet mask of the network address |
The configuration of the (S)NTP protocol allows to restrict the IP address range which will be served by this (S)NTP server. By default, any request will be served with a reply. To restrict the requests to a specific subnet, the CIDR notation is used.
Example
-
Restrict access to the (S)NTP server to the subnet from 192.168.0.1 to 192.168.0.254 by CIDR notation 192.168.0.0/24.
Local server
|
Parameter |
Default |
Value |
Description |
|---|---|---|---|
|
Enable |
FALSE |
TRUE or FALSE |
This option enables the protocol to run as local server. That means without synchronization to an external time source. |
|
Stratum |
10 |
1 ... 15 |
Stratum of the server when it is used as local server |
|
Distance |
1 s |
0 … 3.403e+38 |
Distances in seconds of the server when it is used as local server |
|
Orphan |
FALSE |
TRUE or FALSE |
Enables or disables the orphan mode |
