You are on page 1of 10

SCADA Data Gateway | Quick Start Guide

SCADA Data Gateway


Quick Start Guide
Manual Revised: August 26, 2009

© 1994 - 2009 Triangle MicroWorks, Inc. All rights reserved. Page 1


1. Quick Start Guide
1.1 About the Triangle MicroWorks SCADA Data Gateway
The Triangle MicroWorks SCADA Data Gateway (SDG) application is a communication protocol driver. It
provides the values that the protocol transmits over the wire. It collects data from OPC Server, IEC 60870-5,
DNP3, IEC 61850, or Modbus Slave devices and then supplies this data to other control systems supporting OPC
Client, IEC 60870-5, DNP3, IEC 61850, and/or Modbus communication protocols.

The Triangle MicroWorks Protocol Test Harness is required in order to use this manual. If you do
not already have this product you can download a 21-day evaluation version from the Triangle
MicroWorks website (http://www.tmw-usa.com/ProductPage.aspx).

2. SCADA Data Gateway


2.1 Overview of the SDG
The SDG application is provided as a self-installing executable file (SDGVmnn.exe, where m is the major release
and nn is the minor release). Once installed, the SDG application will operate under the following default, “quick-
start” operating conditions:

 The SDG will act as a DNP3 Master device.


 The SDG will communicate over a TCP/IP loop back communication channel: ‘127.0.0.1’.
 The SDG will communicate with a single remote DNP3 Slave Device (running in the TMW Test Harness).
 The SDG will collect data from, and issue commands to, a common address of ASDU 4.
 The SDG will present all collected data points as available OPC tags.
 An OPC Client will be started to view the data in the SDG.

If this is the first time the SDG application has been installed on this workstation, a 21-day evaluation license will
be installed. After the evaluation license expires, you must obtain a permanent license to continue using the SDG
application. For information on obtaining a permanent license please refer to the licensing section of the SDG
Implementers Guide. It is important to note that the SDG application is automatically registered as an OPC Data
Access and an OPC Alarm and Event server at the time of installation.

2.2 Installing the SDG


To begin installing the SDG double-click the SDGVmnn.exe file and follow the on-screen instructions. If a
previously licensed version of the SDG is installed on this workstation, install the new version in the same
directory. Any features in the new version will automatically be activated by your existing license. Otherwise, the
SDG directory will be created automatically for you by the installer.

2.3 Point Mapping File


The SDG operating conditions are set and preserved by the TMWgtway.ini file. Point mapping information is
saved in a point-mapping file (TMWgtway.csv) which may be used to:

 Define command points or assign logical OPC tag names to collected data points
 Create new data points that are logical or arithmetic combinations of one or more other data points
 Map data points between Master and Slave SDG Components (to allow the SDG to operate as a data
concentrator or a protocol converter)
By default, these files are located in the SDG installation directory (typically C:\Program Files\Triangle
MicroWorks\SCADA Data Gateway). To modify or add to the default operating conditions described above or to
create or modify a point mapping file, please refer to the SDG Implementers Guide.

3. Creating a Simple Configuration


This section demonstrates how to create a simple SDG configuration with a DNP3 Master. This configuration will
be connected to the Protocol Test Harness, which will be running a DNP3 Slave.
3.1 Configuring the Protocol Test Harness
Before configuring the SDG, the DNP3 Slave channel must be configured in the Protocol Test Harness.
1. Start the Protocol Test Harness.
2. In the bottom Tcl/Tk command window, enter the command opendnpslave. This will open a DNP3 Slave
session on the Test Harness which will be used to communicate with the SDG DNP3 Master.

3.2 Configuring the SCADA Data Gateway


1. Start the SDG application either by running the TMWgtway.exe file from the command line or by
selecting the SDG application from StartAll ProgramsTriangle MicroWorksSCADA Data
Gateway.
2. When the SDG application starts, if there are no valid INI files located in the SDG directory a dialog box
will be displayed prompting to create a new channel. Click the Yes button to step through a series of
dialog boxes used to create a simple SDG configuration.

3. Next, a dialog box is displayed for selecting a Channel. In this example a TCP/IP channel is selected.

4. The TCP/IP channel needs to be configured by filling in the appropriate fields. In this example, the IP
Address is set to the loopback address of 127.0.0.1 and the Alias Name to MDNP3_TCP. For this
example, the Session Protocol is set to DNP3, although any protocol could have been selected.
5. After configuring the Channel definition, click the OK button to define the Session. The SDG will display
a session dialog box according to the protocol defined for the channel. The following dialog box
illustrates the DNP3 Master Session configuration dialog box. In this example, the default values are used
in the session dialog box for all parameters.

6. Once the sector (for IEC protocols) or session (for DNP and Modbus protocols) has been configured, data
types may be added. For this example, a data type T1 (Binary Inputs) is added. After selecting a data
type, click the OK button to display the SDG main window.

7. At this point, a master DNP3 device has been defined and is ready to communicate with a slave device. To
add another data type to the current session, right-click on the session and select Add Data Type.
8. Next, on the Add Data Type dialog screen, select a data type and click the OK button to continue. For this
example, a data type T30 (Analog Inputs) is added to the session.

9. Next, to add an MDO to this data type, right-click on the sector and select Add MDO
10. Use the following dialog to select the required parameters for adding an MDO to the data type. Click the
OK button to continue.

The completed SDG configuration is shown below:

In addition, you can also right-click on the Session, and select ‘Auto Create Tags’ to automatically
create all the tags available in the Test Harness Slave DNP3 device.
4. TMW OPC Client
4.1 Viewing Items in the TMW OPC Client
This section demonstrates how to use the TMW OPC Client to connect to the SDG and view the newly created
items.

1. From the Windows Start menu, select Triangle MicroWorksScada Data GatewayTMW OPC Client
2. From the TMW OPC Client menu items, select OPCConnect…

3. Next, from the Select OPC Server dialog box, select the TriangleMicroWorks.OPCDA Server and click the OK
button.
4. From the TMW OPC Client menu items, select OPCAdd Item…

5. Next, locate the node for the IEC 61850 Client created in the previous section (61850Client for this example).
Expand the tree to select the desired item(s) and then click the Add item button. Click the Done button when
all required items have been added.
Verify that the selected items in the TMW OPC Client reflect the same value(s) as the SDG.

You might also like