欢迎图片

08 OPC tool

Last modified by Joe on 2024/10/14 14:16

Introduction

Open Platform Communications (OPC) is a series of standards and specifications for industrial telecommunication. They are based on Object Linking and Embedding (OLE) for process control.

WECON provides OPC Data Access(OPC DA) for communicating real-time data from data acquisition devices, which is V-Box.

Information

✎Note:This OPC tool only works with v-box, ig series HMI  doesn't support this tool.

Premise

Due to OPC is based on Microsoft's COM (COmponent Model), and OPC's remote communication relies on Microsoft's DCOM (Distribute COM), and security is based on Microsoft's Windows security settings. About how to setup the DCOM on Windows PC, please refer to the following two links:

1) DCOM for Windows 7,10, & Server 2008R2 and Newer

2) INSTALLING OPC CORE COMPONENTS ON WINDOWS 8

Basic configuration

V-Box pushes the data source to other OPC Clients through OPC tool, such as SCADA software, CFM software, ERP/MES systems, etc.

Login interface

Information

✎Note: Because now all the tools are integrated into the V-NET Client, please login into the V-NET Client software to find OPC tool.

WheretofindOPC.png

OPCLogin.png

Interface function:

  1. Use the sqlite database to record the users who have successfully logged in. According to the login time, they are arranged in the user name drop-down box from large to small.
  2. Remember password: use DES secondary encryption, the secret key is CPUID and network card MAC address respectively.
  3. Configure the server address, and the software restart is required for the configuration to take effect.

Server setting

The default server address is the V-NET monitoring address. When deploying a private cloud, connect to the corresponding network address. After configuring the server address, the OPC Tool restart is required to take effect. 

12-2 1.png

After configuring the server address, the OPC Tool restart is required to take effect.  

12-2.png

  1. About. Software version information.
  2. Settings. To set the server address settings.
  3. Logout. Log out of the current account.
  4. Exit. Exit the software.

At present, Wecon has three servers. Please enter the corresponding server address.

  1. China:http://api.v-box.net
  2. Asean:http://api.asean.v-box.net
  3. Europe:http://api.eu.v-box.net

Configured successfully

After the user logs in successfully, the OPC SERVER is started. As shown below.

12-3.png

✎Note: When using the OPC function, run the OPC Tool software.

Example

The precondition is to use the OPC Server and OPC Client on the same PC. 

Run the OPC tool

12-3 2.png

Create OPC device :Download.

The following example is taking OPC Quick Client.exe tool for demonstration.

WXWorkCapture_16763751224850.png

Information

✎Note: If having trouble of "Failed to connect server" or not able to find V-BOX.OPCSERVER.DLL in Server Properties like the above picture, please go to the V-NET Client installation path to install the necessary OPC runtime environment.

OPCruntimelocation.png

Try to install the following software. 

WXWorkCapture_17288855745498.png

(1) Run "OPC Quick Client.exe"

12-4.png

(2) Run V-BOX OPC tool and set corresponding server

12-5.png

12-2.png

(3) Select "New Server Connection" and select "V-BOX.OPCSERVER DLL"

12-6.png

12-7.png

12-8.png

(4) Add a new group, set the group name according to your needs.

12-9.png

(5) Add a new item for the group.

12-10.png

(6) Select corresponding V-BOX and monitor point. Double click it to add Item.

12-11.png

Then this Item value will display as below.

12-12.png

Right-click the item, and select "Synchronous Write" to change the value of item.

12-13.png

Information

✎Note: After the OPC tool is booted up, the number of real-time monitoring tags would not dynamically increase or decrease if there are some changes on server configuration. Only those values of the existing monitoring points when the OPC starts will be updated in real time.