Troubleshooting
Fix ctrlX CORE PROFINET device not found with XF10 connected
Short answer
This is not a Siemens fault: DCP discovery runs at the Ethernet layer, so XF10 and XF51 answer in one broadcast domain through the same unmanaged switch whatever their IP subnets. Put the engineering port on its own switch or VLAN and confirm the device name on XF51, and the startup dependency disappears.
On this page
- Why does the Siemens PLC not see the ctrlX CORE PROFINET device at power-up?
- Does a different IP subnet keep XF10 out of PROFINET discovery?
- How do you check the addressing on XF10, XF51 and the PLC?
- How do you confirm which interface answers PROFINET discovery?
- Why does the PLC download fail with device not found and no controller connected?
- What do you read on the Siemens side when the device stays missing?
- How do you stop XF10 from breaking PROFINET startup?
- Questions asked
This startup-order dependency is not a Siemens fault. XF10 and XF51 both sit in one Ethernet broadcast domain through the ordinary switch, and DCP discovery works at the Ethernet layer, so it reaches both interfaces whatever their IP subnets say. Separate the engineering port onto its own switch or VLAN, confirm the device name on XF51, and the dependency disappears. The checks below follow the order the fault presents: addressing, discovery identity, runtime readiness, switch forwarding.
Why does the Siemens PLC not see the ctrlX CORE PROFINET device at power-up? #
Because both ctrlX CORE ports answer DCP discovery in the same broadcast domain: the ordinary switch floods the identify broadcast to every port, so the controller meets two PROFINET-capable interfaces where its project expects one.
The installation: a Siemens PLC as PROFINET IO controller, a ctrlX CORE X3 running a CODESYS PROFINET runtime as IO device, XF51 carrying the configured device connection, XF10 reserved for engineering access. Reported behavior: power-up with XF10 on the switch and the controller does not find the device; power-up with XF10 unplugged and it connects, after which XF10 can be replugged without further loss.
That order is the tell. A controller that connects the moment the second interface leaves the wire, and stays connected when it returns, is not a broken controller — it is one that got two answers to a question that expected one.
DCP, the Discovery and basic Configuration Protocol of the PROFINET specification (IEC 61158 and IEC 61784 family), is a data-link-layer protocol: the controller asks in Ethernet broadcast, every PROFINET-capable interface in the broadcast domain answers, and the exchange never reads an IP subnet.
Does a different IP subnet keep XF10 out of PROFINET discovery? #
No. DCP is a Layer 2 protocol and an unmanaged switch forwards its broadcast frames to every port, so the boundary between 192.168.1.0/24 and 192.168.2.0/24 stops routed IP traffic but not discovery.
A subnet is an address range an IP stack derives from address plus mask. A broadcast domain is the set of ports that receive one Ethernet broadcast. They are different things, and only the second bounds DCP.
An unmanaged switch is one broadcast domain and forwards by MAC address; it never opens the IP header. Siemens documents the same limit from the tool side: a discovery run searches the local network of the selected adapter, and through one flat switch that network includes every port.
The consequence: no address you assign XF10 takes it out of the discovery scope of a scan through that switch. Separation has to happen below IP.
How do you check the addressing on XF10, XF51 and the PLC? #
Read the live values from each device, not from the project alone, and confirm the CODESYS PROFINET device is bound to XF51: in this installation XF10 is 192.168.1.1/24, XF51 is 192.168.2.100/24 and the S7 is 192.168.2.5/24.
Trace the cables and check where the PROFINET interface is selected in the device configuration; a device bound to XF10 instead of XF51 produces exactly this startup picture.
| Endpoint | Address | Mask | Subnet | Role |
|---|---|---|---|---|
| ctrlX CORE XF10 | 192.168.1.1 | 255.255.255.0 | 192.168.1.0/24 | Engineering access |
| ctrlX CORE XF51 | 192.168.2.100 | 255.255.255.0 | 192.168.2.0/24 | PROFINET IO device |
| Siemens PLC | 192.168.2.5 | 255.255.255.0 | 192.168.2.0/24 | PROFINET IO controller |
Worked example, mask applied as a binary AND that zeroes the last octet:
- 192.168.2.100 AND 255.255.255.0 = 192.168.2.0, so XF51 sits on 192.168.2.0/24 with host part 100. A /24 holds 256 addresses; .0 is the network and .255 the broadcast, leaving 254 usable.
- 192.168.2.5 AND 255.255.255.0 = 192.168.2.0, so the S7 shares XF51's subnet and reaches it directly with no router.
- 192.168.1.1 AND 255.255.255.0 = 192.168.1.0, so XF10 is unreachable from the S7 at IP level — and irrelevant to the fault, because discovery never used IP.
Decision: the address plan is correct; leave it. Confirm no duplicate address on the wire, and record the engineering PC's address, mask and selected adapter so the PC has a path to the interface you intend to use.
How do you confirm which interface answers PROFINET discovery? #
Run the engineering tool's scan for accessible devices with both cables connected and write down the device name, IP and MAC of every responder: the name configured in the S7 project must sit on the MAC that belongs to XF51.
- Scan with XF10 and XF51 both connected. Expect the project's device name on XF51's MAC — and a second responder for XF10, which is your confirmation of the shared scope.
- Compare that name with the S7 project. If it differs, or XF51's MAC answers with no name, assign the project's name to that interface and repeat.
- Repeat the scan with XF10 disconnected. The XF51 identity must not change between the two runs; if it does, the interface binding is the fault, not the scope.
- Judge the result on the IO connection status in the controller, not on a ping. A ping proves IP reachability on one subnet; it says nothing about a name match or cyclic data.
Why does the PLC download fail with device not found and no controller connected? #
The reported case reproduced it with only the PC and the ctrlX CORE X3 connected, so the Siemens controller is out of the path and the dependency lives on the ctrlX side: the runtime and its interfaces are not ready when the tool expects them.
The reproduction: download the PLC application, the connection breaks with the message device not found; unplug and replug the cable, and the device returns with the PLC in Stop, then runs. What makes that diagnosable:
- Capture the ctrlX system log and the PLC runtime log across a failed download before touching the cable. The replug restarts link negotiation and destroys the sequence that names the fault.
- Compare runtime startup with and without XF10 connected. The PROFINET device must come ready on XF51 either way; the first event where the runs differ is the fault.
- Record the ctrlX PLC app version and the CODESYS PROFINET add-on version separately. The platform version, 3.6 here, identifies neither; both were requested in the case and never supplied, so both stay unknown until read from the installed software.
What do you read on the Siemens side when the device stays missing? #
Read the diagnostic buffer during the failed startup and keep the exact message with its timestamp; the split between a device absent from discovery and a device found with a rejected connection decides which remaining check applies.
| Reading | Meaning | Next action |
|---|---|---|
| No responder in discovery | Discovery traffic reaches no ready device service | Check link state, forwarding and runtime readiness |
| Responder with a different or empty name | Project identity and device identity differ | Assign the project's device name to XF51's MAC |
| Correct name, connection rejected | Discovery worked; establishment failed | Compare device and module configuration with the device description |
| Engineering access also fails without the S7 | The fault exists outside the IO connection | Work the PC-to-ctrlX path and the runtime logs |
The switch in this installation is an unmanaged standard unit, so it keeps nothing you can read. Substitute a managed switch temporarily and repeat the same power-up sequence — a different sequence makes the comparison worthless — then read port link events and VLAN membership. For the controller end of a rejected connection, the walkthrough for PROFINET connect errors between a controller and an S7-1200 uses the same buffer.
How do you stop XF10 from breaking PROFINET startup? #
Give the engineering port its own broadcast domain — a separate physical switch for XF10 and the engineering PC, or separate VLANs on a managed switch — because no setting on an unmanaged switch keeps DCP broadcasts off a port.
Before changing anything, save the project, the live network settings, the component versions and the logs of one failed startup; the first good power-up destroys the evidence.
Decisions by case:
- Keep XF51 and the S7 on their subnet as configured. The addressing was never the fault.
- No managed switch available: put XF10 and the engineering PC on their own small switch. The PROFINET side stays S7, XF51 and the existing switch. Minimal change, and the second responder is gone for good.
- Managed switch installed: one VLAN for XF51 and the S7, one for XF10 and the PC, port membership assigned accordingly. This is the version that goes into the network documentation.
- Either way, assign and verify the device name on XF51 before the next cold start, then prove the fix: cold power-up with XF10 connected, IO connection established, no unplug workaround.
One safety note: if this network also carries a safety function over PROFIsafe, a change that drops and re-establishes the IO connection is a safety-relevant event — isolate the machine before the re-power test.
Questions asked
Can you fix this by moving XF10 into 192.168.2.0/24?
No. Discovery scope is set at the Ethernet layer, so the subnet you give XF10 does not change who answers DCP identify. Identification works by MAC address and does not need a valid IP on the responder, which is why a factory-fresh interface still shows up in a scan. Only Layer 2 separation or a corrected device name changes the outcome, and moving XF10 into the PROFINET subnet adds IP-level confusion on top.
Does the switch have to be PROFINET-conformant to solve this?
Not for this fault. Conformance matters for what PROFINET demands of the network during operation, but the observed failure is about scope, not performance: any switch that floods broadcasts to every port produces the same discovery result. What solves it is separation, either a second physical switch or VLANs, and VLANs require a managed switch anyway.
What information does support need for a case like this?
A system report from the controller, the exported logging data from the PLC runtime, and the exact diagnostic buffer entry from the Siemens side with its timestamp. State the platform version separately from the ctrlX PLC app version and the CODESYS PROFINET add-on version; in the case described here the platform reported 3.6 while the two software versions were never supplied, and that gap alone blocks a useful answer.
Why does unplugging and replugging the cable bring the device back?
Because the replug forces the port to renegotiate the link and starts the discovery and connection sequence over from a clean state. In the reported case the device then connected with the PLC in Stop and ran afterwards. It is a workaround for one startup, not a fix: the shared broadcast domain is untouched, so the next cold start fails the same way.
What if the device name is correct and the S7 still rejects the connection?
Then discovery has done its job and the fault has moved to connection establishment. Compare the device and module identification in the S7 project against the device description file the project was built from, and read the diagnostic detail on the rejected connection, where subslot or module mismatches show up. That is a configuration comparison, not a network fault, and re-addressing will not touch it.