How to use COPC32 on Visual Basic 6.0

This tutorial will guide you how to use COPC32 activeX control on Visual Basic 6.0. COPC32 is an activeX control used to create SCADA applications with OPC technology. COPC32 can connect to OPC server to control and display operations of PLC, DCS, controller, Remote I/O and any hardware support OPC technology.
This tutorial guide you through following step
- Adding COPC32 control on VB 6.0 toolbox
- Identify OPC server and OPC tags to COPC32
- Connect and disconnect to/from OPC server
- Get OPC tag values from OPC Server
- Write value to OPC tag

Requirements
Before starting the tutorial, please install the following software
- Any OPC Server (Simulator or Real operation)
- COPC32 activeX control package download from http://www.scadathai.com
- Microsoft Visual Studio 6.0 or VBA (MS Excel, Word, etc)
Create application to display OPC tag values from OPC Server
1. Open Visual Basic 6.0, create new EXE project
2. Right click on Toolbox and select ‘Components’

Get pdf download How to use COPC32 on Visual Basic 6.0

Related Tutorial

Tags: , , , , , , , , , , , ,

Comments

Leave a Reply