Troubleshooting
Why Ignition Edge on a Raspberry Pi 4 won't connect to an S7-1200
Short answer
Nothing in Ignition Edge blocks an S7-1200 connection: when a full Ignition gateway on a PC at .21 connects and the Pi at .20 fails with identical device settings, the fault is in the Pi's own IP addressing, route selection or reachability. Check the live mask, the chosen route, ARP and ping from the Pi, then the driver status, in that order.

On this page
Nothing in Ignition Edge blocks an S7-1200 connection. With the full Ignition gateway on a PC whose address ends in .21 connecting to a CPU 1211C, and Ignition Edge 8.1.3 on a Raspberry Pi 4 whose address ends in .20 failing on identical device settings, the difference is not Edge: it is the Pi's own Ethernet addressing, route selection and reachability. The failure happening through both a switch and a direct cable does not point at the Pi hardware either, because both arrangements still depend on the Pi's interface configuration. Work through the checks below in order, and leave the PLC's protection settings untouched.
Record the working baseline first #
A connection from another host proves the PLC talks S7 over TCP/IP to that host through that host's network path. It proves nothing about a second host's mask, routing or interface choice. Before changing anything on the Pi, write down the working configuration:
- The PLC's address, subnet and the working driver settings on the PC gateway.
- The PC's full address and mask, not just the .21 suffix. Two addresses ending .20 and .21 can sit in different subnets if their masks differ.
- The Edge device's complete configuration and its current status, so you compare field by field instead of asserting the settings are identical.
Expected result: a reproducible PC connection and an explicit list of matches and differences for the Edge device.
Read the Pi's live address and mask #
A subnet mask decides which destinations a host treats as directly reachable; anything outside the mask goes to a gateway instead. Inspect what the Pi actually has active, not what you intended to configure. Raspbian GNU/Linux 10 (buster) can hold static settings in more than one place (for example an interface file such as /etc/network/interfaces.d/eth0), and a wireless connection can add a second address and a competing default route without appearing in your notes.
- Check link indication at the Pi and at the switch or PLC with the cable connected. Expected reading: link present at both ends.
- Read the active Ethernet address and mask with
ip -4 addr show. Expected reading: one address on the physical Ethernet interface, in the PLC's subnet, with the intended mask. - Read the routing table with
ip route show. Expected reading: the PLC's subnet on the Ethernet interface, and at most one default route. If the wireless interface holds the default route, disconnect or disable it during the test. - Confirm no other device uses the Pi's address. Expected reading: the address is unique on that subnet.
Verify the route the Pi actually chooses #
This is the check that finds this class of fault. Ask the Pi itself which interface and next hop it will use for the PLC:
ip route get 192.168.10.200
For a directly reachable PLC the answer must name the Ethernet interface and the Pi's own source address, with no via next hop. A via line for an on-site PLC means the Pi classifies the PLC as off-subnet and hands the frames to a gateway, which is exactly the pattern behind resolving Ignition S7 no-route-to-host errors.
Worked example of a mask mismatch that hides behind a correct-looking address:
- PLC at 192.168.10.200 with mask 255.255.255.0. Pi Ethernet at 192.168.10.20 with mask 255.255.255.128.
- Pi's network: last octet 20 AND 128 = 0, so the Pi believes it sits on 192.168.10.0/25, usable hosts 192.168.10.1 to 192.168.10.126.
- The PLC's last octet 200 falls outside that range, so the Pi sends the connection attempt to its default gateway instead of ARP-ing for the PLC. The driver retries forever, the log stays quiet, and the device never connects.
- Correct the mask to 255.255.255.0: the network becomes 192.168.10.0/24, hosts 192.168.10.1 to 192.168.10.254, the PLC is inside it, the Pi resolves and connects directly.
Test ARP and ping from the Pi #
Link, IP reachability and the application connection are three separate checks. ARP resolves the PLC's IPv4 address to its Ethernet hardware address on the local subnet; if that resolution fails, the S7 driver's traffic never leaves the Pi even with link lights on.
- Ping the PLC from the Pi itself. Expected reading: replies, assuming the PLC network permits ping.
- Attempt the device connection, then read neighbor resolution with
ip neigh show. Expected reading: the PLC's address resolved to a stable hardware address, not marked unresolved or failed. - If ping fails, capture on the Pi's Ethernet interface while the device retries:
tcpdump -i eth0 host 192.168.10.200. Expected reading: outbound SYN traffic to the PLC and replies returning. - Interpret: no outbound traffic points back to routing or an inactive device; outbound without replies points to addressing, filtering or the return path; replies followed by an application rejection move the investigation above IP.
Confirm the Edge driver and device status #
Only after the path checks pass, compare the Edge side:
- On the gateway's configuration pages, confirm the Siemens driver module is installed and running. The driver speaks S7 over TCP/IP, the same as the full gateway that already works.
- Compare the device's host, rack and slot settings and its enabled state against the working PC, field by field. Connection ID numbers do not need to match between the two gateways; that field matters only to the controller's own open user communication instructions, not to this driver connection.
- Read the device status after each correction. Expected reading: connected, or a specific fault string you can chase.
- Check module and license status once. A trial-mode countdown in the log is the trial clock, not a connection fault; a licensing problem raises an explicit module error instead.
If the Edge Designer itself will not open from the Pi, treat that as the separate fault covered under Ignition Edge Designer fails to launch from a Raspberry Pi gateway; it does not stop a configured device from connecting.
Silence the MQTT log noise #
Repeated MQTT messages buried the connection investigation, and deleting the MQTT module emptied the log without producing any fault lines. MQTT is publish/subscribe messaging; its behavior shares nothing with the Siemens device connection unless you can name the shared dependency. Disable or slow the MQTT modules during this test, and read the device status and diagnostics rather than the general log, because an empty log proves neither success nor failure. If the messaging side itself is misbehaving once the PLC path is fixed, see why an MQTT client reconnects but then publishes nothing.
The decision #
The fault is the Pi's addressing or route, and the fix is configuration: give the Ethernet interface an address in the PLC's subnet with the PLC's own mask, remove any competing default route from the wireless interface, confirm ip route get names the Ethernet interface with no next hop, and confirm the PLC appears in ip neigh with a resolved hardware address. At that point the same device settings that work on the PC work on Edge, and the device goes connected without any change to the CPU 1211C's protection settings. Only if a capture shows no frames leaving a correctly configured interface is the Pi suspect, and then the right move is to reimage it or replace it with a fanless industrial mini PC as the edge host rather than to keep re-cabling.
Questions asked
Does Ignition Edge include the Siemens driver at all?
Yes. The Siemens drivers are part of the Edge module set, and they talk to S7 devices over TCP/IP using the S7 protocol, exactly as the full gateway does. If you could create the S7-1200 device on the Edge gateway and it shows a status, the driver is installed and loaded. A missing driver would refuse the device type when you create it, not fail silently after creation.
The gateway log shows a trial-mode countdown. Is licensing blocking the connection?
No. A countdown line only reports the remaining trial time; the drivers run normally during the trial. A licensing problem raises an explicit module or gateway error on the status pages, and it would not look like a device that keeps retrying without fault lines. Read the module status once to confirm it is running, then spend your time on the network checks.
Should I change the PUT/GET protection settings on the S7-1200?
No. The full Ignition gateway on your PC already connects to that same CPU, so the controller already admits the S7 communication from a remote partner. The Pi needs the same access, not more. Leave the CPU protection settings unchanged while you troubleshoot; weakening access controls does not repair a routing fault and only reduces the machine's protection.
When is the Raspberry Pi hardware itself at fault?
Almost never at this stage. A failure through both a switch and a direct cable still depends on the Pi's interface configuration, so neither test isolates the hardware. Suspect the Pi only after the address, mask and route are confirmed correct, the interface shows link at both ends, and a packet capture on the Pi's Ethernet interface shows no frames leaving it while the device retries. Until then, fix configuration, not hardware.


