DG-A Series DNP3 ToMODBUS TCP Walkthrough
DG-A Series DNP3 ToMODBUS TCP Walkthrough
DG-A Series DNP3 ToMODBUS TCP Walkthrough
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
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
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.
“
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)
“
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 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