Siemens SIMATIC S7-1500 System Manual page 293

Drive controller
Hide thumbs Also See for SIMATIC S7-1500:
Table of Contents

Advertisement

Configuring IP addresses of the NTP servers in STEP 7
To configure the IP addresses of the NTP servers in STEP 7, follow these steps:
1. Select the CPU in STEP 7.
2. In the properties of the CPU, navigate to "Time of day" > "Time synchronization"> "NTP
mode".
3. For "Time synchronization:", select "Set NTP server in the project" from the drop-down list.
4. Enter the IP addresses of up to four NTP servers for "Server 1" to "Server 4".
5. Set the time interval of time queries for "Update interval". Set the update interval to between
10 s and 86400 s.
Setting the IP addresses of the NTP servers with the "T_CONFIG" instruction
Requirement:
• You selected the option "Set NTP server directly on the device (e.g. PLC program, display)"
in the "Time synchronization" drop-down list in STEP 7.
Proceed as follows to set the IP addresses of the NTP servers with the T_CONFIG instruction:
1. Save the IP addresses for the NTP servers in a tag of the data type IF_CONF_NTP.
2. Interconnect the tag of the data type IF_CONF_NTP at the block parameter CONF_DATA of
the T_CONFIG instruction.
3. Call the T_CONFIG instruction in the user program.
Result: The addresses of the NTP servers from the T_CONFIG instruction are transferred to the
CPU.
You can change the addresses of the NTP servers with T_CONFIG more than once if
necessary.
Additional information
For additional information on time-of-day synchronization - time synchronization, refer to the
following FAQ on the Internet
(https://support.industry.siemens.com/cs/de/en/view/86535497).
SIMATIC Drive Controller
System Manual, 11/2023, A5E46600094-AD
Commissioning
13.9 Time synchronization
291

Advertisement

Table of Contents
loading

Table of Contents