logo
You are in: Master DNP 3.0 Protocol Configuration Section  Home   Products & Services   Links   Contacts   Legal   What's new? 


Master DNP 3.0 Protocol Configuration Section





This procedure applies to latest revison.

You have to upgrade your databases to the following version:

If you have a DNP3 RTU, you are welcome to test the IndigoSCADA DNP3 open source master implementation.
You can connect IndigoSCADA to the RTU an make tests.
If you are a student, you may do a project like this:

Testing & Exploring Vulnerabilities of the Applications Implementing DNP3 Protocol

Testing & Exploring Vulnerabilities of the Applications Implementing DNP3 Protocol

This driver is made by the two modules: dnp3driver.dll and dnp3master.exe
dnp3master.exe is the protocol implementation, while dnp3driver.dll is a bridge with monitor.exe process.
dnp3driver.dll and dnp3master.exe are loaded automatically by monitor.exe when you configure a new unit of type DNP3

Creation of the new points

1 - Select the menu: System Control\System Manager

2 - Select the menu: Configure\Configure Units or "SCADA line"

3 - Press button New

4 - Fill in the edit field Name: DNP3 or a name containing the word DNP3, e.g. DNP3A, DNP3B, ...

5 - Select Type dnp3driver, flag Unit Enabled and press Configure button

6 - Fill in ServerID (the slave link address), DNP 3.0 slave IP address, TCP port of slave (e.g 20000 is the default), first IOA for AI, first IOA for BI, first IOA for CI, first IOA for BO, first IOA for AO, number of points and master polling time

6a - Where "first IOA for AI = 1", "first IOA for BI = number of AI + 1", "first IOA for CI = number of AI + number of BI + 1", "first IOA for BO = number of AI + number of BI + number of CI + 1", "first IOA for AO = number of AI + number of BI + number of CI + number of BO + 1"

7 - Press button Apply, wait that the Apply button return active and then press Exit

8 - Restart monitor.exe

Add the new points to HMI

9 - Select the menu: Configure\Configure Sample Points

10 - Set Comment, Type, Units and the limits of each new point. Press button Apply

- Set type M_SP_TB_1 for digital points

- Set type M_ME_TC_1 for analog points

Immagine01.png
1
Immagine02.png
2
Immagine03.png
3
Immagine24.png
4
Immagine25.png
5
Immagine26.png
6
Immagine25.png
7
RestartMonitor_rev167.png
8
ConfigureSamplePoints_rev167.png
9
Immagine27.png
10

HMI configuration with HMI designer

10 - Run the process C:\scada\bin\hmi_designer.exe

11 - Open the XML designer file in C:\scada\project\hmi0.ui

11.1 - Or create from scratch your HMI (dialog) and save it in C:\scada\project

11.2 - It is possible to create from scratch your HMI (dialog) and save it in C:\scada\project

12 - Use the following widget classes

Widget Class
SINGLE POINT LED PSinglePointLed
DOUBLE POINT LED PDoublePointLed
SINGLE POINT LED SinglePointLed
DOUBLE POINT LED DoublePointLed
SWITCH PSwitch
THERMOMETER QwtThermo
LCD NUMBER PLCDNumber
COMMAND BUTTON QPushButton
TANK PTank
THERMOMETER PThermometer
EDIT FIELD QLineEdit
BREAKER Breaker



13 - Widget names MUST contain the underscore _ as separator between sample point SCADA name and widget ID

For example the widget with SCADA name DNP3Sample09 and ID 1 has full name: DNP3Sample09_1

Please see next image 1

widget_names_mandatory_underscore.png
1
14 - To enable the inspect popup window, please follow the procedure:

You have to connect the signals RightClicked(QString&,QString&) of the widgets with the slot RightClicked(QString&,QString&) of the HMI dialog (here Form1)
Signal-Slot-Popup-0001.png
Step 1
Signal-Slot-Popup-0002.png
Step 2
Signal-Slot-Popup-0003.png
Step 3
Signal-Slot-Popup-0004.png
Step 4
Signal-Slot-Popup-0005.png
Step 5
Signal-Slot-Popup-0006.png
Step 6
Signal-Slot-Popup-0007.png
Step 7
Signal-Slot-Popup-0008.png
Step 8
Signal-Slot-Popup-0009.png
Step 9
signals-slots-connections.png
Final result
Signal-Slot-Popup-0010.png
Working popup on HMI


15 - To enable commands, please follow the procedure:

Signal-Slot-01.png
Step 1
Signal-Slot-02.png
Step 2
Signal-Slot-03.png
Step 3
Signal-Slot-04.png
Step 4
Signal-Slot-05.png
Step 5
Signal-Slot-06.png
Step 6
Signal-Slot-07.png
Step 7
Signal-Slot-08.png
Step 8
Signal-Slot-09.png
Step 9





© 2002-2024 Enscada  

Locations of visitors to this page