Problem Statement
A Siemens SIMATIC KTP600 Basic mono PN panel, networked to a SIMATIC S7-1215 DC/DC/DC CPU on PROFINET port 2, fails to appear in the Accessible devices view of TIA Portal. The programming device (PG/PC) is connected to the same network, the CPU (192.168.0.1) responds, but the HMI (192.168.0.2) cannot be reached. The panel attempts to start a host connection at boot and, if cancelled, the Control Panel is reachable but menu items cannot be opened. This is one of the most common commissioning issues when integrating Comfort/Basic panels with S7-1200 controllers in TIA Portal V15 through V20.
Affected Hardware and Firmware
| Component | Order Number (MLFB) | Firmware Tested | Notes |
|---|---|---|---|
| SIMATIC S7-1215 DC/DC/DC | 6ES7215-1AG40-0XB0 | V4.2 to V4.6 | Two onboard PROFINET ports (X1 P1, X1 P2); Port 2 is a switch, not a router |
| KTP600 Basic mono PN | 6AV6647-0AB11-3AX0 | V13 to V16 (WinCC flexible / TIA) | 6" monochrome, 320×240, PROFINET interface only |
| PG/PC interface | Any Ethernet NIC | Realtek / Intel / etc. | Must be set as PROFINET interface in TIA |
| TIA Portal | - | V15, V15.1, V16, V17, V18, V19, V20 | Online diagnostics function is identical across versions |
Root Cause Analysis
When the HMI does not appear in Accessible devices on TIA Portal, the failure path runs from the physical cable up through the IP and PROFINET name stack. The likely causes, in order of probability based on field data, are:
- Defective or unterminated PROFINET cable between the CPU Port 2 and the HMI. This is the dominant cause. The HMI powers up, attempts DCP (Discovery and Configuration Protocol) identification, sees no link partner on its RJ45, and silently fails.
- Wrong PG/PC interface selected in TIA Portal (a Wi-Fi adapter or VPN tunnel is selected instead of the wired Ethernet connected to the CPU).
- IP address mismatch between the TIA project and the actual HMI runtime configuration. The HMI Control Panel shows the effective address; the project shows the configured one.
- PROFINET device name not assigned. The CPU can only route to a device that has a valid PROFINET name matching the configured HMI in the project.
- Subnet mask mismatch (e.g., project says /24 but the HMI was previously commissioned on /16).
- Windows firewall blocking UDP port 34964 (PNIO DCP) and TCP port 102 (S7 communication).
- Out-of-order download: The HMI configuration was downloaded but the HMI was reset to factory defaults, removing the project IP.
Step 1 - Verify the Physical Layer First
Before any TIA Portal interaction, confirm the link status on every RJ45 socket in the path: PG/PC, CPU Port 1, CPU Port 2, and the HMI.
- Inspect the link LED on the HMI RJ45. On the KTP600 Basic mono PN, the green Link LED must be solid when a 100 Mbit partner is connected. A dark LED means no Physical Layer signal - the cable is the prime suspect.
- Inspect the Link LEDs on CPU X1 P1 and X1 P2. The S7-1215 has two PROFINET ports that act as an internal switch. The LED next to each port lights green when a link is established.
- Swap the suspect patch cable with a known-good Cat 5e or Cat 6 PROFINET cable (max 100 m per segment, per PROFINET cabling guidelines).
- Try a different port on the CPU. Port 1 (X1 P1) is the upper network; Port 2 (X1 P2) is the lower network. Either port can host the HMI, but the configuration in TIA must reference the same port the cable is plugged into.
- Verify the cable pinning. PROFINET uses standard 8P8C (RJ45) T-568B for both ends. Crossover is not required on modern S7-1200 ports (they are Auto-MDI/MDIX).
Step 2 - Confirm the HMI's Live IP Address
Even when the project lists 192.168.0.2 for the HMI, the runtime device may have a different address (e.g., from a previous project). Use the HMI's own operating system to verify.
- Power-cycle the HMI.
- During the boot sequence, if the HMI prompts Connect to host?, tap Cancel (the Cancel button is on the touch screen, not the Control Panel menu).
- When the Control Panel appears, the right-hand "Open" icon launches the loader menu. The Control Panel on WinCC RT Advanced is reached via the loader, not via a Windows-style Start menu on Basic panels.
- Open Network and Dial-up Connections > PN/IE (or PROFINET on newer images). The currently effective IP address, subnet mask, and PROFINET device name are displayed.
- Compare these three values against the values in the TIA Portal project (Project tree > Devices & Networks > select HMI > Properties > PROFINET interface > Ethernet addresses).
If the values disagree, the panel is not in the state the project assumes. Reset the HMI to factory defaults from the Control Panel and re-download the project, or manually correct the IP and PROFINET name on the panel and re-download.
Step 3 - Validate the TIA Portal Project Configuration
Open the project and verify each of the following parameters. Mismatches here are the second most common cause.
| Parameter | Location in TIA Portal | Expected Value for this Case |
|---|---|---|
| CPU PROFINET interface IP | Devices & Networks > CPU > PROFINET interface > Ethernet addresses | 192.168.0.1, mask 255.255.255.0 |
| CPU PROFINET port used | Same view, "Port 1" or "Port 2" checkbox | Port 2 enabled and connected to subnet "PN/IE_1" |
| HMI PROFINET interface IP | Devices & Networks > HMI > PROFINET interface > Ethernet addresses | 192.168.0.2, mask 255.255.255.0 |
| HMI PROFINET name | Same view, PROFINET device name | Must be unique, e.g., "hmi-panel-1" |
| HMI connection | Devices & Networks > Connections | HMI_Connection_1, partner = PLC_1, integrated connection |
| Subnet assignment | Topology view | Both CPU Port 2 and HMI on the same PN/IE_1 subnet |
Confirm the subnet is the same on both nodes. The S7-1200 CPU does not perform routing between its two ports; it acts as a 2-port switch. A device on Port 1 cannot be reached from a device on Port 2 if the IP subnets differ unless the PG is on the same subnet as the HMI.
Step 4 - Use "Find Accessible Nodes" the Correct Way
Per the official Siemens TIA Portal documentation on displaying accessible devices, the procedure is:
- Switch the TIA Portal project tree to the Project view (not Portal view).
- Expand Online access in the project tree.
- Locate the Ethernet adapter that is physically connected to the CPU (not the Wi-Fi adapter, not the VPN tunnel, not a Hyper-V virtual switch). Right-click it.
- Select Update accessible devices (or Find accessible nodes in older builds).
- TIA Portal sends a DCP multicast (UDP 34964) on the selected adapter and lists every PROFINET device that responds. The CPU will appear as PN/IE_1 and the HMI as its PROFINET name.
If the CPU appears but the HMI does not, the problem is on the segment between the CPU and the HMI (cable, port, or the HMI's own configuration). If neither appears, the PG/PC adapter is wrong or no link exists between the PG and the CPU.
Step 5 - Assign the PROFINET Device Name
A PROFINET IO device has no usable network identity until it is assigned a PROFINET device name via DCP. The HMI may be physically present on the wire (link LED on) but invisible to "Find accessible nodes" if it has never been named, or if it was named for a different controller.
- In the project tree, right-click the HMI device > PROFINET device name > Assign PROFINET device name.
- In the dialog, the accessible devices list shows all unnamed DCP devices on the wire. Select the entry whose MAC address matches the HMI's MAC (printed on the rear label of the KTP600).
- Confirm the PROFINET name from the project is written to the device. The HMI will restart its PROFINET stack and, if the configuration matches, come online green.
Verify the assignment with Update accessible devices again. The HMI should now appear with its project name.
Step 6 - PG/PC Interface Assignment
Wrong PG/PC interface assignment is a top-three cause of "device not found."
- Open the Windows Control Panel > Set PG/PC Interface (the 32-bit applet, not the modern Settings app).
- Under Access point of the application, select S7ONLINE (STEP 7).
- Set the Interface parameter assignment used to the wired Ethernet adapter that connects to the S7-1200. For TCP/IP direct, choose TCP/IP > Network card > [your NIC].
- Click OK. Restart TIA Portal if the change was made while it was running.
Step 7 - Subnet and Routing Considerations
The S7-1200 CPU (firmware V4.x) does not route IP traffic between its two PROFINET ports. It is a Layer-2 switch, not a router. Therefore:
- All devices on CPU Port 1 and CPU Port 2 must be in the same IP subnet, OR the PG must be physically on the same subnet as the device it is trying to reach.
- If the PG is on 192.168.0.x and the HMI is on 192.168.1.x, the HMI will not respond to ARPs sent from the PG - even though the cable is good.
Recommended subnet for a small HMI/PLC cell:
| Device | IP Address | Subnet Mask | Port on CPU |
|---|---|---|---|
| PG/PC | 192.168.0.100 | 255.255.255.0 | CPU X1 P1 (or any switch on the cell network) |
| S7-1215 CPU | 192.168.0.1 | 255.255.255.0 | Both ports share the same subnet |
| KTP600 Basic mono PN | 192.168.0.2 | 255.255.255.0 | CPU X1 P2 |
Verification Procedure
Run the following checks in order. Stop at the first check that fails.
- Link LEDs green on PG, CPU P1, CPU P2 (if used), and the HMI.
-
ICMP ping from the PG:
ping 192.168.0.1(CPU) andping 192.168.0.2(HMI). If ping fails, the IP stack is not reachable - check firewall, subnet, and cable again. -
ARP cache contains the MAC of the HMI:
arp -a | findstr 192.168.0.2in cmd.exe. - In TIA Portal, Online > Accessible devices on the correct NIC shows both the CPU and the HMI with their PROFINET names.
- Right-click the CPU > Go online; TIA Portal reports an online connection to the PLC.
- Right-click the HMI > Go online; the HMI loader must respond with firmware, project name, and runtime version.
- From the online HMI, open Diagnostics > Connection and confirm the HMI_Connection_1 status is Established.
- Download the HMI project again: right-click HMI > Download to device > Software (all) to force a clean transfer of the configuration, including PROFINET name, IP, and connection tables.
Preventive Measures and Field-Proven Caveats
- Use PROFINET-certified patch cables (green RJ45, Siemens 6XV1870-3-series or equivalent) for any cable that lives in a cabinet or is subject to flexing. Standard Cat 5e is electrically fine for 100 Mbit but may fail in industrial environments.
- Disable Windows Firewall on the PG during commissioning, or explicitly allow UDP 34964, UDP 49152-65535, and TCP 102 inbound on the wired adapter.
- Always use a managed switch (e.g., SCALANCE XC-100) when the cell grows beyond 3-4 PROFINET devices. The CPU's 2-port switch is intended for small topologies only.
- Document the PROFINET name and IP of every HMI in a commissioning sheet. A factory reset of the panel erases both and silently breaks the connection.
- Reserve IP addresses outside the DHCP range of any management switch to prevent the DHCP server from handing out the CPU or HMI's IP to a stray laptop.
- Keep the KTP600 firmware aligned with the TIA Portal version used to compile the project. A panel with V13 firmware cannot load a project compiled with TIA V17 without an OS update, and the loader will hang on the connection dialog.
Troubleshooting Matrix
| Symptom | Most Likely Cause | First Action |
|---|---|---|
| No link LED on HMI RJ45 | Defective or unterminated cable | Replace patch cable, verify 100 Mbit link |
| HMI link LED on, CPU link LED off on Port 2 | Cable from CPU P2 to HMI is bad | Swap cable, re-test |
| Both link LEDs on, HMI not in Accessible devices | PROFINET name not assigned, or wrong PG/PC interface | Right-click Ethernet NIC > Update accessible devices; assign PROFINET name |
| HMI in Accessible devices, Go online fails | IP/subnet mismatch or firewall | Verify subnet, disable firewall, retry |
| HMI shows "Trying to connect to host" indefinitely | No link or no PROFINET name on HMI | Check cable, then assign PROFINET name |
| Control Panel opens but items cannot be opened | Loader file system corrupted or HMI is in transfer mode stuck | Reboot HMI, hold Shift during boot to enter transfer mode, redownload project |
| Project compiles fine, transfer fails at "Establish connection" | HMI is in service mode or has wrong runtime version | Control Panel > OP > Check Runtime version against TIA target |
Related Diagnostics Functions in TIA Portal
Beyond Update accessible devices, TIA Portal V17-V20 offers a number of integrated diagnostics tools that surface the same problem from a different angle:
- Online & Diagnostics on the CPU > PROFINET diagnostics lists all PROFINET stations it sees on each of its ports, with link status, speed, and duplex.
- Online & Diagnostics on the HMI (once reachable) > PROFINET diagnostics shows the HMI's view of the connection, including the partner's IP and MAC.
- Trace function for capturing DCP frames in real time on a SCALANCE switch with port mirroring enabled.
Why is my KTP600 Basic PN not visible in TIA Portal "Accessible devices" even though the cable is plugged in?
Most often the cable has no link (Link LED dark on the HMI) or the wrong PG/PC Ethernet adapter is selected. In TIA Portal, right-click the wired Ethernet adapter under "Online access" and choose "Update accessible devices" per the Siemens TIA Portal online diagnostics documentation. If the CPU responds but the HMI does not, swap the patch cable between the CPU Port 2 and the HMI - this resolves the issue in the majority of field cases.
Which PROFINET port on the S7-1215 DC/DC/DC should I use for an HMI?
Either Port 1 (X1 P1) or Port 2 (X1 P2) is acceptable on the S7-1215. Both ports are members of the same internal switch and share one PROFINET interface and one IP address (e.g., 192.168.0.1). Use Port 2 when the PG/PC is on Port 1, as in the reference topology, so that the HMI traffic and the engineering traffic are physically separated on the wire.
What IP address and subnet mask should the KTP600 and S7-1215 use?
For a small cell, use 192.168.0.1 for the CPU, 192.168.0.2 for the HMI, and 255.255.255.0 (/24) as the subnet mask. The PG/PC should be on the same subnet, for example 192.168.0.100. All three devices must share the subnet because the S7-1200 CPU does not route between its two PROFINET ports.
How do I assign the PROFINET device name to the KTP600 from TIA Portal?
Open the project, right-click the HMI in the project tree, and choose "PROFINET device name > Assign PROFINET device name." In the dialog, click the device whose MAC matches the KTP600's MAC label, then click "Assign name." The HMI will restart its PROFINET stack and appear in "Accessible devices" under its project name.
Can a defective PROFINET cable prevent the HMI from showing up in TIA Portal?
Yes. A broken or miswired patch cable is the most common cause of the HMI not being detected, even when the HMI is powered and the project configuration is correct. The link LED on the KTP600's RJ45 port must be solid green. If it is dark, replace the cable with a known-good Cat 5e or PROFINET-certified patch lead and retry "Update accessible devices."