UaGateway
1.3.4.261
|
The Configuration Tool can be used to add, configure and connect to OPC COM AE/DA, OPC UA and OPC XML-DA servers.
To add and connect to different underlying servers, the Configuration Tool of the UaGateway provides a GUI based configuration. To start the Configuration Tool, either right-click on the Notification Area Icon and select “Configuration Tool” or select Program menu → Unified Automation → UaGateway → UaGateway Configuration.
It is recommended to validate and accept the certificate of the UaGateway permanently to connect to it.
To add a new server, select the corresponding entry in the Device Address Space window and press the button “Add Server...” in the main window.
A new window will appear where you have to enter the information necessary to add the server. Please refer to one of the following sections for details:
It is possible that not all of the entries above show up in the Device Address Space window. For a description on how to enable/disable these channels, see Channels.
Adding or configuring an OPC COM AE, DA or HDA Server to the UaGateway is similar. After pressing the button “Add Server...” a dialog window will open.
To add a local COM Server, expand the tree at “Local” and select the server you’d like to add and press “Add & Continue” to add the selected server without closing the window (e.g. if you would like to add other servers). At clicking on “Add & Close” the server is added and the dialog window is closed. To exit the dialog window without changing the configuration, click “Close”.
The UaGateway automatically connects to newly added COM Servers. To disconnect a server or edit its configuration, select it in the Devices Address Space window. Now the server status and configuration details will be displayed in the main window.
At “Server Status”, the connection status is shown and there are buttons for connecting/disconnecting the server.
At “Configuration OPC COM AE/DA/HDA Server Connection”, you can edit the Watchdog Time or the host name and ProgId of the connected server.
The Watchdog Time is used as interval between connection checks or reconnect attempts in the case of a connection interruption.
By default, the UaGateway does only connect to out of process or remote OPC Data Access servers. However, when absolutely necessary, the connection to in process servers can be enabled.
Open the file [Installation Directory]/uagateway.config.xml in which the server configuration of UaGateway is stored. The configuration information for a COM DA Server has the following structure:
To allow the connection to in process servers, set ForceComInproc
to true
and restart the UaGateway.
After pressing the button “Add Server...” a dialog window will open.
To add a local OPC UA Server, you can simply expand the tree at “Local”, browse for the server you’d like to connect to and pick the endpoint to use. Browsing the local network for an OPC UA server works in a simlar way.
It is also possible to use custom discovery. A double-click on “Double click to Add Server...” opens a dialog window for entering the address of the targeted OPC UA Server into the input field as shown below:
opc.tcp://<Hostname>
:<Port>opc.tcp://<IP
Address>:<Port>The server will now appear below “Custom Discovery” in the tree view, showing all open endpoints.
When selecting an endpoint, the necessary input fields are filled with default values which you can change to your needs:
Press “Add & Continue” to add the selected server without closing the window (e.g. if you would like to add other servers). At clicking on “Add & Close” the server is added and the dialog window is closed. To exit the dialog window without changing the configuration, click “Close”.
After sucessfully adding a UA Server, it shows up in the Devices Address Space Window. Select it to display the following additional configuration options in the Main Window.
After pressing the button “Add Server...” a dialog window will open.
Press “Add & Continue” to add the selected server without closing the window (e.g. if you would like to add other servers). At clicking on “Add & Close” the server is added and the dialog window is closed. To exit the dialog window without changing the configuration, click “Close”.
After successfully adding the XML-DA Server, it will be displayed in the Devices Address Space Window. Select the server to display its status and change the configuration. It is also possible to edit the Watchdog Time.
The Watchdog Time is used as interval between connection checks or reconnect attempts in the case of a connection interruption.