DG-A Series DNP3 ToMODBUS TCP Walkthrough

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

WALKTHROUGH OF DG-A SERIES DNP3 TO MODBUS TCP SETTINGS

1. Create a new workspace and a new project.


a) Firstly open ICT-A, and choose “Project”->”New” on the tool bar to create a new workspace.
Then click the folder icon to create a new folder or select an existing folder to save
workspace. WARNING: Do not directly create workspace on desktop or root directory on any
Disk. Please create workspace in a new folder or an existing folder. Once the workspace
directory has been created, then enter a workspace name for current workspace (see figure
1).

Figure 1

b) Next, select “Project” and enter a name for new project and choose Version 2.0.0, and then
select “Add to current workspace” and then click “OK” to save settings (see Figure 2).

Figure 2

2. Configure Server Network Settings


a) Double click the project name to select the device type you will use (see Figure 3)

Figure 3

b) Next, click “System”, select “Property” and double click “Network Configuration” on the
property panel to modify the IP setting of server. Then, click “New” to add IP configuration
for each Ethernet port. E.g. for DG-A4, there are two independent Ethernet ports, so it can
add two ports. WARNING: please make sure the Ethernet port name is not same, starting
from eth0 to eth1 (see Figure 4). Click “OK” to save settings.
Hint: The default IP address for DG-A series is shown in table below: DG-A2/A4/A8/A16
Eth0 192.168.0.111
Eth1 192.168.1.111
Eth2 192.168.2.111
Eth3 192.168.3.111

Figure 4

3. Configure DNP3 Client parameters


a) Click “Client” in workspace window, and then right click the blank area to select “New Client”.
In the new window, select “Drivers”->”DNP3” (see Figure 5) and then select “Properties” to
enter information for “Name” and “Description” (see Figure 6). And then click “OK” to save
settings.

Figure 5

Figure 6

b) Next expand the node and then right click “Port Group” to add a new communication port,
e.g. serial port for DNP3 (see Figure 7). You can click each item to adjust parameters on the
window, e.g. port mode, baud rate, etc. Click “OK” to save settings. If you want to modify the
settings after clicking “OK”, find property of this port on the right side of display panel, and
click the item to change parameters (see Figure 8).
Hint: COM0 is used for console port, communication port starts from COM1.

Figure 7

Figure 8

c) Select “Protocol Parameter” and to see its properties. Next modify “Master Address”
according to communication requirements (see Figure 9).

Figure 9

d) Right click “Device Bus” and select “New” to add a new DNP3 device. Next, fill the blanks
with proper description for future reference. Then select a proper address for DNP3 slave
according to communication requirements. After finishing filling description and address,
then you need to configure the polling table to define parameters for different data type.
Double click “Polling Table” and then click the square icon on the right side, and then click
“New” to add new configuration for each data type (see Figure 10).

Figure 10

e) Next, expand “Device Bus” and right click “Analog Input” to add new analog input channels.
Please fill the blanks with proper descriptions, e.g. Bay Name, Device Name, etc, for future
reference (see Figure 11).
Hint: “Bay Name”, “Device Name”, “Point Name” and “Description” are unnecessary for
communication, but we do suggest you fill these blanks with proper information for
convenience in future configuration, maintenance and diagnosis.

Figure 11

f) Next, modify “value type”, “Initial Value”, “Dead Zone Value”, “Offset” and “Coefficient” if
needed (see figure 12). After that, click “IO” tab and set the point index (see figure 13).
Hint: To modify parameters in batch, you can select an item name on the top of the column
and right click it and select “Batch Modify”. To delete or copy/paste any function, click “Basic”
tag and then right click the number of rows and select “Delete” or “Copy” or “Paste”.
Note: For use of these parameters please refer to User Manual for more details.

Figure 12

Figure 13

g) For digital input, analog output and digital output, etc. You can perform the same procedures
of configuring analog input.

4. Verify DNP3 Serial Communication

a) When the configuration is finished, click save icon on the tool bar to save
configuration to the project. Next connect server to your PC with network cable and connect
DG-Server to DNP3 serial devices with correct serial port and serial cable. And then power

on DG-Server and try to PING 192.168.0.111, if it’s connected then click to connect

DG-A server first and then click the downward arrow to download the project to
server. Check your project and “Active” and click “Start” to start downloading. Then enter
the IP address of DG server and user name “admin” without password to connect to server
(see Figure 14). Always click “OK” for next prompts and click “OK” to confirm server will
reboot.
Hint: make sure your PC and server (default IP: 192.168.0.111) are in the same subnet, when
start downloading.

Figure 14

b) Modify your PC’s IP address within the new IP network, and then use PING command with
modified IP in STEP 2 to check whether server rebooting is complete. When rebooting is

finished, click to connect to server. When connection succeeds, select “Client” and
select analog input, and then select “Value” tag right next to “IO” tag. You can use the data
value and data quality to verify whether DNP3 configuration is ok (see Figure 15)

Figure 15 (mock data)

c) If no value is incorrect, and quality is offline, try to check serial port settings and connection
cable, etc. You can right click DNP3 node and select “Debug” to capture data flow to help
you diagnose the problem (see Figure 16 and 17).

Figure 16

Figure 17 (mock data)

5. Configure MODBUS TCP Server parameters


a) Select “Server” in workspace and perform the same procedure of 3. a).
b) Right click “Port Group” to add a new communication port. For MODBUS TCP, we need to add
a network port. Port Mode = TCP Server, Server IP = Server Local IP, Port Number =
Communication Port Number (See figure 18)
Hint: 0.0.0.0 means any address, so we suggest you fill the local IP address for this Ethernet
port.

Figure 18

c) Select “Protocol Parameter” and change “Frame Type” to TCP (see Figure 19)

Figure 19

d) Right click “Device Bus” to add new MODBUS node with proper name and MODBUS TCP
device address. Next, right click “Forward Analog Input” to select corresponding AI channels
configured in client (see Figure 20). Click “OK” to confirm your selection.
Hint: If you have given description for “Bay Name”, “Device Name”, etc. in client settings, it
will be convenient to find out the desired tags according to the description.

Figure 20

e) Next, configure starting address, start byte, data length, etc (see Figure 21).
Hint: Parameters of MODBUS functions are unnecessary to be same as which in client as long
as each channel in client and server are matching correctly according to name description or
point index.

Figure 21

6. Verify MODBUS TCP communication


a) After finishing MODBUS TCP configuration, save the project and download the project to the
DG-A server, and then connect to server after finishing rebooting, which is same as
procedure 4. a).
b) Select server and analog input, and then click “Value” tag to check the values your want to
verify.
c) Configure MODBUS TCP master and connect it to DG-A server to see if it can receive the
valid and correct response.

You might also like