Commissioning
11.8 Time synchronization
Automation system
System Manual, 12/2017, A5E03461182-AE
247
NTP server for the CPU S7-1500
You can assign up to 4 NTP servers to a CPU S7-1500.
In STEP 7, you enable time synchronization using the NTP procedure. In STEP 7 you can
configure up to four NTP servers for the CPU S7-1500.
If you have enabled time synchronization via NTP for the CPU, then you can enter the IP
addresses of up to four NTP servers in the user program. For this, use the "T_CONFIG"
instruction.
Enabling time synchronization via NTP server
Proceed as follows to enable time synchronization via NTP server for the S7-1500 CPU:
1.
Navigate in the Inspector window to the properties of the CPU to "General" > "PROFINET
interface" > Time synchronization".
2.
Select the "Enable time synchronization via NTP server" option.
Configuring NTP server in STEP 7
To configure one or more NTP servers for the S7-1500 CPU, follow these steps:
1.
Navigate in the Inspector window to the properties of the CPU to "General" > "PROFINET
interface" > Time synchronization".
2.
Enter the IP addresses of up to 4 NTP servers at the parameters "Server 1" to "Server 4".
3.
Set the time interval of the time queries at the parameter "Update interval". Set the
update interval to between 10 s and 86400 s.
Changing the IP addresses of the NTP servers with the "T_CONFIG" instruction
Requirement:
Before using the application you have to specify to the hardware configuration that the IP
address is assigned via the user program:
1.
For this purpose, open the properties of the PROFINET interface in the device view.
2.
Activate the following option in the dialog "Time synchronization": Select "Enable time
synchronization via NTP server" and specify the IP address of at least one NTP server.
T_CONFIG instruction:
Store the IP addresses for NTP time synchronization at the parameter CONF_DATA in the
system data type IF_CONF_NTP.
Reference
For additional information on time-of-day synchronization - time synchronization, refer to the
following FAQ on the Internet
Содержание Simatic S7-1500/ET 200MP
Страница 1: ......