DNP3 Master

DNP3 Master

The DNP3 Master driver is used to communicate via TCP/IP with RTUs, PLCs, or Intelligent Electronic Devices (IEDs) such as Protection Relays that support the DNP3 (Distributed Network Protocol).

These settings determine how the SCADA (Master) exchanges data with the field device (Outstation). This protocol is widely utilized in the Power/Energy and Water Automation sectors.

Connection Parameters

ParameterDescriptionExample Value
IP AddressThe IP address of the remote device (RTU/PLC) to communicate with.192.168.0.10
PortThe standard TCP port for DNP3 is 20000.20000
SettingsA data string containing protocol-specific advanced settings. Clicking this field opens the “DNP3 Master Dialog” for detailed configuration.[“NORMAL”,”1″,”60″,…]

DNP3 Master Dialog Settings

This window contains settings for timing, retries, and data class management for the DNP3 protocol.

ParameterDescriptionOptions / Default
Logging LevelDetermines the detail level of background logs. “NORMAL” is recommended unless troubleshooting.NORMAL (Default), ALL, APP_COMMS, NONE
Channel Retry Min.Minimum wait time (seconds) before attempting to reconnect after a link failure.1
Channel Retry Max.Maximum limit for the reconnection wait time (seconds). The system increases the wait time exponentially between failed attempts up to this limit.60
Local AddressMaster ID: The address of the SCADA system within the DNP3 network.1
Remote AddressOutstation ID: The DNP3 address of the target RTU or PLC.100
Keep Alive Timeout (s)Frequency of TCP-level “Keep Alive” packets sent to verify link integrity.30
Time Sync. ModeThe method the Master (SCADA) uses to synchronize the Slave device’s clock.NonLAN: Standard (for high-latency networks).
LAN: Precision (for local networks).
None: No sync.
Disable Unsol On StartupIf checked, automatically disables the device’s ability to send unsolicited messages when the connection is first established.Checked (Enabled)
Unsol Class MaskDefines which data classes are permitted to send “Unsolicited” messages.AllClasses: Immediate updates for Class 1, 2, 3.
AllEventClasses: Event data only.
None: Polling only.
Startup Integrity Class MaskDefines which classes the Master reads completely (Integrity Poll) upon initial connection.AllClasses (Rec.): Full sync (Class 0,1,2,3).
AllEventClasses: Event classes only.
Integrity On Event OverflowDetermines if SCADA initiates an “Integrity Poll” when the device’s event buffer is full. Critical for preventing data loss.Checked (Enabled)
Event Scan On Events AvailableDefines which classes to read when the device raises the “Events Available” flag.None (Common): Used if Unsolicited is ON.
AllEventClasses: Scans Classes 1, 2, 3.
Poll Period (ms)General Poll: The frequency at which SCADA periodically reads data from the device (Class 0 Poll).1000 ms
Control Qualifier ModeDefines the index size used when sending commands (Write). Legacy devices may require 1-byte indexes.Always Two Bytes: Standard/Secure.
Allow One Byte: For legacy devices.
Response Timeout (s)Maximum time to wait for a response from the device after a request is sent.5
Task Retry Period (s)Wait time before retrying a timed-out or failed task.5
Task Start Timeout (s)Maximum time a task can wait in the queue before starting.10

Addressing Format and Data Types

When creating tags in Wise SCADA, the following abbreviations are used for DNP3 data groups:

Group NoData Type DefinitionWise SCADA TagUsage Purpose
1 / 2Binary InputBDigital inputs (Open/Closed)
3Double-bit InputDBBTwo-bit states (Trip/Close/Fault)
30Analog InputAMeasurements (Temp, Pressure, etc.)
20CounterCCounter data (Energy Pulse, etc.)
10Binary Output StatusBOSFeedback for digital outputs
40Analog Output StatusAOSFeedback for setpoints
110Octet StringOSText-based data

Leave a Reply