Presentation is loading. Please wait.

Presentation is loading. Please wait.

Configuring and Running the OPC.NET Generic Clients 1.

Similar presentations


Presentation on theme: "Configuring and Running the OPC.NET Generic Clients 1."— Presentation transcript:

1 Configuring and Running the OPC.NET Generic Clients 1

2 Generic Client Software Client Interface Client Base Server Base OPC Wrapper OPC COM Server Server Interface WCF Alternate Server Implementation Standard code for the client Standard code for the server Developer- specific code Standard code for OPC Wrappers Class API Adhoc Client Ad- hoc API Class API Client Generic Client Extended Client Interfaces

3 Generic Client Applications 3 Xi Client GenericApp Wraps only one server of each type Wrapped OPC Classic servers can be local or remote to the Wrapper Multiple Wrappers can exist on the same PC at the same time Wrappers are located by their URL

4 Wrapper Server Projects 4 Expand the projects: GenericApp AdhocApi GenericApp ClassApi GenericApp

5 Client App.Config Files 5 Open the App.Config files (they are identical):

6 Set the Url of the Default Server 6 This key is used to identify the default OPC.NET server for the client application: GenericApp – this URL will be the first URL in the list of URLs GenericApp AdhocApi and ClassApi – these client applications will automatically attempt to connect to the default server

7 Set the Server Info 7

8 Set the System Name 8 …

9 Set the ProgIds of the wrapped OPC Classic servers 9 …

10 Set the MachineName of the wrapped OPC Classic servers 10 … -->

11 Set the Base Addresses 11 …

12 Running the Console App 12 Build the Wrapper Server project The App.config file will be compiled and copied to the bin directory with the executable Run the Wrapper Server using the debugger, or run the executable from either: –Xi Projects\x86\Debug\bin –Xi Projects\x86\Release\bin


Download ppt "Configuring and Running the OPC.NET Generic Clients 1."

Similar presentations


Ads by Google