IMDHMIControls LibraryShop main store

Troubleshooting

Why enabling O2T registers drops a UR PROFINET connection

Industrial networks Published 5 min read By IMDHMI controls team

Short answer

When a UR5e drops PROFINET the moment O2T registers are enabled and warns that the registers may be controlled by another device, the fault is register ownership, not the network. Clear the existing owner on the robot, align the PLC output module with the robot's configured input data, then re-enable only the registers the handshake needs.

On this page
  1. What the robot is refusing
  2. Separate a link fault from a configuration fault
  3. Find the interface that already owns the registers
  4. Match the PLC module to the robot's input data
  5. Working the O2T 8-to-10 claim on a UR5e
  6. Re-enable in one controlled pass
  7. Prove the data path, not just the link
  8. Questions asked

Your UR5e is not losing the network when you enable the O2T range: it is refusing the module that would hand your PLC control of those registers. The robot's PROFINET screen reports that it could not enable the I/O device module for register control and warns that the registers "may be controlled by another device"; the controller then drops the connection, and disabling O2T registers 8 to 10 restores it. That pattern is a register-ownership conflict, not a cabling fault. The repair has a fixed order: find and clear whatever already controls the range, make the PLC's output module describe exactly the input data the robot expects, then re-enable only the registers the handshake uses and prove the path with a test write.

What the robot is refusing #

Under PROFINET IO (IEC 61158 Type 10) your CODESYS controller is the IO controller and the robot is an IO device, and the standard assigns any piece of device data to exactly one controller; even a shared device hands out its submodules exclusively. Two interfaces claiming one register range is therefore a configuration fault, and the robot's warning is how that fault surfaces.

O2T is the PLC-output-to-robot-input direction; T2O is the reverse. When your controller enables O2T registers, it asks the robot to accept a module mapping them, the robot declines, and your connection goes down with it; one controller implementation even logs the conflict on its own side as a fault on module 8_O2T. Disabling the range removes the request, which is why communication returns although nothing has been repaired: the link was never the part that failed.

Read both ends while toggling the range, the PLC's connection status and the robot's PROFINET screen, before changing any mapping.

Reading Meaning Next check
Connection drops only when the O2T range is enabled The module request triggers the failure Register ownership, then the module comparison
Connection fails with the range disabled as well The register selection cannot explain it Cabling, switch port, device reachability, both diagnostic buffers
Link stays up while the robot shows the ownership warning Transport is healthy; the robot is rejecting the module Ownership and the module's data description

The first row is your case: the failure follows the enable, so stop testing cables and go to ownership.

Find the interface that already owns the registers #

The warning names no device, so you identify the owner by elimination. Work through the candidates:

  • A second PROFINET controller holding a live connection to the robot: another PLC, or an engineering computer with a controller configuration still loaded.
  • Another fieldbus interface left enabled on the robot with the same registers assigned; the robot serves one primary fieldbus at a time, the same limit described for PROFINET and Modbus on the same device: why one primary fieldbus.
  • A session left open by a controller that was reloaded or re-addressed without releasing the connection.
  • The robot's own fieldbus configuration, where registers can remain enabled from an earlier setup; the selection sits under the Installation tab, in the Fieldbus section, where the UR PROFINET guide has you select PROFINET.

The rule is one owner per register range, without exception. Disconnect every controller except yours and disable any second interface on the robot; the ownership warning must be absent from the robot screen before you enable anything. If it persists with your PLC connected and the range still disabled, the remaining owner is inside your own controller's configuration, and the module comparison decides it.

Match the PLC module to the robot's input data #

With the range clear, both ends must describe the same data. In the CODESYS project the robot is a PROFINET device whose configuration carries the output module and the enabled O2T registers; on the robot, the PROFINET configuration states which input registers it expects and in what layout. An enabled register the robot does not expect changes the module it must accept, and the robot refuses the whole module rather than part of it. Compare, in this order:

  • Which O2T registers the PLC module enables, and in which positions.
  • Which input registers the robot's configuration offers, and in which positions.
  • That the two lists are the same list: same registers, same order.

Working the O2T 8-to-10 claim on a UR5e #

Inputs: the first register the PLC enables is O2T 8 and the last is O2T 10, both taken from the configuration that drops the connection. Rule: an enabled range counts inclusively, so the registers claimed equal the last number minus the first plus one. Arithmetic: 10 − 8 + 1 = 3. Result: the selection claims three O2T registers, and that is the whole claim your PLC puts on the robot. Decision: with zero other owners shown on the robot, re-enable exactly those three and stop there. Beyond the three the handshake needs, every extra register changes the output module the robot must accept, so widen the range only after this minimal set holds.

Re-enable in one controlled pass #

  1. Record the working state with the range disabled; export or photograph both configurations, because that is the rollback point.
  2. Clear the owner: second controller disconnected, second interface disabled, robot screen free of the warning.
  3. Align the module so the PLC enables only the needed O2T registers in the positions the robot expects.
  4. Put the cell in a safe state first: the moment the module is accepted, your PLC's outputs drive robot inputs, and stale output data can start motion.
  5. Enable the range, then read both diagnostics immediately, the PLC connection status and the robot's PROFINET screen.
  6. If the connection drops again, roll back and change exactly one verified mismatch before the next attempt; repeating the same enable without a changed cause proves nothing.

An established connection is not proof the registers work. From the PLC, write a distinctive value, for example 7357, to output register 8, then read input register 8 on the robot and confirm 7357. Change the value once, to 7358, and confirm the change arrives, because a frozen image passes a single check. With the test value arriving and updating, the O2T path is proven; keep the recorded rollback until the cell has run a production shift on the new configuration.

If data now reaches the robot but nothing travels back, that is the separate behavior covered in Robot PROFINET data reaches the PLC in one direction only, and if bit-level output control misbehaves once the link is stable, see Why robot PROFINET digital output control fails from the PLC.

Questions asked

Does the robot's message name the device that controls the registers?

No. It states the registers may be controlled by another device and nothing more, and no screen lists the owner. Find it by elimination: disconnect every controller except yours, disable any second fieldbus interface on the robot, and retry. If the warning appears only when your PLC enables the range, the competing owner sits inside your own configuration.

Does restarting the robot controller help?

It clears a session a previous controller left open, which is one way a range stays owned with nothing obviously connected. Restart after you have disconnected the other candidates, not before, or you cannot tell which change fixed it. If the warning still returns with your PLC as the only attached device, the owner is in your configuration and the restart changed nothing.

Do T2O registers follow the same rule?

Yes, in the opposite direction. T2O carries robot outputs to PLC inputs under the same single-owner rule, so a second interface assigned to that range triggers the same refusal. Clear the owner the same way, enable only the registers the handshake uses, and prove the direction with a value written on the robot side.

Does a second robot on the network cause the same conflict?

No. Each IO device owns its own submodules, so a second robot does not contend for the first robot's registers; the conflict needs two controllers or two interfaces claiming one robot's range. When one controller runs several robots, configure each device with its own module and enable the O2T range per robot, then run the test write on each one.

Keep reading

  • How-to

    Exporting the GSDML for a CODESYS PROFINET device

    Export the installed PROFINET device entry from the CODESYS Device Repository: the export writes a ZIP archive whose XML is the GSDML to install in the controller's engineering tool. Then reproduce the module arrangement there and match the device name and subnet before downloading.

    Industrial networks

  • Troubleshooting

    Fix a Raspberry Pi PROFINET device not reachable in TIA Portal

    Discovery in TIA Portal's name-assignment dialog proves only that the Pi's link is visible. Reachability arrives when the CODESYS runtime lets the S7-1200 write the adapter address: set Adapter.0.EnableSetIpAndMask=1 under [SysSocket] in /etc/CODESYSControl_User.cfg, restart the runtime, and retry name assignment on a current runtime.

    Industrial networks

  • Troubleshooting

    Fix CODESYS PROFINET IP-change error on an S7-1200 link

    The station shows in the scan because DCP discovery answers, but the connection fails because the CODESYS runtime refuses the IP address the controller assigns. Enable the IP-address update for the bound Ethernet interface in the runtime's .cfg configuration and restart the runtime; the error names the fix itself. If you would rather not enable it, set matching fixed addresses on both sides.

    Industrial networks

Why PROFINET GSD modules need slot-matched insertion in TIA Portal