IMDHMIControls LibraryShop main store

Troubleshooting

Why CompactLogix comms are lost after an Ignition upgrade

Industrial networks Published 9 min read By IMDHMI controls team

Short answer

Comms loss that survives a gateway rollback lives in the controller's Ethernet layer, not in the gateway version. Half-open TCP sessions and refilled session tables on CompactLogix L32 and L35 processors and 1756-ENBT modules refuse new connections while CIP counters look healthy; compare a dead module's counters against a healthy twin, then migrate one rack to the Allen-Bradley Logix driver before touching the fleet.

On this page
  1. Match the symptom to the likely layer
  2. Ping one dead PLC and one healthy PLC
  3. Read the module's connection counters against a healthy twin
  4. Counting TCP sessions on a CompactLogix rack against its 64-connection limit
  5. Take the gateway out of the circuit and watch recovery
  6. Pair the driver with the firmware
  7. Migrate one rack to the Allen-Bradley Logix driver
  8. The decision for each case
  9. Questions asked

Comms loss that survives a gateway rollback is not a gateway problem. On this fleet — roughly 30 to 40 Rockwell controllers, mostly CompactLogix L32 and L35 processors and ControlLogix racks with 1756-ENBT Ethernet modules — the 7.9-to-8.1 upgrade acted as a catalyst: an unclean restart left half-open TCP sessions on each module, the legacy Allen-Bradley drivers refill the session table faster than it ages out, and older Ethernet-module firmware can leave fewer session slots than the documented limit. The processors stayed in Run throughout, which fits that diagnosis. Work the checks in order: ping, read the module's counters, count sessions against the documented limit, then pair the driver with the firmware and migrate one rack.

Match the symptom to the likely layer #

What you see Likely layer First check
No ping reply, processor in Run Hung Ethernet port, switch port fault, duplicate IP Ping one dead and one healthy PLC
Ping clean, RSWho shows nothing or an X TCP sessions or CIP resources inside the module Read the module's connection counters
Recovers after a power cycle, fails again minutes to hours later Reconnect load refilling the session table Count the sessions on the dead rack
Only L32, L35 and ENBT racks fail; healthy PLCs share the same network Module generation plus driver and firmware pairing Pair the driver with the firmware
The historian reaches every PLC, Ignition and RSLinx do not Per-client session pattern, not cabling Take the gateway out of the circuit

A CIP connection count sitting near half of the allowed value does not clear the module. That counter counts CIP connections — class 3 and I/O — while TCP sessions, unconnected message buffers and packet discards are separate resources, and any of them can run out first. The technical data draws the same line: Rockwell's CompactLogix communication module data, publication 1769-TD007, lists TCP/IP communication connections of 64 and 96 for the modules it covers, and the ControlLogix data, 1756-TD003, lists CIP I/O and CIP messaging limits per module as separate numbers. Routed MSG traffic draws on unconnected buffers and fails with a signature of its own — Why an MSG connection failure points to the message path walks that diagnosis.

One signature deserves its own path: if every controller drops at once and a single gateway restart clears them all, you are looking at a gateway-side session failure, not this fault — Why Ignition OPC UA connections drop on all controllers at once covers that pattern.

Ping one dead PLC and one healthy PLC #

Run a continuous ping for one minute against one dead PLC and one healthy PLC, from a laptop on the same subnet, not from the gateway. No reply, or replies with drops, means the module is not servicing the network at all: work the switch port first (link state, speed and duplex, error counters), then duplicate IP addresses and ARP entries; a capture on a mirrored port shows whether the module answers ARP. Fix that layer 2 fault before anything else in this article.

Clean replies mean the IP stack is alive and the TCP and CIP layers are where the fault sits. Because the historian reaches every PLC, expect clean pings here; run the check anyway, it costs two minutes and removes the obvious suspect.

Read the module's connection counters against a healthy twin #

Read the diagnostics on one failed module and one healthy module of the same model, from the module's built-in diagnostic web pages or the Ethernet statistics RSLinx shows in the module's properties. Take the readings in this order: open TCP sessions and CIP connections, current and peak; discarded packets, receive errors and any buffer-overrun counter; then the link speed and duplex the module actually negotiated.

Decide on the comparison:

  • TCP session count at or near the module's limit on the dead rack and low on the healthy twin: session exhaustion. Count the sessions next.
  • Counters normal while the module still ignores CIP requests: treat it as a driver and firmware pairing problem.
  • The diagnostic page itself will not serve: the module is saturated. Power cycle it, read the counters immediately and watch them climb — the climb shows you the load generator.

Firmware changes capacity as well as behavior. Rockwell's release note for the 1768-ENBT series A states the module allowed 55 TCP connections instead of the 64 TCP connection limit until firmware revision 4.005 restored the full value. Record the Ethernet module's firmware revision alongside the processor's; the module's revision can matter more than the processor's.

Counting TCP sessions on a CompactLogix rack against its 64-connection limit #

The inputs for one dead rack:

  • Limit: 64 TCP/IP communication connections, the smaller of the two values publication 1769-TD007 lists for the modules it covers. This example rack is one whose row carries 64; read the row for your own catalog number before reusing the arithmetic.
  • Live sessions, example inputs for one rack, not measurements from your plant: 10 from the Ignition legacy driver, 4 from a PanelView terminal, 2 from a historian collector, 2 from a RSLinx laptop.
  • Stale sessions the module still holds after the unclean gateway restart, read from its diagnostic page: 48, again an example input.

The rule: a module refuses every new TCP session once open sessions reach its limit, so compare total demand — live sessions plus stale sessions — against the limit, and the surplus is refused.

The arithmetic: live demand is 10 + 4 + 2 + 2 = 18 sessions. Total demand is 18 + 48 = 66 open sessions against a limit of 64, so 66 - 64 = 2 session requests are refused. RSWho cannot open its session and shows the processor with an X, while the CIP connection counter reads about half of its allowed value.

That is the result: the module is exhausted at the TCP layer, not at the CIP layer. The decision: demand at or above the limit means saturated. Take the load generator out of the circuit, wait for the stale sessions to age out, and return it only when live plus stale leaves headroom. A bare boot that reconnects all 18 live sessions at once leaves 46 free slots, which is why a power cycle performed with the driver still enabled can saturate the module again within minutes — and why the same rack sometimes needed three or four cycles.

Take the gateway out of the circuit and watch recovery #

A gateway restart does not close its sockets cleanly on every path. The module holds the half-open sessions until its own TCP timeouts expire while the driver opens new ones on top, so the table never drains. Test one failed PLC with the gateway removed:

  1. Disable that PLC's device in the gateway, or stop the gateway service if the plant can afford the visibility gap. Leave PanelViews, RSLinx stations and historian collectors running.
  2. Capture on a mirrored port with Wireshark. With the PLC at example address 192.168.10.20, filter ip.addr == 192.168.10.20 && tcp.port == 44818; 44818 is the EtherNet/IP TCP port.
  3. Count new session attempts from the gateway — example gateway address 192.168.10.1 — with ip.src == 192.168.10.1 && tcp.flags.syn == 1 && tcp.flags.ack == 0 && tcp.dstport == 44818. Watch tcp.flags.reset == 1 and tcp.analysis.retransmission as well.
  4. Wait for the stale sessions to age out and retry RSWho, without a power cycle.

Read the outcomes this way. RSWho recovers with the device disabled and no power cycle: the gateway's driver is the load generator — go to the driver check. Still dead: a different client holds the sessions; disable the others one at a time, PanelViews first, then RSLinx stations, then historian collectors, and repeat the capture. Many SYNs per second from one host to the PLC: that is a reconnect storm, and the driver change targets it. Pausing antivirus on the clients moves nothing.

One safety note before any power cycle in this procedure: clear it with operations first, because cycling drops the processor's I/O to its configured fault state and a supervisory controller such as the boiler master loses sight of that rack for the interval.

Pair the driver with the firmware #

Record five fields per PLC in a table: model, processor firmware revision, Ethernet module catalog number and its firmware, gateway driver type, and symptom. The clustering tells you which fault you have. Failures grouped on one processor firmware revision point at a driver and firmware pairing; failures grouped on ENBT racks regardless of processor revision point back at module capacity, so read those counters and that module's firmware.

Two reports bear directly on a fleet like this, and both target the legacy Allen-Bradley drivers rather than the gateway code itself. One installation chased gateway CPU load and comms trouble until it replaced the legacy AB drivers with the Allen-Bradley Logix driver. The other ties the breakage to the final v20 firmware releases, which reportedly break the legacy drivers; the example given was a 1769-L35E, CompactLogix 5335E, on revision 20.19. Note any processor whose firmware was updated during the recovery attempts — a firmware update applied to a PLC that had worked under the legacy driver is a change you must account for.

The Allen-Bradley Logix driver documents firmware 21 and later on its device page, and it has been reported to work on processors below 21. Treat below-21 use as outside the documented range: pilot it on one rack and judge by that rack's counters and a full production shift of clean tag quality.

Migrate one rack to the Allen-Bradley Logix driver #

Run the migration on a single rack first — pick an L32 or L35 whose loss hurts least:

  1. Disable that rack's legacy device in the gateway.
  2. If the counters showed the module still wedged, power cycle the rack now, with the device disabled, so a reconnect storm cannot refill the table.
  3. Add a new device with the Allen-Bradley Logix driver at the same IP address and processor slot, and confirm RSWho sees the PLC and the open-session count reads low.
  4. Export the gateway tags. OPC item paths written for the legacy driver carry a Global. prefix, so search the exported file and remove it: Global.SomeTag becomes SomeTag (the tag name is illustrative).
  5. Import against the new device and check quality on every imported tag. A prefix left on one path reads bad quality with no PLC fault.
  6. Leave the rack on the new driver through a full production shift while watching the SYN rate to it and its open-session count.

If the new device's browse comes back short after the swap, Fix ControlLogix tags missing from Ignition OPC UA browse is the companion fault to work.

The decision for each case #

  • No ping reply with the processor in Run: layer 2 fault — fix the switch port, duplex or duplicate IP before any other step in this article.
  • Ping clean and the dead rack's TCP count at its documented limit while the healthy twin sits low: session exhaustion; take the gateway out of the circuit, find the load generator by its SYN rate, and confirm the open-session count falls with that device disabled.
  • Counters normal but CIP ignored: driver and firmware pairing; record every revision and pilot the Allen-Bradley Logix driver on one rack.
  • Failures clustered on ENBT racks across firmware revisions: module capacity — read the ENBT counters and the module's own firmware revision, not the processor's.
  • Pilot clean, meaning counters with headroom and clean tag quality for a full shift: migrate the racks behind the boiler master next, because losing group control there is the plant's real exposure, then the remaining racks one at a time with each legacy device disabled at the move.
  • Keep the gateway on 8.1: the failed rollback already proved the version was not the fault.

Questions asked

Can the legacy driver and the Allen-Bradley Logix driver run side by side in one gateway?

Yes. Each device entry in the gateway is independent, so the new device can sit beside the old one and take racks one at a time. Never leave two devices pointed at the same PLC: both open sessions, and on a module already near its session limit the second device doubles the reconnect load. Disable the legacy device for a rack as soon as its Logix-device tags pass verification.

Does the 55-connection figure apply to my 1756-ENBT?

No. That figure is specific to the 1768-ENBT series A: the release note states the module allowed 55 TCP connections until firmware revision 4.005 restored the full limit. Your 1756-ENBT's numbers come from its own row in the ControlLogix communication module technical data, which lists CIP I/O and messaging limits separately from TCP sessions. Read your catalog number's row and your module's firmware revision before comparing counts.

How long does a half-open session stay on the module?

Until the module's own TCP timeout expires, and that time is not published per module, so treat any prediction as unreliable. Read the open-session count from the module's diagnostic page right after the gateway restart, note the time, and read it again an hour later: a falling count shows slots freeing. If the count never falls, a client is still opening sockets and refilling the table faster than the timeouts clear it.

Why did some racks need three or four power cycles?

Each boot starts the module with zero sessions, but every client reconnects at once as the link comes up. If the driver opens new sockets without closing old ones, the session table refills toward its limit and the rack drops again. A cycle that lands on a clean table holds while the next one saturates. Disable the load generator before cycling and the first boot sticks.

Why did the historian keep working when Ignition and RSLinx failed?

Each client builds its own session pattern. The historian collectors, polling steadily with a small session footprint, rode through the saturation, while the gateway's legacy driver and the RSLinx stations kept reopening sockets. That split is diagnostic, not luck: cabling and switching are proven good, and the difference lies in how many TCP sessions each client holds and reopens. Use the healthy client as the comparison baseline when you read the counters.

Keep reading

  • Troubleshooting

    How a laptop reads CompactLogix data without RSLinx

    A ping to the 1768 ENBT proves only IP reachability, never process data. CompactLogix tags travel as CIP messages over EtherNet/IP, so the laptop needs a CIP client — driver, HMI or your own code — or a converter in the path. Prove the path with one known-tag read before adding display software.

    Industrial networks

  • Troubleshooting

    Reaching PLC-5 and SLC 500 data through a ControlLogix DH+ bridge

    Yes. An OPC UA server reaches PLC-5 and SLC 500 processors through a ControlLogix Ethernet-to-DH+ bridge when its Allen-Bradley driver documents routed legacy access. Confirm the driver, inventory the bridge modules, build each connection path to the DH+ node, and prove one read — the 1756-DHRIO carries 32 connections per DH+ channel.

    Industrial networks

  • Troubleshooting

    Reading Modbus TCP from a ControlLogix PLC without a gateway

    Yes — ControlLogix reads Modbus TCP without a gateway card through Rockwell's sample Modbus TCP driver, but only on controller firmware version 20 or later with socket-capable Ethernet hardware such as a 1756-EN2xx module at firmware 5.007 or later. If either side misses the gate, use a standalone EtherNet/IP to Modbus TCP converter. When the driver runs, prove one request against a known-good PC client and match unit ID, start address and count field by field.

    Industrial networks

Why a TP700-assigned IP address reverts on an S7-1200 power cycle