The following is a basic example of using an OPC Client driver tag to read data from an Omron C200H PLC via an OPC Server (in this example, an INGEAR Omron OPC Server version 2.25.0.1).
Note: There is no standard for OPC driver addressing. The following example covers only one possible configuration. For your application, the definitive guide to OPC addressing will always be the documentation for the OPC Server in use.
On the OPC Server (using the user interface provided by the manufacturer of the OPC Server):
1. Create a device named Omron.
2. Create a group named MyGroup.
3. Create two items, Tag1 and Tag2.
4. Configure the tags with the correct addressing information for connecting to the Omron PLC.
VTS OPC Client Driver Tag Properties:
|
OPC Client Driver Tag Properties Folder Tab |
Property |
Value |
|
OPC tab |
Server Prog ID |
CimQuest.IGOMOPC.1 |
VTS Input Tag Properties (Analog Input or Digital Input)
Enter the address Omron.Group.Tag1 in the Address field for the VTS input tag that will read data from the Tag1 item on the OPC Server.
Enter the address Omron.Group.Tag2 in the Address field for the VTS input tag that will read data from the Tag2 item on the OPC Server.
Note that the addresses entered for the above VTS input tags are based on the syntax:
DeviceName.GroupName.ItemName
Note: For a list of all available data type suffixes that can be used for tag I/O addresses, please refer to Data Type Suffixes for Tag I/O Addresses.