Siemens SIMATIC ET 200SP System Manual page 224

Distributed i/o system
Hide thumbs Also See for SIMATIC ET 200SP:
Table of Contents

Advertisement

Changing the IP address of an NTP server in the user program
Automation task
You change the NTP server in your network. The new NTP server has the address
"192.168.1.10".
You want to change the IP address of the NTP server with which your ET 200SP CPU
synchronizes via the user program.
The example shows how you change the IP address of the NTP server to "192.168.1.10"via
the user program with the instruction "T_CONFIG".
Conditions and parameters
Requirements:
● You have enabled the option "Enable time synchronization via NTP server" for your CPU
in STEP 7.
● You have configured the following NTP servers in STEP 7: Server 1 "192.168.1.15"
To change the IP addressed for NTP servers, use the following block parameter of the
"T_CONFIG" instruction:
● Req: A positive edge at the block parameter "Req" starts a job of the "T_CONFIG"
instruction.
● Interface: Enter the hardware identifier of the PROFINET interface 1 of the CPU at the
"Interface" block parameter. In this example, the HW ID is "64".
● Conf_Data: Area in which you save the IP addresses of the NTP server. Use the data
type "IF_CONF_NTP" for this purpose.
Distributed I/O system
System Manual, 09/2019, A5E03576849-AJ
Commissioning
11.10 Time synchronization
223

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents