Lab 1 Configure a Dnp3 Connection Between Master and Slave

Lab 1 Configure a Dnp3 Connection Between Master and Slave

LAB 1 CONFIGURE A DNP3 CONNECTION BETWEEN MASTER AND SLAVE

OBJECTIVE

The main objective of this lab is establishing a DNP3 connection between one Intelligent Electronic Device (IED) and one master. The master will be your computer using software that you download (the software is called I/O server). The IED is a Schweitzer Engineering Labs SEL 700G Relay that is used in substations.

STEPS

  1. Configure de VPN with CU Campus
  2. Configure the IOServer Master and connect to IOserver/ Slave
  3. Configure the IEDS SEL 700G Schiweitzer Engineering
  4. Configure a new slave port and device in the IOServer to connect with SEL equipment
  5. Answer the lab question

1.Configure the VPN with CU Boulder Campus

The instructions below will work for any campus machine or machine using the campus wireless network. If you are working from home they maywork. If you are working from home and they do not work, then you will need to install a VPN to get to the campus network. To install the VPN, follow the instructions here:

If you are using MAC, download virtual box and create a windows / virtual machine. Then access to . Download the VPN client to windows (not use the network connect). Create a VPN following the instruction in the web page of OIT.

Multiple students cannot access the master at the same time. To reserve a two hour slot contact the SA, .

2. Configure the IOServer Master and connect to IOserver/ Slave

Download the IOServer software from IOServer is fully functional master and slave software that can use many different protocols. We will set it up for DNP3 and access a slave in the ITP lab.

1. Initial Configuration:

a) Right-click on “Board”, and then “Add New Board”.

b) Select “TCP/IP.Port” from the drop down menu for “Board Type” and then click on Finish.

c) Right-click on “TCP/IP.Board” and click on “Add New Port”.

d) Select “DNP.Protocol” as the Protocol and click on “Finish”.

a) After clicking on “Finish”, the following screen appears:

b) Check the “Make Connection To” box and click on the empty “Interface” box to get a drop-down menu with the IP addresses of the available interfaces on your computer. Select the one from which you are connected to the Internet (if you have installed the VPN, be sure to pick your VPN IP address). Set the “Remote IP Address” to 198.11.21.172. Click on “Finish”

c) On the next screen, set the “Master Station Address” to 100 and the “Offline Quality” to C0. Click on “Finish”.

d) Right-click on the remote IP address, and click on “Add New Device”

e) Click on “Finish”.

f) On the following screen, make sure the “Slave Station Address” is set to “4” and the “Class 0” interval is set to 5. Click on “Finish”.

g) Check on your connection by clicking on the IP address in the left window and then the IP address tab in the right window (the address is 10.0.0.1 here but will be 198.11.21.xxx for your set up):

You should see an alternating TX/RX pattern. If your connection status looks like the above (Wait -> connect -> shutdown), then you are not set up correctly. You can try the following to fix the connection:

  1. Right click on the TCP/IP.Board, delete the connection and start again.
  2. Install the VPN and start over.

3. Configure the IEDS SEL 700G Schiweitzer Engineering

  1. Start a telnet session from your computer to the address 198.11.21.171. In Windows, you can run telnet from a cmd window.

TELNET 198.11.21.171

Trying 198.11.21.171...

Connected to 198.11.21.171.

Escape character is '^]'.

Press Enter and the “equal” (=) symbol must appear in your screen. Also could appear the following symbols (?) but do not take care of this.

=

  1. Access to privilege mode level 1 using the command ACC and password OTTER (case sensitive)

=ACC

Password: ? ***

SEL-700G Date: 02/09/2012 Time: 19:35:43.488

GENERATOR RELAY Time Source: Internal

Level 1

  1. Access to privilege mode level 2 using the command 2AC and password TAIL (case sensitive)

=>2AC

Password: ? ****

SEL-700G Date: 02/09/2012 Time: 19:35:48.860

GENERATOR RELAY Time Source: Internal

Level 2

  1. Change the IP address of the master (the IP address of your computer, is the IP assigned by the VPN it could be 198.11.xx.xxx or 128.138.xx.xx). The VPN window should tell you the address. If not, and you are on a windows machine, open a command window and type ipconfig.

=>SET P 1 DNPIP1

Port 1

DNP Protocol Settings

IP Address [zzz.yyy.xxx.www] (15 characters)

DNPIP1 :=128.138.102.11 (IP ADDRESS OF YOUR COMPUTER)

Press enter until the below appears and write “yes”

Save changes (Y,N)? Yes

You can see the final configuration of the IED typing “ SHOW P 1” and it must appear something like this (the parameter DNPIP1 must correspond to the IP address of your computer).

4. Configure a new slave port and device in the IOServer to connect with SEL equipment

Follow the same procedures described in part 2, but now the IP address is 198.11.21.171,DNP3 address is 3, Offline quality on C0, and the DNP 3 master station is 1.

b) Check the “Make Connection To” box and click on the empty “Interface” box to get a drop-down menu with the IP addresses of the available interfaces on your computer. Select the one from which you are connected to the Internet (if you have installed the VPN, be sure to pick your VPN IP address). Set the “Remote IP Address” to 198.11.21.171. Click on “Finish”

The final configuration of the IO server must look like this.

c) On the next screen, set the “Master Station Address” to 1and the “Offline Quality” to C0. Click on “Finish”.