DNP3
DNP3 via the Site Runtime dnp3 (link/transport/app class polls).
| Property | Value |
|---|---|
| Console protocol id | dnp3 |
| Site Runtime plugin | dnp3 |
| Transport | Ethernet (TCP/UDP) |
| Read | yes |
| Write | no |
| Subscribe | — |
| Device families | Outstation, RTU |
| Default group interval | 1000 ms |
| Maturity | LAB: runs end to end against simulators; known gaps are listed below |
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
- Open Connectivity → Devices and click Add device.
- Pick DNP3 in the protocol list.
- Choose the Site Runtime that can reach the device, fill the connection parameters below and click Create & connect.
- 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.
| Parameter | Type | Default | Range / options | Required | Description |
|---|---|---|---|---|---|
Device IP Addresshost | string | — | max 30 chars | yes | Target Device IPv4 address |
Device Portport | int | 20000 | 1 – 65535 | yes | Target Device port |
Master IDmasterid | int | 1 | 0 – 65535 | yes | Master ID |
Slave IDslaveid | int | 2 | 0 – 65535 | yes | Slave ID |
Polling interval Class0123class0123_interval | int | 20000 | 0 – 65535 | yes | Class0123 polling interval |
Polling interval Class123class123_interval | int | 1000 | 0 – 65535 | yes | Class123 polling interval |
Time Synctime_sync | map | No | No, Yes | yes | Time 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 types | Address 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.
| Address | Type | Meaning |
|---|---|---|
1.2.0 | BIT | Binary input, group 1, variation 2, point 0 |
10.2.3 | BIT | Binary output status, group 10, variation 2, point 3 |
20.1.0 | INT32 | Counter, group 20, variation 1, point 0 |
30.1.0 | INT32 | Analog input, group 30, variation 1, point 0 |
30.2.4 | INT16 | Analog input, group 30, variation 2, point 4 |
30.5.0 | FLOAT | Analog input, group 30, variation 5, point 0 |
40.3.1 | FLOAT | Analog output status, group 40, variation 3, point 1 |
CROB.12:1:0:3 | UINT8 | Control 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
| Setting | Default | Note |
|---|---|---|
| Device IP Address, Device Port | device IP, 20000 | |
| Master ID | 1 | The DNP3 address of MakeIntelligent (0 to 65535). |
| Slave ID | 2 | The DNP3 address of the outstation. |
| Polling interval Class0123 | 20000 ms | Full integrity poll. |
| Polling interval Class123 | 1000 ms | Event poll. |
| Time Sync | No | Time synchronisation is not implemented. |
Poll group interval: 1000 ms.
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
| Symptom | Cause | Fix |
|---|---|---|
| No answer | Master and slave addresses swapped or wrong. | Match Master ID and Slave ID to the outstation. |
Tag bad | The point is not in the class 0 response, or another variation. | Check the point list and the variation. |
| Address refused | Group, variation or form does not fit the type. | See the pattern table above. |
| Disconnect, reconnects | The link was closed by the peer. | The runtime reconnects at most once per second. Check the outstation. |
| Write refused | Writes are off. | Not available in this version. |