Configure VTScada as an OPC Classic Client
This topic refers to an older technology. Where possible, consider the OPC UA Client Driver instead.
To configure VTScada as an OPC client, you will need:
- A program that provides an OPC server to which you wish to connect
- The OPC server's program identifier.
- If the OPC server is not on the same computer, then you will need the name of the workstation where the server is located.
Given a VTScada application (App1) that provides an OPC Server whose server namespace is BedfordSim and that includes an Analog Input tag named Tank1Level, whose values you wish to read in another application.
(All steps should done in the second application)
- Using the tag browser, add an OPC Client Driver tag to App2
- Provide a name for the OPC client driver tag.
- The Server Prog ID will be "Trihedral.VTSOPC.DA"
Note: this name is case-sensitive.
- Provide the name of the workstation that App1 is running on.
- Click OK to finish configuring the client driver.
- Add a new Analog Status or Analog Input tag.
- Set the I/O device field of this tag to use the OPC client driver you added in step 1.
- Set the address using the following template: OPC_Server_Name\tags\all\AI_tag_name.
For this example, the address would be: BedfordSim\tags\all\Tank1Level.
- Draw the tag.