Skip to main content

DNP3 Time Synchronization

By NFM Consulting 1 min read

Key Takeaway

How DNP3 time synchronization works between master and outstation — LAN and non-LAN procedures, accuracy, GPS alternatives, and why timestamps matter.

Quick Answer

DNP3 includes built-in time synchronization where the master sets the outstation's clock. IEEE 1815 defines two procedures: non-LAN (DELAY_MEASURE / function code 0x17, then a compensated Write Time — for serial and WAN links) and LAN (RECORD_CURRENT_TIME / 0x18, then Write Time with Group 50 Variation 3 — for Ethernet LAN). Do not use the LAN procedure over serial or high-latency WAN links. Accurate timestamps are critical for event sequencing, production accounting, and regulatory compliance.

Why Time Matters

DNP3 events carry timestamps from the outstation's clock. Inaccurate time causes event sequence ambiguity (did the alarm trigger before or after the shutdown?), production accounting errors, and regulatory compliance issues in custody transfer measurement. Outstations commonly assert the NEED_TIME IIN bit when their clock needs refresh.

Non-LAN Time Sync

Use for serial, radio, and IP WAN paths where propagation delay is material:

  1. Master sends a Delay Measurement request (DELAY_MEASURE, 0x17)
  2. Outstation responds immediately
  3. Master calculates round-trip delay
  4. Master sends Write Time compensated for half the measured delay
  5. Outstation sets its clock

LAN Time Sync

Use for Ethernet LAN only. The master sends RECORD_CURRENT_TIME (0x18); the outstation records when the last octet arrives. The master then Write Times with Group 50 Variation 3 using the time it recorded when the last octet left its Ethernet hardware. The outstation adjusts for its own receipt-to-clock-set interval. Delay measurement is not used on LAN.

GPS Alternative

For custody transfer and high-accuracy applications, GPS time receivers provide on the order of ±1 microsecond accuracy independent of master communication. Many RTUs (ABB Totalflow, SCADAPack) support GPS receivers for direct time synchronization.

SNTP/NTP

Ethernet-connected outstations can also synchronize via NTP/SNTP servers as an alternative or complement to DNP3 time sync.

Need help with scada & programming?

Texas-based licensed engineers — get a free, no-obligation assessment.

Frequently Asked Questions

Still have questions about your setup? Talk to an engineer or call (210) 405-4248.

Ready to Get Started?

Texas-based engineers ready to help with scada & programming — from assessment to 24/7 support.