IMDHMIControls LibraryShop main store

Troubleshooting

Why the local bus shows not running with an unrecognized rack element

PLC programming Published 6 min read By IMDHMI controls team

Short answer

A local-bus startup failure usually means the configured rack contains device entries the installed runtime's device repository cannot recognize, not that the wiring is wrong. Delete the unrecognized software objects, configure only the recognized modules in their physical order, keep the physical power distribution unchanged, and confirm bus status before testing any logic.

On this page
  1. What the error actually means
  2. Read the symptom before touching anything
  3. The six-slot rack that failed until two entries were removed
  4. Rebuild the rack configuration in a controlled sequence
  5. Verify the repair at each layer
  6. Fixes that waste time
  7. Questions asked

The local-bus startup stops with an error when the configured rack contains device entries your installed runtime cannot recognize — most often passive potential distribution modules that occupy a physical slot but have no device description in the runtime's repository. The fix is configuration, not wiring: delete the unrecognized software objects, represent only the modules the runtime can select, keep the physical rack exactly as it is, and verify the bus status before you test any logic.

What the error actually means #

The runtime must reconcile the configured module sequence with the hardware it discovers on the local bus. A device entry that has no usable description in the installed device repository cannot be assigned and validated like an ordinary I/O module, so local-bus initialization stops before cyclic I/O exchange begins. The physical assembly can be electrically perfect and the error still appears.

This is a recognition failure, not a communication failure in the usual sense. The vendor's diagnostic documentation for this module family lists causes such as a communication error, a local bus device removed or a configured device missing, and a reset at a local bus device — a configured-but-undescribable element lands in that family of faults even though nothing was removed.

Read the symptom before touching anything #

Separate the layers first, because they need different fixes:

  • Error: Local Bus not Running on the controller — the configured rack holds entries the installed runtime or its device description does not recognize. Compare every slot against the physical rack before rewiring anything.
  • The rack runs in the vendor's engineering tool but fails under the third-party runtime — wiring and module order are fine; the two tools support different device definitions. Check repository recognition before pulling modules.
  • A remote device cannot be inserted at the project root — a hierarchy problem, not a local-bus problem. A PROFINET device belongs beneath an Ethernet device and a PROFINET Controller, and the GSDML must be installed first; the article on exporting the GSDML for a CODESYS PROFINET device covers that installation step.

One naming detail matters here: the controller in the failing case is catalog number 2404267, AXC F 2152, while the I/O modules carry the AXL designation. Searching the device repository for the wrong prefix sends you down a path that does not exist.

The six-slot rack that failed until two entries were removed #

This is a real, reproducible case, run on CODESYS V3.5 SP19 Patch 4 with CODESYS Control for PLCnext V4.10.0.0, on the AXC F 2152 with a 1088136 AXL F BP SE6 module carrier.

Inputs. The rack as built to the physical layout:

  • Slot 1: 1088129 AXL SE DO16/1 (digital output module)
  • Slot 2: 1337224 AXL SE PD16 GND (potential distributor)
  • Slot 3: 1088127 AXL SE DI16/1 (digital input module)
  • Slot 4: 1337223 AXL SE PD16 24V (potential distributor)
  • Slot 5: 1088123 AXL SE AO4 I 4-20 (analog output module)
  • Slot 6: 1088134 AXL SE SC-A (cover)

Rule. Every configured slot must map to a device entry the installed runtime can select and describe. A physical element with no such entry gets no software object; the runtime does not treat every occupant of a slot as cyclic I/O.

Check. Walk the six slots against the repository. Slots 1, 3, 5 and 6 select cleanly. The two potential distributors, 1337224 and 1337223, cannot be recognized — these modules are passive, system-free elements that support only the I/O-side electrical function without bus communication, and the installed package has no description to assign to them. Two undescribed entries out of six slots is enough to stop the bus.

Result. With the two potential distributor objects deleted, the successful configuration becomes slots 1 through 3 as the DO16/1, DI16/1 and AO4 I 4-20 in physical order, and slots 4 through 6 as the physical covers. The bus runs. The controller and the principal I/O modules never changed — only the software representation did.

Decision. If a configured rack element cannot be selected from your installed device repository, delete that software object and configure only the recognized modules in physical order. Keep the physical potential distributors in the rack; never remove hardware to shorten a project tree. If a later package exposes exact entries for those catalog numbers, test it on a project copy and confirm discovery before restoring the objects.

Rebuild the rack configuration in a controlled sequence #

Record the working project and wiring before you edit, then change one thing at a time:

  1. Open the device tree and record every configured slot, catalog number and module name.
  2. Compare that list with the physical sequence on the module carrier. Check catalog numbers, not abbreviations.
  3. Confirm each configured module is selectable from the installed repository.
  4. Delete the configured objects for any element the repository cannot describe — here, the two potential distributors.
  5. Represent the remaining recognized modules as consecutive slots in their physical order, and fill remaining physical positions with the recognized cover objects.
  6. Compile and resolve any stale I/O mappings left by deleted module objects.
  7. Download the application, restart the runtime as your workflow requires, and observe local-bus status before testing process logic.

Verify the repair at each layer #

Do not stop when the project compiles. Compilation checks the project model; it does not prove the runtime discovered the same physical topology.

  • Confirm the controller no longer reports the local-bus error.
  • Open online diagnostics and check that every configured local module is present without an identification or configuration mismatch.
  • Drive a known field signal into the digital input module and watch the input value change.
  • Command one safe test point on the digital output module and verify the physical output state.
  • Command the analog output with a controlled value and measure the loop with test equipment, confirming channel mapping and scaling separately from bus health.
  • Cycle controller power once, return to run, and repeat the bus-status check. A repair that survives only an online edit is incomplete.

One safety note: verify outputs from a state where commanded movement cannot endanger anyone — a bus that starts unexpectedly after your configuration change must not find a machine in an unsafe state.

Fixes that waste time #

Do not rebuild wiring first when the complete rack already operates in the vendor's own tool. The wiring is not the layer that failed. Do not reinstall device descriptions repeatedly hoping recognition appears; check whether the entry exists at all. And do not treat every passive or power-distribution element as cyclic I/O merely because it occupies a physical position — whether it needs a software object depends entirely on how the installed device package models it, so always use the actual catalog shown by your installed package and never substitute a similarly named module.

Questions asked

Do I have to remove the physical potential distribution modules from the rack?

No. The potential distributors stay in the rack and keep doing their electrical job. You only delete their configured software objects from the project, because the runtime has no device description it can assign to them. Removing the hardware would change the power distribution the rack depends on and buys you nothing.

Will a newer CODESYS package recognize the potential distributor entries?

That depends entirely on the device definitions shipped with your installed package, and the failed setup documented here ran on CODESYS V3.5 SP19 Patch 4 with CODESYS Control for PLCnext V4.10.0.0. If a newer package adds entries for those catalog numbers, test it on a copy of the project and confirm the bus runs before restoring the objects. Never assume a similarly named entry is the same module.

The rack runs fine in the vendor's own engineering tool. Why fail under a third-party runtime?

The two tools validate the rack against different device catalogs. The vendor tool has descriptions for every physical element; the third-party runtime only recognizes entries in its own device repository. Physical correctness in one tool does not guarantee the other can describe each slot, so compare slot by slot against what the second runtime can actually select.

How is this different from a PROFINET coupler that will not appear in the project?

A local-bus fault is the runtime rejecting slots on its own module carrier. A coupler that cannot be inserted at the project root is a hierarchy problem: a PROFINET device belongs under an Ethernet device and a PROFINET Controller, not directly under the root, and the GSDML must be installed first. Same controller family, two different layers, two different fixes.

Keep reading

  • Troubleshooting

    When a CODESYS TON works in structured text but not ladder

    The structured text routine counts because its four statements run in sequence inside one scan; the ladder version fails when the reset network clears Timer.Q before the addition samples it, or an unconditional reset restarts the timer every cycle. Put the call, the Q test, the addition and the reset of the same TON instance in one ladder network, left to right in that order, and it counts exactly one B per interval.

    PLC programming

  • Troubleshooting

    Why 1769 modules show a red X in RSLinx

    The red X is a stale browse marker, not a module fault: with no application firmware or project loaded, the 1768-L45 cannot forward CIP traffic from the 1768-ENBT across the backplane to the 1769 bank, so every module behind it browses stale. Load matching firmware and a project with the correct I/O tree first, then bring up DeviceNet power, baud rate and node addresses through the scanner's own port.

    PLC programming

  • Explainer

    Why a Linux C++ app must not share KBUS with CODESYS on a PFC200

    On a PFC200, CODESYS and a Linux C++ program cannot both open the KBUS that runs the local I/O modules — one bus, one owner. Keep I/O acquisition and interlocks in CODESYS and hand values across the boundary with shared memory or a C-compatible library built from the BSP example, so the cyclic task's execution time stays bounded and the C++ process sends its JSON to the server on its own schedule.

    PLC programming