Overview
Replacing the IP addresses of a deployed Siemens SIMATIC S7-1200 CPU (for example, a CPU 1215C such as 6ES7215-1AG40-0XB0) and a KTP900 HMI panel without the original TIA Portal project is a routine field task. It occurs whenever a working machine is migrated into a wider industrial network, the original integrator is no longer available, or the engineer on-site only has the compiled runtime on the HMI and not the source project. The challenge is two-fold: the IP of the PLC must be reassigned, and the connection that the HMI uses to reach the PLC (stored inside the compiled HMI project) must be redirected to the new PLC IP.
This guide consolidates the four practical methods used in the field:
- Service and Commissioning menu on the KTP panel (firmware 13.0.1 or later).
- PRONETA network tool from Siemens.
-
T_CONFIGinstruction inside the S7-1200 user program. - SIMATIC Automation Tool for batch IP changes across many stations.
The methods are complementary; the correct choice depends on the firmware version, whether the original TIA Portal project is available, and whether the engineer is present physically at the cabinet or working remotely over a VPN link.
Prerequisites
| Item | Required value / version | Notes |
|---|---|---|
| CPU 1215C firmware | V4.x (TIA V13 SP1 compatible) or newer | PROFINET interface on-board; IP is set "directly at the device" |
| KTP900 firmware | V13.0.1 or newer for Edit Connections feature | Older panels expose only the loader |
| TIA Portal | V13 SP1 / V14 / V15 / V16 / V17 matching panel firmware | Cross-version project must be uploaded online |
| Ethernet cable | CAT5e or better, point-to-point or switch | Direct cable between PG and CPU is supported |
| PG/PC IP in same subnet | e.g. 192.168.0.100 / 255.255.255.0 | Must be reachable to existing PLC IP before change |
| Siemens PRONETA | V3.x or newer | Free download from Siemens support |
| Original or backup project (optional) | .ap13 / .ap14 / .ap15 / .ap16 / .ap17 | If present, edit connection in TIA Portal |
Method 1 - Service and Commissioning Menu on the KTP900
This is the only method that allows both the panel IP and the connection target (PLC IP) to be changed directly from the panel touch screen, without the original TIA Portal project and without uploading any project from the HMI. It was introduced on the second-generation Basic Panels (KTP400, KTP700, KTP900, KTP1200) at firmware V13.0.1 and is the path the original poster ultimately used.
Step 1 - Change the PLC IP first
Before touching the HMI, change the PLC IP. The PLC must be reachable during the next step when the HMI is told where to find it. Either use:
- TIA Portal: Online > Accessible nodes > select CPU > Online & Diagnostics > Functions > Assign IP address.
- PRONETA: see Method 2.
-
T_CONFIG: see Method 3.
Confirm the new IP responds to a ping from the engineering station before continuing.
Step 2 - Power-cycle both devices
De-energize the S7-1200 and the KTP900 simultaneously and power them back on. The Service menu on the panel only appears during the boot sequence; once the runtime is up, the touch screen is fully occupied by the project.
Step 3 - Reach the Settings tab
On the KTP900 splash screen, the "Settings" button is visible only for a short window after power-up. Tap it before the runtime starts. Navigate:
- Settings > Service and Commissioning.
- Tap the "Edit connections" tab in the lower-left corner.
On older firmware, only the loader appears. In that case, fall back to Method 2 or restore the panel image with a known-good backup before proceeding.
Step 4 - Override and re-point the connection
The wizard shows the configured HMI connection(s). The three-step wizard is:
- Select the connection (HMI connection to the S7-1200).
- Set "Override" to ON. This forces the new value into the runtime configuration.
- Enter the new PLC IP, confirm subnet, and write to the panel.
Step 5 - Change the panel IP itself
From the same Service and Commissioning screen, change the KTP900's own IP address. With Override still active, write the change to flash. The panel reboots automatically with the new IP and the new PLC target.
Step 6 - Verification
After the panel returns to the project, the first screen should populate with live tags. If the data fields stay at "####" or "0", the connection has not been redirected correctly. Re-enter the wizard and re-check the Override state and the entered IP.
Method 2 - PRONETA Tool
PRONETA (PROFINET Network Analysis) is a free Windows utility from Siemens used to scan, analyze, and configure PROFINET networks. It is the recommended tool for any engineer who does not have the original project because it shows the live topology and the live IP of every device, including devices whose project configuration has been lost.
The official entry point and application example are documented at the Siemens Industry Online Support entry Application example 67460624 - Network analysis with PRONETA.
Procedure
- Install PRONETA on the engineering station. Set the PG/PC Ethernet adapter to the same subnet as the existing PLC IP.
- Start a network scan. PRONETA uses DCP (Discovery and Configuration Protocol) and lists every PROFINET device that responds, including its current IP, MAC, device name, and type.
- Right-click the S7-1200 CPU and select "Edit network parameters". Enter the new IP and subnet mask, click Save. The change is written to the CPU immediately.
- Right-click the KTP900 and assign its new IP the same way.
PRONETA also supports the IO Test function (against the CPU), flashing of LED identification, assignment of PROFINET device names, and topology discovery with port-to-port cable tracing on managed switches.
Method 3 - T_CONFIG Instruction in the S7-1200 User Program
The T_CONFIG instruction is a Siemens library block used inside the S7-1200 user program to write IP, subnet, PROFINET device name, and routing parameters to a PROFINET interface at runtime. It is appropriate when the PLC is the master in a redundant network or when the IP must change as part of an application workflow (for example, two identical machines that swap roles and need different IPs on a rotating schedule).
The TIA Portal reference for the instruction is in the SIMATIC S7-1200 Programmable Controller System Manual, communication section: Example - Using the T_CONFIG instruction to change IP parameters.
Hardware configuration prerequisite
In the CPU's Properties dialog under "Ethernet address", the IP assignment must be set to "IP address is set directly at the device". If the project still has "IP address is set in the project", the configuration download will overwrite any value T_CONFIG writes at runtime.
Block call (SCL example)
// T_CONFIG: change PROFINET interface IP at runtime
// Instance: "T_CONFIG_DB"
// IFACE_ID = local PROFINET interface (X1 = 0, X2 = 1 on CPUs that expose two ports)
"T_CONFIG_DB"(REQ := StartChange, // edge-triggered start
IFACE := "Local PROFINET interface_1",
CONF := "TADDR_Conf", // VARIANT pointing at a configured DATA block
DONE => DoneFlag,
BUSY => BusyFlag,
ERROR => ErrorFlag,
STATUS => StatusWord);
// TADDR_Conf describes interface ID, IP, subnet, gateway, name.
// See the TIA Portal help page for the exact UDT layout.
After a successful T_CONFIG write, the CPU resets the PROFINET interface and the new IP becomes active on the next connection. Plan a short pause (typically 3 to 10 seconds) in the application before the HMI attempts to reconnect.
T_CONFIG cannot re-point the HMI connection. It is the wrong tool for the case where the HMI still has the old PLC IP compiled into its runtime; you still need Method 1 (panel wizard) or a recompiled HMI project for that.Method 4 - SIMATIC Automation Tool
For larger plants with many S7-1200 / S7-1500 / ET 200 stations, the SIMATIC Automation Tool (SAT) replaces PRONETA. SAT can scan, change IP, change PROFINET name, set PG/PC routing, run firmware updates, and copy programs in batch from a single CSV-driven job. The installer is hosted on the Siemens Industry Online Support portal under entry 98161626 (SIMATIC Automation Tool).
SAT, like PRONETA, only updates the IP of the devices themselves. The HMI-side redirection is still the responsibility of the panel wizard or a TIA Portal project edit.
Choosing the Right Method
| Situation | Recommended path | Why |
|---|---|---|
| KTP900 firmware V13.0.1+, no TIA project, engineer on-site | Method 1 only | Single tool, edits both panel IP and connection target |
| Original TIA project available | TIA Portal: edit HMI connection, download to panel | Cleanest, preserves all other configuration |
| HMI is older, "Edit connections" missing | Method 2 (PRONETA) + replace or recompile panel | Old firmware does not support runtime override |
| PLC must change IP on its own (redundant pair, role swap) | Method 3 (T_CONFIG) | Application-driven, no engineer needed |
| Dozens of stations to re-IP | Method 4 (SAT) | CSV-driven, repeatable, audit trail |
| Wider subnet migration including gateways | Method 1 + Method 2 | Use PRONETA to scan and verify, panel wizard to re-point |
Recommended Procedure for the Common Migration Case
The migration case in the field report was:
- PLC: 192.168.0.2 -> 192.168.0.22
- HMI: 192.168.0.3 -> 192.168.0.23
- Set PG/PC to 192.168.0.100 / 255.255.255.0 and verify ping to 192.168.0.2 and 192.168.0.3.
- Run PRONETA, confirm both devices are visible and capture their MAC addresses for documentation.
- Change PLC IP to 192.168.0.22 via PRONETA or TIA Portal. Ping the new IP. Confirm the old IP no longer responds.
- Power-cycle both devices. On the KTP900, hit Settings during the boot splash, navigate to Service and Commissioning > Edit connections.
- In the connection wizard, switch Override to ON, set the connection target IP to 192.168.0.22, write to the panel.
- Change the panel IP to 192.168.0.23 in the same Service menu, write to flash.
- Wait for the panel to reboot into the project. Verify that live tags populate within 30 seconds.
- From the PG/PC at 192.168.0.100, ping both new IPs to confirm the network is reachable.
- Document the change in the plant IP register.
Verification Checklist
| Check | How | Pass criterion |
|---|---|---|
| PLC IP new value | PRONETA scan or TIA Online > Accessible nodes | Returns 192.168.0.22 |
| HMI IP new value | Loader > Control Panel > Network, or PRONETA | Returns 192.168.0.23 |
| HMI -> PLC connection | Watch the first screen after reboot | Live tags update; no "####" placeholders |
| PROFINET device name | PRONETA details pane or TIA Online | Matches original project name (e.g. "plc-line1") |
| Subnet mask and gateway | Loader / Service menu | 255.255.255.0; gateway if applicable |
| Diagnostics buffer | TIA Online > CPU diagnostics | No new PROFINET IO errors after the change |
| Cyclic IO (if PROFINET IO devices exist) | Watchdog or vendor diagnostic | Devices stay in cyclic data exchange |
| External visibility | Ping from the wider network | Both new IPs reachable across the plant router |
Troubleshooting Matrix
| Symptom | Likely cause | Resolution |
|---|---|---|
| HMI shows "Connection failed" or "####" after reboot | Override was OFF in Service menu, or wrong IP entered | Re-enter Service menu, switch Override ON, re-enter target IP, write to flash |
| Panel Settings button is not visible at boot | Panel firmware older than V13.0.1 | Replace panel image from a backup, or recompile from the original project |
| PRONETA does not see the devices | PG on different subnet, firewall blocking DCP/UDP 34964 | Set PG to same subnet; allow UDP 34964 on the PC firewall |
| PLC accepts new IP but HMI still sees old IP | HMI connection was never redirected | Apply Method 1 (Edit connections) on the panel |
| New IP responds to ping but HMI stays offline | Subnet mask or gateway mismatch | Compare subnet mask on HMI loader; reset gateway if it should be empty |
| Cyclic IO faults after IP change | PROFINET device name was reset | Reassign PROFINET name in PRONETA or TIA Portal |
| T_CONFIG returns STATUS 0x80C3 or 0x80E0 | Interface busy, or "set directly at the device" not enabled in HW config | Wait for BUSY to clear, or change CPU Ethernet address property to "directly at device" |
| Old project upload (Upload as new station) returns no HMI | HMI runtime is not uploaded-enabled | Recreate HMI project manually; only Method 1 avoids this |
| Multiple screens, user logins, alarms lost after panel swap | Project was recreated manually without field report | Recover original .apxx project from backup, or request it from the OEM archive |
Edge Cases and Field Caveats
Related Tools at a Glance
| Tool | Vendor | Cost | Use case |
|---|---|---|---|
| PRONETA | Siemens | Free | Scan, IP assignment, IO test, topology |
| SIMATIC Automation Tool | Siemens | Free | Batch IP change, firmware update, program copy |
| TIA Portal Online & Diagnostics | Siemens | License required | Single-station IP change with full diagnostics |
| ProSave | Siemens | Free | Backup / restore of HMI runtime and panel image |
| S7-PCT | Siemens | Free | IO-Link port configuration |
FAQ
Can I change the S7-1200 IP address without the original TIA Portal project?
Yes. Use PRONETA to scan and assign the new IP, or use TIA Portal's "Online > Accessible nodes > Online & Diagnostics > Functions > Assign IP address" to write the new IP directly to the CPU without uploading the project.
How do I redirect the KTP900 connection to a new PLC IP without the original project?
On firmware V13.0.1 or later, power-cycle the panel, hit the Settings tab during the boot splash, and go to Service and Commissioning > Edit connections. Switch Override ON, enter the new PLC IP, and write to flash. On older firmware, the only option is to recompile and re-download the HMI project.
Does PRONETA also change the HMI connection target?
No. PRONETA only changes the device IP and PROFINET name. The compiled HMI runtime still contains the original PLC IP; the connection must be redirected separately via the panel's Service and Commissioning menu or by recompiling the HMI project.
What is the difference between IP address and PROFINET device name?
The IP address is the L3 routing identifier used by TCP/IP traffic (HMI tags, PUT/GET, Modbus TCP). The PROFINET device name is the L2 identifier used for PROFINET IO cyclic communication and device replacement. Both must be migrated when a station is renamed in the network topology.
Can T_CONFIG inside the S7-1200 replace the panel-side edit?
No. T_CONFIG writes the CPU's own IP at runtime but cannot rewrite the HMI runtime. If the HMI still has the old PLC IP compiled in, the HMI side still needs Method 1 or a recompiled project. Use T_CONFIG when the PLC must re-IP itself on its own without an engineer present.