OPC connection from VisualBasic.NET

<< Click to Display Table of Contents >>

Manual > Server Creation Guide > Interface > OPC Interface >

OPC connection from VisualBasic.NET

overview

This section introduces examples of settings and application development for connecting to the OPC interface of a custom OPC client application developed using VisualBasic.NET.

 

The steps introduced here can be broadly divided into three parts:

 

Step 1 Server settings

 

Set up tag registration.

Step 2 Basic construction of VB

 

Make the necessary definitions to make OPC connections from VB.NET.

Step 3: Reading and writing values

 

This allows you to read and write item values at any time from VB.NET.

 

Please be sure to carry out the advance preparations described in "Connection Method".

 

 

Download the sample

The creation examples shown on this page are provided with samples.

 

The sample can be downloaded from below.

 

Detailed explanations of each step will be based on VB.NET2010.

 

 

hint

The OPC automation interface is described in the book "Introduction to OPC Applications" (Chapter 3).