Skip to main content

DNP3

Device LAB Ethernet

DNP3 via the Site Runtime dnp3 (link/transport/app class polls).

PropertyValue
Console protocol iddnp3
Site Runtime plugindnp3
TransportEthernet (TCP/UDP)
Readyes
Writeno
Subscribe—
Device familiesOutstation, RTU
Default group interval1000 ms
MaturityLAB: runs end to end against simulators; known gaps are listed below
LAB protocol

DNP3 is marked LAB: it reads real devices and simulators, but not every corner of the reference behaviour is covered yet, and writes are disabled. Validate it on your equipment before production use.

Create the device​

  1. Open Connectivity → Devices and click Add device.
  2. Pick DNP3 in the protocol list.
  3. Choose the Site Runtime that can reach the device, fill the connection parameters below and click Create & connect.
  4. Add a group (poll interval) and tags with the address formats below. See Devices and Groups and tags for the full walk-through.

Connection parameters​

Every field the Console shows for this protocol. Required fields must be set before the device can be saved.

ParameterTypeDefaultRange / optionsRequiredDescription
Device IP Address
host
string—max 30 charsyesTarget Device IPv4 address
Device Port
port
int200001 – 65535yesTarget Device port
Master ID
masterid
int10 – 65535yesMaster ID
Slave ID
slaveid
int20 – 65535yesSlave ID
Polling interval Class0123
class0123_interval
int200000 – 65535yesClass0123 polling interval
Polling interval Class123
class123_interval
int10000 – 65535yesClass123 polling interval
Time Sync
time_sync
mapNoNo, YesyesTime Sync

Tag addresses and data types​

Supported data types: UINT8, INT16, UINT16, INT32, UINT32, FLOAT, BIT. The Console validates each tag address against the pattern for its data type before it is saved:

Data typesAddress pattern (regular expression)
UINT8^CROB\.[0-9]+:[0-9]+:[0-9]+:[0-9]+
INT16 UINT16^(20|22|30|40|41)\.(2|4|6)\.[0-9]+(|\.value)
INT32 UINT32^(20|21|22|30|40|41)\.(1|3|5)\.[0-9]+(|\.value)
FLOAT^(30|32|40|41|42)\.(3|5|7)\.[0-9]+(|\.value)
BIT^(1|2|10||11)\.(1|2|3)\.[0-9]+(|\.value)

Addressing and notes​

Address syntax and examples​

<group>.<variation>.<index>[.value]
CROB.<index>:<count>:<on time>:<off time>

group and variation are the DNP3 object group and variation. index is the point number.

AddressTypeMeaning
1.2.0BITBinary input, group 1, variation 2, point 0
10.2.3BITBinary output status, group 10, variation 2, point 3
20.1.0INT32Counter, group 20, variation 1, point 0
30.1.0INT32Analog input, group 30, variation 1, point 0
30.2.4INT16Analog input, group 30, variation 2, point 4
30.5.0FLOATAnalog input, group 30, variation 5, point 0
40.3.1FLOATAnalog output status, group 40, variation 3, point 1
CROB.12:1:0:3UINT8Control relay output block (a control). Writes are off in this version.

Take the group and variation from the point list of your outstation. The variation decides how the value is encoded, so it must be one the outstation sends. The pattern also allows a trailing .value. Which groups and variations the Console accepts for each type is in the pattern table above. The Console's check is group.variation.index, e.g. 30.1.0, or CROB.12:1:0:3.

Endianness​

Not applicable. DNP3 defines its byte order.

Typical settings​

SettingDefaultNote
Device IP Address, Device Portdevice IP, 20000
Master ID1The DNP3 address of MakeIntelligent (0 to 65535).
Slave ID2The DNP3 address of the outstation.
Polling interval Class012320000 msFull integrity poll.
Polling interval Class1231000 msEvent poll.
Time SyncNoTime synchronisation is not implemented.

Poll group interval: 1000 ms.

LAB protocol

DNP3 is LAB in this version. Known gaps: no Reset Link States before polling, limited decoding of events and multi-fragment responses, no time sync, and writes are off. Validate it against your outstation before production use.

Common errors​

SymptomCauseFix
No answerMaster and slave addresses swapped or wrong.Match Master ID and Slave ID to the outstation.
Tag badThe point is not in the class 0 response, or another variation.Check the point list and the variation.
Address refusedGroup, variation or form does not fit the type.See the pattern table above.
Disconnect, reconnectsThe link was closed by the peer.The runtime reconnects at most once per second. Check the outstation.
Write refusedWrites are off.Not available in this version.