Siemens SIMATIC S7-1500/ET 200MP System Manual page 280

Hide thumbs Also See for SIMATIC S7-1500/ET 200MP:
Table of Contents

Advertisement

NTP server for the CPU S7-1500
You can assign up to 4 NTP servers to a CPU S7-1500.
You have the following options to reset the IP addresses of the NTP servers:
• Configure IP addresses of the NTP servers in STEP 7.
• Set IP addresses of the NTP servers with the "T_CONFIG" instruction.
• Obtain IP addresses of the NTP servers via DHCP.
As of firmware version V2.9, the CPU can also obtain the NTP servers via DHCP. You can
find more information on the procedure and the DHCP communication protocol in the
Communication (https://support.industry.siemens.com/cs/ww/de/view/59192925/en)
function manual.
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 S7-1500 CPU in STEP 7.
2. Configure the time synchronization in the "Properties > General > Time" parameter group.
3. Set the "Set NTP server in the project" value at the "Time synchronization" parameter.
4. Enter the IP addresses of up to four NTP servers for "NTP Server 1" to "NTP 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. Enter the IP addresses of up to four NTP servers in a tag of the data type IF_CONF_NTP.
2. Connect the tag of the data type IF_CONF_NTP to the block parameter CONF_DATA of the
instruction T_CONFIG.
3. Call the T_CONFIG instruction in the user program.
Result: The CPU adopts the addresses of the NTP servers from the T_CONFIG instruction.
If necessary, you can change the addresses of the NTP servers several times with T_CONFIG.
Reference
For more information on time-of-day synchronization - time synchronization in automation,
refer to the following FAQ on the Internet
(https://support.industry.siemens.com/cs/de/en/view/86535497).
Automation system
System Manual, 01/2023, A5E03461182-AK
Commissioning
12.8 Time synchronization
279

Advertisement

Table of Contents
loading

Table of Contents