Communication setup:
TCP/IP addressing: Standard ip address practices apply.
Port: 20000 is the default DNP3 port. If the PLC uses the standard port, it doesn’t need to be specified when setting the address in simpliscada’s site communication page. If a different port is specified apply in the format: 192.168.1.100:20000
Master Station and Outstation must be defined in the format Master/Outstation, for example 30000/12. Device addresses can be between 0 and 65,519 and are defined in the PLC’s configuration. Each device on the same ip network will have a different Station ID.
Protocol: As a protocol, DNP3 tag addresses have 3 elements
Group Type: indicates the type of data being used. Binary, Analog, Counter; and whether it is an input or output. *See chart below for most common group types.
Variation: each group has several sub types defining it further, known as variations. i.e. 30.1 = 32bit analog input, while 30.2 = 16bit analog input. Variation 5 will allow for decimal points.
Point Number, aka Index: this is the unique identifier pointing to each individual sensor, control, or alarm.
Simpliscada formats tag addresses as group.variation.index for example 30.5.301
Common Group Types and their Variations:
Supported data: As a protocol DNP3 supports several ways of collecting data. Not all are currently supported by Simpliscada.
Static Reads: these are values that are held in their registers as the last read value. This is the primary source of data that is read by Simpliscada.
Event Data: also known as unsolicited data, when a data point changes it attempts to report this value to the Master Station without a request. Not currently supported by Simpliscada.
Flags and Time: DNP3 has the ability to attach flags and timestamps to data reads. The flags contain error reporting and time includes info for when the data was read by the PLC. Not currently supported by Simpliscada.
Output Commands: DNP3 separates output command reads and writes. To simplify this Simpliscada combines read and write into one group type.
Group 10: for binary, combines Group 10 with Group 12 so that both read and write requests can be expressed as: 10.x.xxx
Group 40: for analog, combines Group 40 with Group 41 so that both read and write requests can be expressed as: 40.x.xxx
There are 2 types of digital outputs.
Pulse: These output for a set amount of time and then revert to their previous state. The time is stated in milliseconds. For example 10.x.xxx:P100
Latch: Simply toggles the state between 1 and 0. Uses our standard format of 10.x.xxx
Attached is a detailed spreadsheet on each DNP3 variant.