After a restart, a DNP3 outstation may stay silent because settings were not saved (address, IP, baud rate) or because an old TCP session is still open at one end; or it may answer but send no data because the master never handled the restart flag or re-enabled unsolicited responses. Check layer by layer: network, port, link and application.
Symptom
A relay, recloser control or RTU restarted after a power loss, a firmware update or a settings load, and the control center does not get it back. It shows up in two ways: total silence (every request times out) or half a response (the outstation answers, but events do not arrive, the time is wrong or values do not change). Telling them apart saves half the work.
How the protocol works is covered in the DNP3 protocol guide. Here the subject is only what breaks after a startup.
Likely causes, from most to least likely
| Cause | How to recognize it | What confirms it | What rules it out |
|---|---|---|---|
| Settings not saved or reverted | Total silence since startup | IP address, DNP3 addresses or port differ from the backup | Settings read back match the backup |
| Stale TCP session at one end | Ping works; connection refused or ignored | An established connection with no traffic at master, outstation or firewall | No previous sessions and the port accepts connections |
| Master ignores the restart flag | Answers, but no events | Capture with IIN1.7 set response after response | The bit clears after the first exchange |
| Unsolicited responses not re-enabled | Polls work; changes arrive only through them | No enable command after startup | Capture shows enable and spontaneous events |
| Secure authentication or certificates out of step | Reads work but controls, or all traffic, are rejected | Authentication errors, or certificate invalid because the clock is old | Authentication not in use |
| Serial settings or terminal server changed | Serial links: noise or nothing | Baud rate, parity or converter mode changed | Identical settings at both ends |
| Damage from the event that caused the restart | No ping and no local port | Device indicators, local console unresponsive | The device runs and can be queried on site |
How to diagnose it
- Confirm the outstation booted: indicators, display and local event log. Note the startup time and reported cause.
- Network: physical link at the switch, ping from the master’s segment and the address the device really has. A device that loses its static address may come back with the factory one.
- Transport: try to open the configured TCP port (the usual DNP3 port is 20000, but check your installation). A refused port means service down or different port; no reply means filtering or routing; an accepted connection means looking higher up.
- Sessions: count connections at the outstation, gateway and firewall. Many outstations accept a limited number of masters; if the old session was never closed and there are no keep-alive messages, the new one stays out until it expires.
- Link and addresses: capture traffic. If requests leave and nothing returns, compare source and destination DNP3 addresses in the frame with the outstation configuration.
- Application: if there are responses, read the internal indications. IIN1.7 asks to clear the restart flag; IIN1.4 asks for the time; IIN2.3 says the event buffer overflowed and data was lost.
- Master sequence: after startup the outstation may send an empty unsolicited response to announce itself and send no events until the master enables them. Check the capture for: restart flag clear, time, integrity poll and enable by class. Classes are explained in points, event classes and unsolicited reports.
- Security: with authentication or TLS, check that the clock did not fall back to a date before the certificate is valid and that keys were retained; see secure DNP3 and IEC 104.
To read captured frames you can use the DNP3 and Modbus decoder.
Illustrative example
Invented situation. An outstation restarts at 14:00. The master polls every 10 seconds, waits 5 seconds for a reply with two retries, and runs an integrity poll every hour. The link is back at 14:01 and event class polls are answered, but the master had no action configured for IIN1.7. The outstation sends no spontaneous events and analog values refresh only with the integrity poll: a change at 14:05 may not appear as a value until 15:00 if it was not assigned to a polled class. The fix is in the master, which must react to the bit with the full startup sequence, not in the outstation.
What to do
- Lost settings: load the verified backup, save it to non-volatile memory and prove with a controlled restart that it survives. This needs an approved window.
- Stale session: close the old connection, enable link or TCP keep-alives and set the timeout at both ends.
- Ignored restart flag: configure the startup sequence in the master and test it.
- Unsolicited responses: enable the right classes and confirm the master acknowledges them.
- Time and certificates: make a time source available from startup.
- Overflowed buffer: run an integrity poll and recover the sequence from the device’s local log, which the protocol no longer delivers.
- No sign of life: on-site inspection by qualified personnel; the device may need repair.
Field checklist
- Restart time and cause noted.
- Link, ping and IP address verified.
- DNP3 port tested from the master’s segment.
- Open sessions counted at outstation, gateway and firewall.
- DNP3 addresses compared with the capture.
- IIN bits read and startup sequence reviewed.
- Spontaneous events tested with a safe change.
- Controlled restart repeated after the fix.
What not to do
- Do not test communications by operating outputs: use input points or an agreed test signal.
- Do not restart an in-service protection device without backup protection and operations approval.
- Do not expose the port to external networks or disable authentication to get by.
- Do not load a settings file without confirming version and device: it may change protection, not just communications.
When to call us
Call us if the capture shows a sequence you cannot interpret, if the outstation loses its settings at every startup or if master, gateway and outstation must be reworked together. We review profiles and captures. We configure it remotely: send us your DNP3 case.
Related guides
- DNP3 protocol structure and use
- Event classes and spontaneous messages
- How to read the device profile
- DNP3 or IEC 104 link that keeps dropping
- Device that loses communication with SCADA
- Gateway that loses points after restarting
References
- IEEE 1815, Standard for Electric Power Systems Communications: Distributed Network Protocol (DNP3).
- IEC 62351-5, security for IEC 60870-5 and derivatives.
- DNP Users Group, device profile format and conformance procedures.
Frequently asked questions
What does the restart bit mean in DNP3?
It is internal indication IIN1.7: the outstation announces in its responses that it restarted. The master should clear it with a specific write, set the time if the outstation asks for it, run an integrity poll and re-enable the unsolicited responses it uses.
Why does ping work but DNP3 does not?
Ping only proves the network layer. The DNP3 service may not have started, may listen on another port, may accept a single client that a stale session still occupies, or may filter the master address.
Is it worth restarting the outstation again?
It may restore the session and hide the cause, which will return at the next power interruption. Before repeating the restart, capture the traffic and note the active configuration.