Troubleshooting
Why PROFINET reports ar consumer dht expired on four devices at once
Short answer
The message means the receiver's data-hold timer ran out because valid cyclic frames stopped arriving in time. When all four devices on one controller report it together, diagnose the shared controller task timing and the Ethernet path before any single device; re-seating the cable only rebuilds the connections until the same trigger recurs.

On this page
- What does ar consumer dht expired mean on a PROFINET controller?
- Why do all four devices fault at the same time?
- Is the single-core runtime the cause?
- How long does the data-hold window last?
- What should you record during the ten fault-free minutes?
- Does re-plugging the switch cable fix the fault?
- Should you update the image and license the multicore runtime?
- Questions asked
When every PROFINET device hanging off one controller reports AR consumer DHT expired together, the message says their cyclic frames missed the receiver's data-hold deadline, and the cause sits in what the four connections share: the controller's PROFINET task, its Ethernet port, the uplink cable or the switch. Re-seating the plug restores service for roughly ten minutes because it rebuilds those connections; it removes nothing. On a RevPi Connect running CODESYS V3.5 SP15 Patch 3 with four IO devices and a single-core runtime, the sequence below gives the timer's meaning, the arithmetic of its window, the measurements that split controller timing from the network path, and the legitimate update and licensing route when the core limit is the culprit.
What does ar consumer dht expired mean on a PROFINET controller? #
It means the consumer end of an application relation, the cyclic connection between the controller and one IO device, received no valid frame before its data-hold timer expired, so the runtime aborts that connection and the device drops out.
An application relation, AR, pairs the controller as provider with the device as consumer, and the consumer supervises the arrival of cyclic data. DHT is the data hold timeout; the same event appears as WDT expired when the stack names its watchdog instead. PROFINET troubleshooting guides from controller vendors record that a send clock set below 4 ms often cannot be maintained, and that the condition surfaces as exactly this abort, so an aggressive update time is itself a suspect. The wider family of these teardowns, including the watchdog variant, is covered in resolving AR consumer DHT and WDT expired RTA errors.
Why do all four devices fault at the same time? #
Four devices aborting together points at what the four connections share rather than at four independent failures, so the controller's PROFINET task, its port, the uplink cable and the switch are the suspects, in that order.
One controller schedules all four cyclic exchanges from the same communication task, so a task that stalls long enough starves every device in the same scan, and one broken uplink drops all four at once. Compare the diagnostic timestamps: aborts inside the same second confirm a shared trigger, and aborts staggered over a few seconds can still share it, because the four data-hold timers run out in sequence. Only a device that fails first and alone moves the search to that device's own link and configuration.
Is the single-core runtime the cause? #
It is the prime suspect when task monitoring shows the PROFINET task overrunning its cycle under application load, but a core limit cannot drop frames on a wire, so let the timing measurements decide before any license changes.
A single-core license binds the runtime to one core, so communication and application logic contend for the same execution time; a multicore-capable runtime for this platform is a separately licensed product from the runtime vendor. That runtime relieves scheduling pressure; it does not repair packet loss or a device configuration that does not match the connected hardware. The decision rule: dirty task timing convicts the runtime, clean task timing acquits it and moves the fault to the path.
How long does the data-hold window last? #
The window is a small multiple of the configured update time, so one short calculation tells you exactly how much slack the cyclic task has before every consumer on it expires.
Worked example, with illustrative values: the update time is set to 4 ms and the watchdog is configured as three update cycles, giving a data-hold budget of 3 × 4 ms = 12 ms. Task monitoring shows a maximum cycle time of 15 ms on the communication task when logging peaks, so every device on that task sees a 15 ms gap, and 15 ms − 12 ms = 3 ms beyond the budget; all four abort together. The fix is to pull the worst-case cycle back inside that budget: cut or move the competing work, correct the task priorities, or license the multicore runtime. Widening the watchdog instead hides the symptom while the controller keeps working with older process data for longer.
What should you record during the ten fault-free minutes? #
After a re-plug the connections typically run clean for minutes, here about ten, and that interval is the capture window: keep the cable untouched, work in a maintenance window where a communication loss cannot move the machine, and record the items below.
- Baseline: the project, device configuration, runtime settings and license state, plus the running kernel read on the device itself; a RevPi in this state should report the real-time build 4.19.95-rt38-v7, which improves scheduling without adding CPU capacity.
- Task timing: the configured cycle time, the actual cycle time, the maximum cycle time and the overrun counters of the communication task and the application tasks, watched for growth at the moment the aborts appear.
- Task order: which task wins the CPU is a priority decision, the same mechanism covered in CODESYS PROFINET task priorities on a ctrlX CORE.
- Competing work: file writes, logging and application peaks that build over the interval rather than arriving on a fixed timer.
- Port evidence: negotiated link state plus error and drop counters on the controller port and the switch, and a look at cables and connectors before anything is replaced.
- Foreign traffic: a network flooded with ARP requests is a documented trigger, since some PROFINET nodes raise DHT or WDT errors and stop communicating under that load, so separate unrelated traffic from the PROFINET path during a controlled test.
- A capture on a switch mirror port if the aborts persist, with frame gaps matched against the task overruns and link events on one timeline.
A device that still answers ping after its cyclic connection died fits the separate pattern in fixing PROFINET devices lost but still pingable in CODESYS V3: a timing fault, not an addressing fault.
Does re-plugging the switch cable fix the fault? #
It restores service for about ten minutes by tearing down and rebuilding the application relations, but the trigger is untouched, so use one re-plug to open the capture window and stop treating it as the repair.
Every further re-plug also resets the diagnostic state the diagnosis needs. A machine that heals on re-seating and falls over again on a rough period is the signature of a recurring shared trigger, and each unrecorded recurrence costs one more capture window.
Should you update the image and license the multicore runtime? #
Yes, both as controlled changes: bring the operating system current with the vendor-supported command, and when the timing data convicts the single-core limit, buy and activate the multicore runtime through the manufacturer's own store.
The vendor-supported update sequence on the device is:
sudo apt-get update && sudo apt-get upgrade && sudo reboot
The first command refreshes the package lists, the second upgrades installed packages, and the reboot runs only when the previous commands succeed. Review what the repositories offer before applying anything to a customer machine, keep a recoverable system backup and the project, and after the restart confirm the active kernel, runtime startup, network configuration and license status. The multicore product is CODESYS Control for Raspberry Pi MC SL, a single-device license per its datasheet; activation follows the vendor's documented procedure, and a license can instead live on a USB dongle so it is not bound to one board. Then redeploy the project and repeat the measurements: a maximum cycle time now held inside the data-hold budget closes the case, while aborts that continue with clean timing convict the path, not the runtime.
Questions asked
What does RTA_ERR_ABORT mean beside the DHT expired message?
RTA_ERR_ABORT is the runtime code some PROFINET stacks log when they tear a connection down after the data-hold or watchdog timer expires. It names the consequence, an aborted runtime connection, not the cause, so it does not change where you begin: controller task timing first when every device reports it together, then the shared Ethernet path.
Should the watchdog time be extended to stop the alarms?
Only when the configured update time genuinely changed and the watchdog no longer matches it. In one engineering environment the watchdog is set as a multiple of the update time, and a device updating every 10 ms behind a 12 ms watchdog is a mismatch worth correcting. Extending the watchdog to absorb missed frames only delays fault detection while the controller keeps serving older process data.
Can a successful ping clear the network path?
No. Ping proves only that IP packets reach the device; cyclic real-time frames can still arrive late or be dropped while ping succeeds, which is why a device can answer ping after the abort appears. Port error counters, negotiated link state and a capture on a mirror port decide the path question, not ping.
Does the multicore license change the PROFINET stack itself?
No. It lets the runtime execute tasks on additional cores so the PROFINET task is less exposed to application load; update times, watchdogs and the stack stay exactly as configured. It cures CPU contention and nothing else, so if task timing is already clean, licensing it will not stop the aborts.


