EasyManua.ls Logo

Siemens SIMATIC S7-1200

Siemens SIMATIC S7-1200
1614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Communication
11.2 PROFINET
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
901
11.2.8.16
T_CONFIG
The T_CONFIG instruction can change the Ethernet address, the PROFINET device name,
or the IP addresses of the NTP servers for time-of-day synchronization from within the user
program. The following features can be adjusted permanently or temporarily:
IP address
Subnet mask
Router address
Station name
IP addresses of up to four NTP servers
Note
Located in the CPU "Properties", "Ethernet address" page, the
"IP address is set directly
at the device"
(Page 908) radio button allows you to change the IP address online or by
using the "T_CONFIG" instruction after the program is downloaded.
Located in the CPU "Properties", "Ethernet address" page, the
"PROFINET device name
is set directly at the device"
(Page 910) radio button allows you to change the PROFINET
device name online or by using the "T_CONFIG" instruction after the
program is
downloaded.
Located in the CPU "Properties", "Time synchronization" page, the
"Enable time
synchronization via NTP server"
(Page 911) box allows you to change the IP addresses
of up to four NTP servers.
Note
You cannot execute more than one T_CONFIG instruction at a time.
Note
Changes to the IP address or name of station of the CPU can be temporary or
permanent. Changes to the NT
P server IP addresses can only be temporary:
A permanent change indicates that the change is retentive, meaning that the change
persists through a power failure.
A temporary change indicates that the change is volatile and reverts to the original
value after a power loss.
Table 11- 43 T_CONFIG instruction
LAD / FBD
SCL
Description
"T_CONFIG_DB"(
Req:=_bool_in_,
Interface:=_uint_in_,
Conf_Data:=_variant_in_,
Done=>_bool_out_,
Busy=>_bool_out_,
Error=>_bool_out_,
Status=>_dword_out_,
Err_Loc=>_dword_out_);
Use the T_CONFIG instruction to change the IP
configuration parameters from your user program.
T_CONFIG works asynchronously. The execution
extends over multiple calls.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals