Troubleshooting
Why an Ignition S7-400 device stays disconnected by CPU slot
Short answer
The device stays Disconnected because the S7-400 driver's CPU slot defaults to 2 while this CPU sits in slot 3 of its rack: the IP address names the CP 443-IT, and the rack and slot name the CPU. Set the CPU slot to the STEP 7 hardware-config position (3 here, rack 0) and the device connects; a later Bad_ReadOnly write error is a tag-access fault, not a slot fault.
On this page
The device stays Disconnected because the S7-400 driver's CPU slot default does not match where the CPU sits: on this rack the power supply filled the first two slot positions, the CPU sat in slot 3 and the CP 443-IT in slot 4. Open the device's advanced properties in Ignition, set the CPU slot to the CPU's position in the STEP 7 hardware configuration, keep the CP 443-IT's IP as the host, and change nothing in STEP 7 — that one setting took this device to Connected. A Bad_ReadOnly error that appears afterward is a tag write fault, not a slot fault.
The IP names the CP; rack and slot name the CPU #
This CPU has no Ethernet port of its own — only Profibus and MPI — so the CP 443-IT module carries the rack's Ethernet connection. Ignition therefore works with two separate identities:
- The host address, which is the CP 443-IT's IP address: the network endpoint.
- The rack and CPU slot, which name the CPU behind that endpoint.
With the CPU slot left at its default, the connection request is steered to a rack position occupied by the power supply. Nothing at that position can answer for the control program, so the device never leaves Disconnected — and the network is not the culprit. A ping to the CP proves the path to the communications module; only a correct rack and slot proves the CPU identity, and those are independent checks.
Where an S7-400 CPU sits in the rack #
S7-400 racks come with 4, 9 or 18 slots, and the CPU position is not fixed:
- Slot 1 is normally the power supply. A narrow supply, 4 A, takes one slot and puts the CPU in slot 2; a wide supply, 10 A or 20 A, takes two slots and puts the CPU in slot 3.
- An S7-400 CPU may also be placed in other positions, so any assumed slot is a guess.
- A central rack can run several CPUs side by side in multicomputing, and each CPU is addressed by its own slot.
The slot-2 habit comes from the S7-300, where the CPU is always rack 0, slot 2. That is exactly why the driver default feels right and fails on a 400 with a wide supply. The hardware configuration is the only authority for the position.
Read the values from the STEP 7 hardware configuration #
- Open the station's hardware configuration in STEP 7.
- Identify the central rack holding the CPU and note the rack number — a single-rack setup is rack 0.
- Read the CPU's slot from the layout, treating the supply modules and the CP 443-IT as reference points, not candidates.
- Open the CP 443-IT's properties and note the IP address assigned to it.
- Record the mapping to enter: host is the CP address, then rack number, then CPU slot.
Enter the mapping in the Ignition device #
Open the S7-400 device on Ignition's device-connections page — the same starting point as connecting SLC 500 processors to Ignition SCADA — and make three settings:
- Set the host to the CP 443-IT's IP address.
- Expand the advanced properties and set the CPU slot to the value read from STEP 7.
- Set the rack to the recorded rack number.
Save and watch the status. With the slot corrected, this device came up Connected. Monitor one known tag to prove the read path before you touch any write.
Worked example: this rack #
| Device setting | Left at default | Corrected | Basis |
|---|---|---|---|
| Host | CP 443-IT IP | CP 443-IT IP | The IP names the Ethernet module |
| Rack | 0 | 0 | Single central rack |
| CPU slot | 2 | 3 | Hardware configuration; supply fills the first two slots |
| CP slot, for reference | Not entered | 4 | The CP's own position, never the CPU slot |
The default misses by one position: 3 − 2 = 1, and slot 2 is supply territory on this rack. Entering the CP's slot instead misses by one the other way: 4 − 3 = 1, and slot 4 is a communications module. Either miss lands the request on hardware that cannot answer for the program, so the device sits at Disconnected. The corrected row — CP address, rack 0, CPU slot 3 — is the configuration that connected.
Bad_ReadOnly after Connected is a tag fault #
After the connection came up, the reported error was Error writing ON.value: Bad_ReadOnly, while the same tag could still be monitored. That pair of facts closes the connection question: the read path is proven and the write target is not writable as addressed. No slot value changes this.
Work the write failure at the tag:
- Confirm the Ignition tag is a device-backed tag meant for writes, not a derived or read-only tag.
- Confirm its address selects the PLC variable you intend, against the STEP 7 project; a good read on a different tag proves nothing.
- Test a write to that one address from the engineering tool, with the machine in a safe state, because a successful test write lands in the live CPU.
- If the value writes and then reverts, the PLC program is overwriting it — take the complaint to the logic, not the driver.
It is the same split you rely on when diagnosing why a SCADA write to a PLC real address fails silently: a good connection never proves a write.
If the device still shows Disconnected #
- Ping the CP 443-IT's IP from the PC running Ignition. A failed ping is a network fault; fix routing, cabling or addressing before touching driver settings. A passing ping proves only the path to the CP.
- Confirm the host is the CP's address, not another interface on the plant network.
- Re-check rack and slot against the hardware configuration, especially where rack numbers other than 0 apply or several CPUs share the rack — each CPU keeps its own slot.
- Do not swap the CPU and CP slot values to force a connection: both are wrong, in opposite directions, as the worked example shows.
Questions asked
Does anything need to change in STEP 7 for Ignition to connect?
No. The CP 443-IT keeps the IP it already has and the CPU keeps its slot; STEP 7 is only the reference you read those values from. If you can program the CPU online through the CP, the communications path already works, and the remaining work is entering the CPU's rack and slot in the Ignition device.
A ping to the CP succeeds but the device still shows Disconnected. What does that tell me?
It tells you the network path is proven and the CPU identity is not. Go straight to the device's rack and CPU slot, compare them with the hardware configuration, and correct the slot — on this class of fault that is the whole fix. Remember that each CPU in a multicomputing rack is addressed by its own slot, so a rack holding several CPUs needs the slot of the one you want.
Can I find the rack and slot without opening the project?
Count the physical positions in the central rack from the left: slot 1 is the first position, normally the supply, which takes one position if narrow or two if wide, and the CPU is the next module. A single central rack is rack 0. The hardware configuration in STEP 7 remains the authority whenever the count and the project disagree.
The device is Connected but writes fail with Bad_ReadOnly. Is the slot still wrong?
No. Bad_ReadOnly is a tag-level status, not a connection status: reads are proven and the write target is not writable as addressed. Check that the tag is device-backed and writable, confirm its address points at the intended PLC variable, then test that one address from the engineering tool with the machine in a safe state. Changing the slot again will not help.
The project will not migrate to TIA Portal because of unsupported modules. Does that block Ignition?
No. The driver talks to the running CPU over the CP, not to the engineering tool, so a failed migration changes nothing for connectivity. Keep the project in STEP 7, read the rack and slot from its hardware configuration, and leave migration out of the connection problem entirely.