Radio Link Timeout: Troubleshooting SLC 500 MSG Errors

By editor 7 min read
Two PLCs linked by radio antennas with a broken signal and MSG error D9H, reply not received

A radio link timeout on an SLC 500 happens when a MSG instruction cannot complete across the radio connection within its allowed time. Start with the MSG error code. D9H means the reply came back too late, while D4H, D5H and D8H point to connection problems. Then measure the real round-trip delay, reduce message traffic and set a timeout that fits the link instead of simply making it longer.

Symptom or codeLikely meaningFirst check
D9HReply was too lateRound-trip delay and message load
D4HConnection did not completeIP address, route, radio link
D5H or D8HConnection droppedRadio stability and signal
WQ bit onMSG queue is fullToo many messages
MSG stuck with ST onWaiting for a replyTimeout may be set to 0
Quick MSG timeout guide, based on the SLC 500 Instruction Set reference.
Safety first: A communication failure must leave the process in a safe state. Do not change timeouts, force bits or edit logic on a running system until you know how the remote equipment responds to lost communication.
0
Timeout means wait forever
23 s
Default SLC 5/05 Ch 1
4
Max CO MSGs per channel
1.5–2×
Timeout vs measured floor

How an SLC 500 MSG Times Out

MSG path over a radio linkA message passes through the SLC queue, Ethernet connection, radio link and target, and the reply must return in time. Different points produce different status bits or error codes.Where a radio-linked MSG can stallSLC MSGQueue and buffersEthernetConnectionRadio linkDelay and retriesTargetProcesses requestReplyMust return in timeWQ bitQueue fullD4HNo connectionD5H / D8HLink dropped07HNo responseD9HReply lateIndustrialBasicsindustrialbasics.com
Figure 1: The error code helps show which part of the path failed. Codes from the SLC 500 Instruction Set reference.

On SLC 5/03 and higher processors, the built-in MSG timer makes the instruction error when the timeout expires, so your logic can retry it. A timeout of 0 means there is no timer. If communication is interrupted after the message is acknowledged, the instruction waits forever and can look locked up.

The SLC 500 reference lists default timeouts of 5 seconds for SLC 5/03, 5/04 and 5/05 channel 0, and 23 seconds for SLC 5/05 channel 1.

The SLC 5/05 Ethernet timeout formula

For an SLC 5/05 channel 1 MSG, you cannot change the Message Timeout in the Ethernet Message Setup dialog. The processor calculates it:

Message Timeout = MSG Connection Timeout + MSG Reply Timeout + 5 s

For example, an 8 second connection timeout and a 5 second reply timeout give 8 + 5 + 5 = 18 seconds. Change those values in the channel 1 configuration, and remember that the result applies to all MSG instructions on that channel.

MSG Error Codes for Radio Links

CodeMeaning in the SLC referenceWhere to look
07HTarget node does not respondNode, power, path
09HLocal modem connection has been lostModem link
37HMessage timed out in local processorTimeout and path
D1HMaximum connections usedToo many connections
D4HConnection not completed before user-specified timeoutIP, route, radio link
D5HConnection timed out by the networkNetwork or radio dropouts
D7HConnection refused by destination hostTarget configuration
D8HConnection was brokenLink stability
D9HReply not received before user-specified timeoutLatency or target load
DAHNo network buffer space availableMessage load
Selected MSG error codes from the SLC 500 Instruction Set, publication 1747-RM001D.
MSG error code responseD4H means check the address and route, D5H or D8H means check link stability, D9H means measure delay and adjust, and D1H or DAH means reduce message traffic.First response to a MSG timeoutD4HConnection not completedCheck IP, route and link upD5H / D8HConnection timed out or brokenCheck radio stability and signalD9HConnected, reply is lateMeasure delay, cut load, adjust timeoutD1H / DAHOut of connections or buffersReduce and stagger MSG trafficIndustrialBasicsindustrialbasics.com
Figure 2: Use the code to choose the first check.

Read the MSG Status Bits

BitNameWhat it tells you
ENEnableRung went true and space was available
EWEnabled and waitingMessage is in a transmit buffer
STStartAcknowledgment received, with special meaning on some links
DNDoneMessage completed successfully
ERErrorMessage failed
COContinuousMessage keeps resending
WQWaiting for queueThe queue is full
TOTimeoutRemoves an active message from control
Main MSG control bits.
Reader tip: On SLC 5/05 Ethernet, ST does not prove the message reached the target. The manual says it indicates the Ethernet daughterboard accepted the command for a transmission attempt.

The continuous message trap

The CO bit is convenient, but it has a catch. If a continuous MSG errors before its timeout, it retries automatically. If it errors because of a timeout, it stops triggering until EN is toggled off and back on. On a radio link, one bad period can therefore stop polling until the logic or an operator restarts it.

Each CO message also occupies one of the channel’s four transmit buffers. If all four are used, no other MSG can run on that channel, including one in a fault routine.

How to Troubleshoot Step by Step

  1. Record the error code and how often it occurs.
  2. Test the path. Confirm IP settings, gateway and that the target responds.
  3. Check the radio. Use its diagnostics for link state, signal quality and retries, based on the maker’s limits.
  4. Measure the round-trip time under normal traffic and at the busiest time.
  5. Reduce the load. Stagger messages, combine data and slow non-critical polling.
  6. Set the timeout from the measured delay.
  7. Add recovery logic so the MSG retries and raises an alarm.
  8. Log failures so that a worsening link shows up early.

Setting a sensible timeout

FlowFuse suggests finding the response-time floor and multiplying it by 1.5 to 2. If the slowest normal round trip on a link measures 1.2 seconds, that gives 1.8 to 2.4 seconds. This is a general guideline, so test it on your link and work within what the SLC settings allow.

Timeout too shortTimeout too long
Causes false errors on a healthy linkDelays detection of a real failure
Retries add more radio trafficA dead request holds up the queue
Can trigger nuisance alarmsRemote equipment may run on stale data
The trade-off when setting a timeout.

Slowing the poll rate can help, but it does not fix a weak link. Treat it as one test rather than the whole solution. For background, see PLC vs DCS vs SCADA and what a PLC is. For serial wiring on older links, see our DB9 pinout guide.

Safety note: This guide is educational. The SLC 500 is a legacy platform, so confirm details against the documentation for your processor, firmware and radio. Product names belong to their respective owners, and IndustrialBasics is not affiliated with Rockwell Automation.

Frequently Asked Questions

It occurs when a PLC message does not complete within its allowed time across a radio connection. Causes include delay, retries, weak signal, too much traffic or a timeout set too short.

What does error D9H mean on an SLC 500 MSG?

It means the reply was not received before the user-specified timeout. The request may have reached the network, but the reply did not arrive in time.

What does error 37H mean?

The SLC 500 reference defines 37H as a message timed out in the local processor.

How is the SLC 5/05 Ethernet MSG timeout set?

For channel 1, the processor adds the MSG Connection Timeout, MSG Reply Timeout and five seconds. Change it in the channel configuration, and the result applies to all MSG instructions.

What happens if the MSG timeout is 0?

There is no timer. If communication is interrupted after acknowledgment, the MSG waits indefinitely and can appear locked up.

Why did my continuous MSG stop after a timeout?

With the CO bit set, a MSG that errors because of a timeout stops triggering. The EN bit must be toggled off and back on to resume.

How many continuous MSG instructions can one SLC channel run?

A maximum of four per channel, because each one occupies a transmit buffer. If all four are used, no other MSG can run on that channel.

Should I just make the timeout longer?

Only after measuring the real delay. A longer timeout can hide a failing link and delays fault detection, while a very short one causes extra retries and traffic.

Sources and Further Reading

About the author

editor

Leave a Comment