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).
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.
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. 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.
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 MicroWorksScada Data GatewayTMW OPC Client
2. From the TMW OPC Client menu items, select OPCConnect…
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 OPCAdd 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.