Wiki source code of 06 OPC

Version 3.1 by Leo Wei on 2022/07/25 11:33

Show last authors
1 = **1 Introduction** =
2
3 **Open Platform Communications (OPC) **is a series of standards and specifications for industrial telecommunication. WECON V-BOX series product provides OPC function to users.
4
5 This document describes how to use OPC TOOL on your computer.
6
7 = **2 Basic configuration** =
8
9 The device uses the OPC configuration tool to push the data sources of the device to other OPC clients
10
11 == **2.1 Login interface** ==
12
13 (% style="text-align:center" %)
14 [[image:12-1.png||class="img-thumbnail"]]
15
16 **Interface function:**
17
18 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.
19 1. Remember password: use DES secondary encryption, the secret key is CPUID and network card MAC address respectively.
20 1. Configure the server address, and the software restart is required for the configuration to take effect.
21
22 == **2.2 Server setting** ==
23
24 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.
25
26 (% style="text-align:center" %)
27 [[image:12-2 1.png||class="img-thumbnail"]]
28
29 After configuring the server address, the OPC Tool restart is required to take effect. 
30
31 (% style="text-align:center" %)
32 [[image:12-2.png]]
33
34 1. **About.** Software version information.
35 1. **Settings.** To set the server address settings.
36 1. **Logout. **Log out of the current account.
37 1. **Exit. **Exit the software.
38
39 At present, Wecon has three servers. Please enter the corresponding server address.
40
41 1. **China:http:~/~/api.v-box.net**
42 1. **Asean:http:~/~/api.asean.v-box.net**
43 1. **Europe:http:~/~/api.eu.v-box.net**
44
45 == **2.3 configuration successfully** ==
46
47 After the user logs in successfully, the OPC SERVER is started. As shown below.
48
49 (% style="text-align:center" %)
50 [[image:12-3.png||class="img-thumbnail" height="138" width="595"]]
51
52 (% class="wikigeneratedid" %)
53 **✎Note:** When using the OPC function, run the OPC Tool software.
54
55 = **3 Example** =
56
57 (% class="lead" %)
58 **The precondition is to use the OPC Server and OPC Client on the same PC.**
59
60 == **3.1 Run the OPC tool** ==
61
62 (% style="text-align:center" %)
63 [[image:12-3 2.png||class="img-thumbnail"]]
64
65 == **3.2 Create OPC device** ==
66
67 Take the **OPC Quick Client.exe** tool for example. **[[Download>>https://wecon-disk.oss-ap-southeast-1.aliyuncs.com/Download/WIKI/V-BOX/Software/Kepware-OPCClient.rar]] **here.
68
69 **(1)** Run** "OPC Quick Client.exe"**
70
71 (% style="text-align:center" %)
72 [[image:12-4.png||class="img-thumbnail"]]
73
74 **(2) **Run V-BOX OPC tool and set corresponding server
75
76 (% style="text-align:center" %)
77 [[image:12-5.png||class="img-thumbnail"]]
78
79 (% style="text-align:center" %)
80 [[image:12-2.png]]
81
82 **(3) Select "New Server Connection" and select "V-BOX.OPCSERVER DLL"**
83
84 (% style="text-align:center" %)
85 [[image:12-6.png||class="img-thumbnail"]]
86
87 (% style="text-align:center" %)
88 [[image:12-7.png||class="img-thumbnail"]]
89
90 (% style="text-align:center" %)
91 [[image:12-8.png||class="img-thumbnail"]]
92
93 **(4) **Add a new group, set the group name according to your needs.
94
95 (% style="text-align:center" %)
96 [[image:12-9.png||class="img-thumbnail"]]
97
98 **(5)** Add a new item for the group.
99
100 (% style="text-align:center" %)
101 [[image:12-10.png||class="img-thumbnail"]]
102
103 **(6) **Select corresponding V-BOX and monitor point. Double click it to add Item.
104
105 (% style="text-align:center" %)
106 [[image:12-11.png||class="img-thumbnail"]]
107
108 Then this Item value will display as below.
109
110 (% style="text-align:center" %)
111 [[image:12-12.png||class="img-thumbnail"]]
112
113 Right-click the item, and select "Synchronous Write" to change the value of item.
114
115 (% style="text-align:center" %)
116 [[image:12-13.png||class="img-thumbnail"]]
117
118 = **4 Note** =
119
120 After the software is started, it would not dynamically adjust according to the increase, deletion, or configuration modification of the server monitoring point, and would only update the value of the monitoring point from time to time.