3.3. OPC Connections

3.3.1. Connecting an OPC Server

To connect an OPC server to the Cascade DataHub, you have to set up the DataHub to act as an OPC client. This is done as follows:

  1. With the DataHub running, right click on the Cascade DataHub system-tray icon and choose Properties.
  2. In the Properties window, select OPC .
  3. Check the Act as an OPC Client box.Since the Cascade DataHub can be a client to more than one OPC server, you need to specify server information for each OPC client connection. To add a server, click the Add button and fill in the fields in the Define OPC Server Window:
  4. Type in the following information:
    • Connection Name: a name to identify this connection. There should be no spaces in the name. It doesn't matter what name is chosen, but it should be unique to other connection names.
    • Computer Name: the name or IP address of the computer running the Cascade DataHub.
    • OPC Server Name: the name or IP address of the server computer that you wish to connect to.
    • Domain Name: the name of the DataHub domain in which the data points are received.
    • Maximum update rate (milliseconds): the maximum rate you wish the data to be updated. This is useful for slowing down the rate of incoming data. The default is 0, which causes values to be updated as soon as possible.
  5. Click the OK button when you are finished. The Define OPC Server window will close.
  6. Click the OK or Apply button in the Properties Window. The Cascade DataHub should begin to act as a client to the server(s) you have specified.

3.3.2. Connecting an OPC Client

The Cascade DataHub is preconfigured to act as an OPC server and accept all OPC clients. To toggle this behavior on or off, you can do the following:

  1. With the DataHub running, right click on the Cascade DataHub system-tray icon and choose Properties.
  2. In the Properties window, select OPC .
  3. Check or uncheck the Act as an OPC Server box to have the Cascade DataHub function as an OPC server or not.