Wiki source code of 2.03 Device Management

Last modified by Devin Chen on 2025/12/10 11:44

Show last authors
1 = 2.3 Device Management =
2
3 Device management mainly includes device access, group management, viewing the data information and switch status collected by each device, alarm configuration status display, historical data query and basic interface control information.
4
5 Main functional module areas: "device source, toolbar, device search bar, share with others list, device watchlist, device list".
6
7 (% style="text-align:center" %)
8 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743585687199-474.png?width=1200&height=582&rev=1.1||alt="1743585687199-474.png" height="582" width="1200"]]
9
10 == 2.3.1 Mode switch ==
11
12 The mode switch button is in the upper right corner of the device management page. It is used to switch the display mode of the right area of ​​the device management. There are "Dashboard Mode" and "Classic Mode". As shown in the figure below.
13
14 (% style="text-align:center" %)
15 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743585945125-412.png?width=1200&height=582&rev=1.1||alt="1743585945125-412.png" height="582" width="1200"]]
16
17 == 2.3.2 Multi-level device List ==
18
19 Multi-level device list module: displays all V-Boxes (collection gateways) or IoT HMIs under the account, and displays them in a multi-level grouped tree menu format.
20
21 After choosing the V-Box device, user will automatically jump to the device dashboard (dashboard mode) or device function module interface (classic mode),including eight modules: "Data Monitoring, Alarm Records, Historical Data, Cloud SCADA, Lua Script, and Basic Configuration."
22
23 Dashboard mode, as shown in the figure below.
24
25 (% style="text-align:center" %)
26 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743585881885-321.png?width=1200&height=582&rev=1.1||alt="1743585881885-321.png" height="582" width="1200"]]
27
28 Classic mode, as shown in the figure below.
29
30 (% style="text-align:center" %)
31 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743585824242-924.png?width=1200&height=582&rev=1.1||alt="1743585824242-924.png" height="582" width="1200"]]
32
33 After choosing IoT HMI device, user will automatically jump to the functional module interface, including six modules: "Remote Monitoring, Data Monitoring, Cloud SCADA, and basic information".
34
35 Dashboard mode, as shown in the figure below.
36
37 (% style="text-align:center" %)
38 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743585756377-350.png?width=1200&height=582&rev=1.1||alt="1743585756377-350.png" height="582" width="1200"]]
39
40 Classic mode, as shown in the figure below.
41
42 (% style="text-align:center" %)
43 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743586041930-586.png?width=1200&height=582&rev=1.1||alt="1743586041930-586.png" height="582" width="1200"]]
44
45 == 2.3.4 Tool bar ==
46
47 The following figure shows the button set for operating the V-Box/IoT HMI and device list, namely "Add device, Request to share, Filter, Group management, Refresh".
48
49 (% style="text-align:center" %)
50 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743585306938-259.png?width=300&height=61&rev=1.1||alt="1743585306938-259.png" height="61" width="300"]]
51
52 === 2.3.4.1 Add device ===
53
54 After registering a new account, you can add devices to bind to the account. One device can only be bound to one account.
55
56 When binding the V-Box/IoT HMI, you need to know the machine code and password of the V-Box/IoT HMI, enter the V-Box/IoT HMI device alias and select the group of the added V-Box/IoT HMI. If the administrator has created device groups, you can also choose to place the added devices under other groups, as shown in the figure below.
57
58 (% style="text-align:center" %)
59 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743586197128-144.png?width=1200&height=582&rev=1.1||alt="1743586197128-144.png" height="582" width="1200"]]
60
61 Supports adding multiple machine codes and product codes at one time. If the addition is successful, the corresponding device information will appear in the device list. If it fails, the specific failed device and the reason for the failure will be prompted.
62
63 === 2.3.4.2 Request to share ===
64
65 Request to share the V-Box/IoT HMI. After the other party agrees, the device requested to be shared will be displayed in the "Shared by Others" list in my account.
66
67 ①Request to share: Click the request to share icon[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743986959260-194.png?rev=1.1||alt="1743986959260-194.png"]]and enter the V-Box/IoT HMI machine code or product code, as shown in the figure below.
68
69 (% style="text-align:center" %)
70 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744010279755-817.png?width=1200&height=582&rev=1.1||alt="1744010279755-817.png" height="582" width="1200"]]
71
72 ②The system will send a request to share to the "other device account" and wait for the other party to [agree/reject], as shown in the figure below. (Other people's account)
73
74 (% style="text-align:center" %)
75 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1746596482528-561.png?width=1200&height=693&rev=1.1||alt="1746596482528-561.png"]]
76
77 ③The other party agrees to share, the sharing is successful and can be viewed in the [Others' Sharing List], as shown in the following figure.
78
79 (% style="text-align:center" %)
80 [[image:kHqnJLCub8.png||width="1200"]]
81
82 ④Cancel sharing: [Basic Configuration] → [Sharing Details] → [Cancel Sharing] on the device, as shown below. (Other people's accounts)
83
84 (% style="text-align:center" %)
85 [[image:PixPin_2025-05-20_11-17-41.png||height="370" width="1200"]]
86
87 === 2.3.4.3 Group management ===
88
89 Group management is a function for grouping the V-Box/IoT HMI. Administrators can manage the V-Box/IoT HMI groups, including adding groups, editing groups, and deleting groups, as shown in the figure below.
90
91 * When create a new group, the group can only be nested up to five levels.
92 * There is a default group for newly registered accounts.
93 * If a device group exists and cannot be deleted, a group with the same name can be created.
94
95 (% style="text-align:center" %)
96 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744010465511-648.png?width=1200&height=288&rev=1.1||alt="1744010465511-648.png" height="288" width="1200"]]
97
98 When adding a group, if you select the parent group, the new group will be created under this group. If it is not checked, it will be a first-level group, displayed on the outermost layer, as shown in the figure below.
99
100 (% style="text-align:center" %)
101 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744013452279-600.png?width=1200&height=582&rev=1.1||alt="1744013452279-600.png" height="582" width="1200"]]
102
103 === 2.3.4.4 Refresh ===
104
105 Click the [Refresh] button[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743987115388-249.png?rev=1.1||alt="1743987115388-249.png"]]to refresh the device list, as shown in the figure below.
106
107 (% style="text-align:center" %)
108 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744013001350-803.png?width=1200&height=582&rev=1.1||alt="1744013001350-803.png" height="582" width="1200"]]
109
110 === 2.3.4.5 Filter ===
111
112 Click the [Filter] button[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743987136976-203.png?rev=1.1||alt="1743987136976-203.png"]]to display the filter pop-up window, as shown in the figure below. Select the device filter range and click [OK].
113
114 {{info}}
115 Note: Others' sharing list and device follow list always exist and are not affected by [Filter].
116 {{/info}}
117
118 (% style="text-align:center" %)
119 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744851801523-951.png?width=1200&height=582&rev=1.1||alt="1744851801523-951.png" height="582" width="1200"]]
120
121 == 2.3.5 Device search bar ==
122
123 Supports searching for devices by "machine code, product code and device name", supports fuzzy search, click ‘’Enter‘’ to perform the search, and the group will automatically close when searching, and the results will be displayed after the group name, as shown in the figure below.
124
125 Note: Device lists shared by others are not included in the search.
126
127 (% style="text-align:center" %)
128 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744013684305-210.png?width=1200&height=582&rev=1.1||alt="1744013684305-210.png" height="582" width="1200"]]
129
130 Search all the V-Boxes/IoT HMIs in the list according to the search conditions, and display all devices that meet the conditions.
131
132 (% style="text-align:center" %)
133 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744013959438-658.png?width=1200&height=582&rev=1.1||alt="1744013959438-658.png" height="582" width="1200"]]
134
135 == 2.3.6 Share with others list ==
136
137 The share with others list shows a list of all V-Boxes/IoT HMIs shared by other accounts to your account. You can view the data under all V-Boxes/IoT HMIs, but you cannot modify the configuration of the V-Boxes/IoT HMIs.
138
139 Only the sharer can cancel the sharing of the V-Box/IoT HMI, and the sharee cannot cancel the sharing. When you move the mouse to the "human" icon[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743987232869-638.png?rev=1.1||alt="1743987232869-638.png"]], you can view the sharer, as shown in the figure below.
140
141 (% style="text-align:center" %)
142 [[image:MOmFFLYgpP.png||height="640" width="1200"]]
143
144
145 == 2.3.7 Device watchlist ==
146
147 The device watchlist shows the V-Box/IoT HMI that the current account follows, and the information in the V-Box/IoT HMI can be viewed and modified.
148
149 In the device watch list, you can unwatch the device by right-clicking the V-Box/IoT HMI. At the same time, the right-click menu will appear with “Unfollow” function, as shown in the figure below.
150
151 (% style="text-align:center" %)
152 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744014147070-215.png?width=1200&height=582&rev=1.1||alt="1744014147070-215.png" height="582" width="1200"]]
153
154 == 2.3.8 Device list ==
155
156 The device level icons are shown in the figure below.
157
158 (% style="text-align:center" %)
159 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744686773609-887.png?width=1200&height=582&rev=1.1||alt="1744686773609-887.png" height="582" width="1200"]]
160
161 The device level status description is as shown below.
162
163 (% style="text-align:center" %)
164 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744014677812-944.png?width=1200&height=582&rev=1.1||alt="1744014677812-944.png" height="582" width="1200"]]
165
166 The device status description table is as follows:
167
168 |=**Color**|=**Color value(HEX)**|=**Status**
169 |[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744701317323-918.png?width=20&height=22&rev=1.1||alt="1744701317323-918.png" height="22" width="20"]]|# 18E600|Online
170 |[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744701351125-663.png?width=20&height=24&rev=1.1||alt="1744701351125-663.png" height="24" width="20"]]|# B5C1D8|Offline
171 |[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744701468083-733.png?width=20&height=20&rev=1.1||alt="1744701468083-733.png" height="20" width="20"]]|# 1C9BFD|Throughing
172 |[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744701481222-488.png?width=20&height=21&rev=1.1||alt="1744701481222-488.png" height="21" width="20"]]|# 005CFF|VPN throughing
173 |[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744701440100-590.png?width=20&height=26&rev=1.1||alt="1744701440100-590.png" height="26" width="20"]]|# FD8B09|VPN through reconnecting
174 |[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744701497103-554.png?width=20&height=22&rev=1.1||alt="1744701497103-554.png" height="22" width="20"]]|# 2C405E|VPN through ending
175 |[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744701516822-496.png?width=18&height=19&rev=1.1||alt="1744701516822-496.png" height="19" width="18"]]|# 109A00|Ready for normal downloading
176 |[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744701534027-352.png?width=20&height=21&rev=1.1||alt="1744701534027-352.png" height="21" width="20"]]|# 009577|Normal downloading
177
178 === 2.3.8.1 Group right-click menu ===
179
180 When the mouse is on the group name of a multi-level group, right-click the mouse to display a drop-down menu bar, including the functions of adding devices, changing names, and maps, as shown in the figure below.
181
182 (% style="text-align:center" %)
183 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744014768378-493.png?width=1200&height=582&rev=1.1||alt="1744014768378-493.png" height="582" width="1200"]]
184
185 1. Add device: Add V-Box/IoT HMI to add a new V-Box/IoT HMI to this group.
186 1. Change name: Change group name.
187 1. Map: Click to jump to the map monitoring page to query all devices under the clicked group.
188
189 === 2.3.8.2 Device right-click menu ===
190
191 When the mouse is on a certain V-Box/IoT HMI, right-click the mouse to display a drop-down menu bar, which includes functions such as "Follow, Move Group, Share Device, Copy Machine Code/Product Code, Transfer, Replace", as shown in the figure below.
192
193 (% style="text-align:center" %)
194 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744015431875-860.png?width=800&height=602&rev=1.1||alt="1744015431875-860.png" height="602" width="800"]]
195
196 **(1) Follow/Unfollow**
197
198 In the device list, you can follow the V-Box/IoT HMI that is not shared by others through the right-click menu. The right-click menu will show the[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744709104018-188.png||alt="1744709104018-188.png"]]function. After the V-Box/IoT HMI is followed, the follow mark and the move icon[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744709139657-874.png?rev=1.1||alt="1744709139657-874.png"]]will appear on the right, indicating that the V-Box/IoT HMI has been followed.
199
200 (% style="text-align:center" %)
201 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744016212274-707.png?width=1000&height=687&rev=1.1||alt="1744016212274-707.png" height="687" width="1000"]]
202
203 {{info}}
204 Note: There is no follow/unfollow function for devices shared by others.
205 {{/info}}
206
207 **(2) Move Group**
208
209 Modify the group to which the device belongs, as shown in the figure below.
210
211 (% style="text-align:center" %)
212 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744082964001-726.png?width=500&height=360&rev=1.1||alt="1744082964001-726.png" height="360" width="500"]]
213
214 **(3) Share Device**
215
216 Share the device with permission (read and write) to other accounts. After sharing, the device will still be in your own device list, and other accounts can view it without receiving it.
217
218 Choose the device to be shared in the device list, right-click the menu bar and choose [Share device] to share the device, as shown in the following figure.
219
220 {{info}}
221 Note:
222
223 1. After checking "Allow Monitoring Point Value Writing", the other party's account will have the permission to write values to the device's monitoring points.
224 1. If not checking, the values under the Data Monitoring interface of the other party's account will be grayed out and cannot be modified.
225 {{/info}}
226
227 (% style="text-align:center" %)
228 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744080140460-577.png?width=400&height=449&rev=1.1||alt="1744080140460-577.png" height="449" width="400"]]
229
230 After sharing successfully, check the sharing details in [Basic Configuration], as shown below.
231
232 (% style="text-align:center" %)
233 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744091273079-516.png?width=1200&height=344&rev=1.1||alt="1744091273079-516.png" height="344" width="1200"]]
234
235 **(4) Copy Machine code/Product code**
236
237 Copy the machine code or product code of this device. (If the device has a product code, copy the product code first.)
238
239 **(5) Transfer**
240
241 If during the usage of the V-Box/ig device, the technician in charge of management changes, and it is necessary to transfer the IoT product to other personnel for management, the "Transfer" function can be used to transfer the device to another person for testing. During the transfer process of the V-Box/ig device, the configuration information of the device itself will not be affected, only the person in charge of management will be changed.
242
243 V-Box/ig IoT HMI Transfer: Transfer the V-Box/ig IoT HMI from one account to another. Except for the user changing, other information of the V-Box/ig IoT HMI will not change. When removing the V-Box/ig IoT HMI, enter the information of the transferring user and the password of the V-Box/ig IoT HMI. If the information is correct, the information of this account will appear, confirm the information of the other account is valid and then transfer.
244
245 ①Locate the V-Box/IoT HMI in the device column. Right-click with the mouse → a drop-down box will pop up. Click the [Transfer] button as shown in the figure.
246
247 (% style="text-align:center" %)
248 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744080668282-466.png?width=1200&height=582&rev=1.1||alt="1744080668282-466.png" height="582" width="1200"]]
249
250 ②Enter the "User information transferred and the password of the V-Box/IoT HMI", If the information is correct, the information of this account will appear, confirm the information of the other account is valid and then transfer. As shown in the following figure.
251
252 (% style="text-align:center" %)
253 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744081632742-161.png?width=1200&height=582&rev=1.1||alt="1744081632742-161.png" height="582" width="1200"]]
254
255 ③V-Box/IoT HMI transfer has been completed successfully. Wait for the receiving party to confirm the receipt. As shown in the following figure.
256
257 (% style="text-align:center" %)
258 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744081685333-733.png?width=400&height=146&rev=1.1||alt="1744081685333-733.png" height="146" width="400"]]
259
260 ④Receiving device: Log in to the receiving account, click the prompt box[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743987959917-318.png?rev=1.1||alt="1743987959917-318.png"]]in the upper right corner of the page, find the V-Net 2.0 device to be transferred in the transfer device, and confirm the receipt, as shown in the figure below. (Other people's account)
261
262 (% style="text-align:center" %)
263 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744081820568-149.png?width=1200&height=335&rev=1.1||alt="1744081820568-149.png" height="335" width="1200"]]
264
265 ⑤Reset the "Device Name" and select the "Device Group". (Other people's account)
266
267 (% style="text-align:center" %)
268 [[image:Fwfd7ImPmq.png||height="559" width="700"]]
269
270 ⑥Prompt that the device is successfully bound, indicating that the V-Box/IoT HMI has been successfully transferred.
271
272 **(6) Replace**
273
274 When the V-Box device has an abnormality and needs to be replaced, you can choose the "Replace" function. Replace the old device with the new one, and update the configuration information of the old device to the new one at the same time, without reconfiguring. Please note that the new and old devices must be of the same model to complete the replacement action.
275
276 Example: Under this account, a new V-Box (same model) will be used to replace the old one. There are two V-Boxes, V-Box A is bound to the account. When V-Box A breaks down, " V-Box B" needs to replace " V-Box A" (V-Box B must be unbound). The following are the detailed steps for replacing a V-Box.
277
278 ①V-Box device A is bound to a certain account. This description only takes this configuration information of the data monitoring interface as an example.
279
280 ②Find V-Box A in the device column, right-click to pop up the drop-down box, and click the Replace button, as shown in the figure below.
281
282 (% style="text-align:center" %)
283 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744079850375-272.png?width=1200&height=582&rev=1.1||alt="1744079850375-272.png" height="582" width="1200"]]
284
285 ③In the replacement interface, enter the machine code of V-Box B and the V-Box device password (default 888888), and click Replace, as shown in the figure below.
286
287 (% style="text-align:center" %)
288 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744078353242-613.png?width=400&height=458&rev=1.1||alt="1744078353242-613.png" height="458" width="400"]]
289
290 ④During the replacement process, you will be prompted whether to continue replacing the V-Box device machine code. Click [OK] to replace the V-Box device, as shown in the figure below.
291
292 (% style="text-align:center" %)
293 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744078391096-892.png?width=400&height=145&rev=1.1||alt="1744078391096-892.png" height="145" width="400"]]
294
295 ⑤After prompting that [Device A] is replaced successfully. V-Box B has completely replaced V-Box A successfully. Except for the machine code, the configuration information remains unchanged (compared with the data monitoring interface of "Step ①"), as shown in the following figure.
296
297 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744079655772-865.png?width=1200&height=582&rev=1.1||alt="1744079655772-865.png" height="582" width="1200"]]
298
299 ⑥Now, just take down the " V-Box A" on the equipment cabinet and install the " V-Box B" to complete the replacement, and the previous equipment operation can be carried out normally.
300
301 {{info}}
302 Note:
303
304 1. The V-Box B to be replaced cannot be in the bound state, otherwise it will prompt "The device has been bound!";Device B must be online, otherwise it will prompt "The target device is not online".
305 1. To replace a V-Box device, you need to use the same model V-Box device. Otherwise, it will prompt "Device models are different".
306 1. To replace a V-Box device, it cannot be in the transfer state, otherwise it will prompt "Device transfer in progress".
307 {{/info}}
308
309 **(7) Share Configuration**
310
311 Share the configuration of the V-Box in the form of a sharing code. The sharing code needs to be set with a validity period. After clicking [Share Configuration], the sharing code for sharing the V-Box configuration will pop up, as shown in the figure below.
312
313 (% style="text-align:center" %)
314 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744091770717-923.png?width=1200&height=582&rev=1.1||alt="1744091770717-923.png" height="582" width="1200"]]
315
316 Other people's accounts: In the basic configuration, click the sharing code import button, verify the sharing code and import it into V-Box, as shown in the figure below.
317
318 (% style="text-align:center" %)
319 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744091468763-501.png?width=1200&height=582&rev=1.1||alt="1744091468763-501.png" height="582" width="1200"]]
320
321 **(8) Export Configuration**
322
323 Export the V-Box configuration. (The file is boxInfo.vbox)
324
325 **(9) Import Configuration**
326
327 Import the V-Box configuration. (The file is boxInfo.vbox)
328
329 **(10) Import Template**
330
331 Quickly configure data for the V-Box. You can select a configured template to import. After importing, the V-Box using this template will synchronize the configuration of the template's related data points and communication protocols. Its original configuration will be overwritten by the template's configuration. After clicking Import Template, a window for template selection will pop up. After selecting a template and clicking OK, the data of the selected template will be synchronized to the V-Box.
332
333 (% style="text-align:center" %)
334 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744092062288-391.png?width=1200&height=582&rev=1.1||alt="1744092062288-391.png" height="582" width="1200"]]
335
336 {{info}}
337 Note:
338
339 1. Only V-Box has the function of importing templates.
340 1. Devices shared by others do not support the template import function.
341 1. There must be at least one template of the same model as the V-Box, otherwise it will prompt that there is no template for the current device model
342 {{/info}}
343
344 **(11) Positioning**
345
346 Manually modify device targeting.
347
348 (% style="text-align:center" %)
349 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744092442055-537.png?width=1200&height=582&rev=1.1||alt="1744092442055-537.png" height="582" width="1200"]]
350
351 **(12) Cloud SCADA**
352
353 Quickly jump to the cloud SCADA panel in the device.
354
355 (% style="text-align:center" %)
356 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744098747975-596.png?width=1200&height=582&rev=1.1||alt="1744098747975-596.png" height="582" width="1200"]]
357
358 **(13) Generate a template**
359
360 Generate a device template of the same device model based on the current device configuration.
361
362 (% style="text-align:center" %)
363 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744103591369-428.png?width=1200&height=582&rev=1.1||alt="1744103591369-428.png" height="582" width="1200"]]
364
365 == 2.3.9 Device dashboard ==
366
367 The device dashboard consists of three blocks: "Device Basic Information Block", "Device Screen Collection Block" and "Device Data Block".
368
369 (% style="text-align:center" %)
370 [[image:51xKHTMzOr.png||height="678" width="1200"]]
371
372 **(1) Device basic information block**
373
374 This block displays basic device details, and also provides alarm statistics and device online/offline duration statistics. Click the icon[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743988527505-556.png?rev=1.1||alt="1743988527505-556.png"]]to view the device statistics for the online/offline period of the past week, month, or year. As shown in the figure below.
375
376 (% style="text-align:center" %)
377 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744103708861-761.png?width=700&height=447&rev=1.1||alt="1744103708861-761.png" height="447" width="700"]]
378
379 **(2) Device screen collection block**
380
381 This block provides remote monitoring (HMI) screens, cloud SCADA screens, and device map positioning for display device.
382
383 **(3) Device data block**
384
385 This block provides real-time monitoring of display data (V-Box), collection point information (HMI), device alarm records, historical data and maintenance tickets.
386
387 == 2.3.10 V-Box-Data monitoring ==
388
389 Data monitoring module, function buttons: add tags, add in batch, delete in batch, import/export, as shown below.
390
391 (% style="text-align:center" %)
392 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744103899353-690.png?width=1200&height=582&rev=1.1||alt="1744103899353-690.png" height="582" width="1200"]]
393
394 Data modification: On the data monitoring page, you can modify the real-time data of the monitoring point.
395
396 Click the text box in the "Value" column of a monitoring point in the list to enter the in-line editing state, enter the modified value, click "√" to modify, and modify the real-time data of the monitoring point to the input value, as shown in the figure below.
397
398 (% style="text-align:center" %)
399 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744103971383-386.png?width=1200&height=582&rev=1.1||alt="1744103971383-386.png" height="582" width="1200"]]
400
401 Through the menu bar at the top of the list, you can switch to view and operate the monitoring point data in different groups.
402
403 (% style="text-align:center" %)
404 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744104047750-456.png?width=1200&height=582&rev=1.1||alt="1744104047750-456.png" height="582" width="1200"]]
405
406 === 2.3.10.1 Add tags ===
407
408 Click [Add Tags] to add different types of data monitoring points for monitoring. The added monitoring points will be automatically refreshed in the monitoring list. The added monitoring points will be in the grouping of the current data list, without the need to select in the pop-up window, as shown below.
409
410 (% style="text-align:center" %)
411 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744104228975-995.png?width=1200&height=582&rev=1.1||alt="1744104228975-995.png" height="582" width="1200"]]
412
413 === 2.3.10.2 Add/Delete in batch ===
414
415 **(1) Add in batch**
416
417 The batch adding and adding monitoring points are the same operation, and multiple identical monitoring point data can be added at the same time. As long as you enter the quantity after [Batch count], the batch adding can be completed (monitoring point name: the serial number is added after the name by default), as shown in the figure below.
418
419 (% style="text-align:center" %)
420 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744104554427-446.png?width=1200&height=582&rev=1.1||alt="1744104554427-446.png" height="582" width="1200"]]
421
422 **(2) Delete in batch**
423
424 Choose the selection box at the head of the data list, select the data to be deleted, perform batch deletion, and delete all the selected monitoring points at one time.
425
426 (% style="text-align:center" %)
427 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744104753082-432.png?width=1200&height=582&rev=1.1||alt="1744104753082-432.png" height="582" width="1200"]]
428
429 === 2.3.10.3 Import/Export ===
430
431 Import: You can import external monitoring point information and monitoring points in the Excel table into the current group at one time. The content format in the file must be valid to import successfully. (The same monitoring points will be overwritten)
432
433 Export: You can export the selected monitoring point information to an Excel table. It also supports exporting all information at once and exporting template content.
434
435 (% style="text-align:center" %)
436 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744104909109-840.png?width=1200&height=582&rev=1.1||alt="1744104909109-840.png" height="582" width="1200"]]
437
438 === 2.3.10.4 Search ===
439
440 Support fuzzy query of monitoring points through "monitoring point name" and "address information"
441
442 (% style="text-align:center" %)
443 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744161127888-672.png?width=1200&height=582&rev=1.1||alt="1744161127888-672.png" height="582" width="1200"]]
444
445 === 2.3.10.5 Header menu bar ===
446
447 You can modify the information displayed in the header by clicking the button[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743988847524-806.png?rev=1.1||alt="1743988847524-806.png"]]in the right header menu bar.
448
449 (% style="text-align:center" %)
450 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744161353936-144.png?width=1200&height=582&rev=1.1||alt="1744161353936-144.png" height="582" width="1200"]]
451
452 === 2.3.10.6 List action bar ===
453
454 * Edit: You can modify the information of existing monitoring points.
455 * Move: You can move the specified monitoring point information to other groups.
456 * Delete: Delete the current monitoring point.
457
458 (% style="text-align:center" %)
459 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744161465823-708.png?width=1200&height=242&rev=1.1||alt="1744161465823-708.png" height="242" width="1200"]]
460
461 == 2.3.11 V-Box-Alarm record ==
462
463 The alarm record page records all alarm records, including historical alarms and current alarms.
464
465 The current alarm is marked as a column showing the confirmation button, and the historical alarm is a confirmed button. After the current alarm is [confirmed], it will become a historical alarm.
466
467 === 2.3.11.1 Alarm details ===
468
469 In the conditional search area on the left side of the page, you can conduct a joint query on all alarm information, as shown in the figure below.
470
471 (% style="text-align:center" %)
472 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744161666830-990.png?width=1200&height=582&rev=1.1||alt="1744161666830-990.png" height="582" width="1200"]]
473
474 After clicking [OK], the alarm data will be converted into a historical alarm.
475
476 === 2.3.11.2 Alarm registration ===
477
478 The alarm registration displays the manually added alarm information, and the information can be "edited" and "deleted".
479
480 (% style="text-align:center" %)
481 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744162096006-212.png?width=1200&height=582&rev=1.1||alt="1744162096006-212.png" height="582" width="1200"]]
482
483 Click the [Alarm Registration] button to add new operations to the alarm registration. When adding an alarm registration, you need to select or enter data such as name, group, connection device (i.e. communication port), address type, etc., as shown in the figure below. As long as the value of the device monitoring point reaches the trigger condition, the corresponding alarm record will be generated.
484
485 (% style="text-align:center" %)
486 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744162330044-788.png?width=1200&height=582&rev=1.1||alt="1744162330044-788.png" height="582" width="1200"]]
487
488 === 2.3.11.3 Alarm setting ===
489
490 After checking, monitoring data push is suspended. If an alarm message is generated, no third-party platform reminder will push (default is on, keep pushing status), as shown in the figure below.
491
492 (% style="text-align:center" %)
493 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744162449618-292.png?width=1200&height=582&rev=1.1||alt="1744162449618-292.png" height="582" width="1200"]]
494
495 == 2.3.12 V-Box-History data ==
496
497 === 2.3.12.1 Raw data ===
498
499 In the raw data page, you can query the historical data, select grouping, input monitoring points, start and end dates and other conditions to search and query. The display of historical data can be viewed in two ways: "list and curve".
500
501 Batch deletion: You can check the box in front of the data to select the data and perform batch deletion.
502
503 Export to excel: Export the content as an excel table by customizing the number of export items.
504
505 (% style="text-align:center" %)
506 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744163432341-391.png?width=1200&height=582&rev=1.1||alt="1744163432341-391.png" height="582" width="1200"]]
507
508 === 2.3.12.2 Data registration ===
509
510 Data registration page displays the manually added data information, and the information can be "edited" and "deleted".
511
512 Group settings: You can "add and delete" groups and modify group information. Groups do not support the same name, as shown in the figure below.
513
514 (% style="text-align:center" %)
515 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744163496108-823.png?width=1200&height=239&rev=1.1||alt="1744163496108-823.png" height="239" width="1200"]]
516
517 ①Click [Group Settings] → Click the [Add] button to add a historical data group, as shown in the figure below.
518
519 (% style="text-align:center" %)
520 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744163573226-338.png?width=1200&height=582&rev=1.1||alt="1744163573226-338.png" height="582" width="1200"]]
521
522 ②Click the [Data Registration] button to add a piece of data. When adding data registration, you need to choose or enter the name, group, connection device (i.e. communication port), address type and other data, as shown in the figure below.
523
524 (% style="text-align:center" %)
525 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744163778469-384.png?width=1200&height=582&rev=1.1||alt="1744163778469-384.png" height="582" width="1200"]]
526
527 === 2.3.12.3 History setting ===
528
529 After checking, monitoring data push is suspended. If historical messages are generated, no third-party platform reminders will push (default is on, keep pushing status), as shown in the figure below.
530
531 (% style="text-align:center" %)
532 [[image:oViHCNRAOy.png||height="616" width="1200"]]
533
534 == 2.3.13 V-Box-Lua script ==
535
536 === 2.3.13.1 Script management ===
537
538 Select [Lua script] of the V-Box device to enter the script management module of the V-Box device.
539
540 The script management module includes: script list, create script, edit script, delete script, batch delete script, synchronize script, batch synchronize script, import script, export script, debug, view V-Box script and other functions, as shown in the figure below.
541
542 (% style="text-align:center" %)
543 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744164155376-719.png?width=1200&height=277&rev=1.1||alt="1744164155376-719.png" height="277" width="1200"]]
544
545 **(1) Create a new script**
546
547 1) Create a script
548
549 Click the [New script] button, enter the name and execution strategy of the script, save and go to the next step to create a new script, as shown in the figure below.
550
551 (% style="text-align:center" %)
552 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744164388427-521.png?width=1200&height=582&rev=1.1||alt="1744164388427-521.png" height="582" width="1200"]]
553
554 Name: Enter the script name. The script name must start with a letter, be up to 32 characters, and do not support Chinese.
555
556 Strategy: Select the script execution condition. The script execution conditions include the following:
557
558 |=**Strategy**|=**Function**|=**Quantity**
559 |Initialization execution|Execute after the box is powered on, and only execute once.|Up to 1
560 |Execution if connected|Execute after the box is connected to the server.|Up to 1
561 |Execution if unconnected|Execute when the box is disconnected from the server.|Up to 1
562 |Timed execution|Timed execution Execute in a loop according to the set timer time.|Up to 5
563
564 Timing: When the script execution condition is timed execution, you need to enter the time and time unit for the timed execution.
565
566 The time unit can be selected from "days, hours, minutes, seconds, milliseconds", and the timing time must be greater than 1000 milliseconds and cannot exceed 1 day. After ensuring that the information is filled in correctly, click [Next] to generate a new script.
567
568 Information
569
570 {{info}}
571 Note: After the script is saved, except for the timing time under the timing execution condition, other information cannot be modified once it is saved.
572 {{/info}}
573
574 2) Edit Lua
575
576 ①Enter the Lua script editing interface, and the initialization code will be displayed in the script editor, as shown in the figure below.
577
578 (% style="text-align:center" %)
579 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744164480942-806.png?width=1000&height=471&rev=1.1||alt="1744164480942-806.png" height="471" width="1000"]]
580
581 {{code language="none"}}
582 function script name.main()
583
584 --dosomething
585
586 end
587 {{/code}}
588
589 ②The Lua script edited by the user will be edited in the initialized function structure, and the structure is not allowed to be modified.
590
591 ③The use of the script editor will be introduced in the [2.3.13.2 Script Editor] section
592
593 ===== **(2) Script list** =====
594
595 After the script is successfully added, it will be displayed in the script list. One line represents one script.
596
597 (% style="text-align:center" %)
598 [[image:PixPin_2025-05-20_19-16-31.png||height="327" width="1200"]]
599
600 The script parameter description in the script list is as follows:
601
602 |=**Word**|=**Description**
603 |Status|Indicates whether the script is synchronized. The status is divided into synchronized and unsynchronized.
604 |Name|Script name.
605 |Strategy|The execution conditions of the script.
606 |Enable|The script enable switch. ON enables the script, OFF disables the script. When the box is offline or passing, the button is grayed out and inoperable.
607 |Sync|Synchronize the script to the V-Box. When the script synchronization fails, a message will pop up, and you can click Details to view the failure information. When the box is offline or passing, this button is grayed out and inoperable.
608 |Operation|Script view, delete and edit.
609
610 **(3) Script delete**
611
612 Click the Delete button to delete a single script.
613
614 Select multiple scripts and click Delete in batch in the button bar of the script list to delete the selected scripts
615
616 **(4) Script edit**
617
618 Click the Edit button in the operation box of the script list to edit the script.
619
620 Next: Edit Lua script.as shown in the figure below.
621
622 (% style="text-align:center" %)
623 [[image:1747739968806-460.png]]
624
625 **(5) Sync in batch**
626
627 Select the required script in the list and click the Sync in batch button in the button bar of the script list to synchronize the selected scripts. When the script content is wrong and enabled, after clicking the Synchronize button, the compilation failure information will be displayed next to the Synchronize button. Click Details to view the specific error content.
628
629 ===== **(6) Import/Export script** =====
630
631 ①Export script: Click [Export Script] in the button bar above the list to export all scripts of the current V-Box as files with a .script extension.
632
633 ②Import script: Click [Import Script] in the button bar above the list to import an external script file with a .script extension into the V-Box. After importing the script, the script of the current V-Box will be cleared, as shown in the figure below.
634
635 (% style="text-align:center" %)
636 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744164848672-449.png?width=800&height=324&rev=1.1||alt="1744164848672-449.png" height="324" width="800"]]
637
638 {{info}}
639 Note: Replacing the communication port will replace the original communication port in the script with the communication port of the current V-Box. If the communication port of the current V-Box is empty, it will prompt: The current V-Box has no communication port configuration, no need to replace. If the communication port in the imported script file is empty, it will prompt: There is no communication port configuration in the script, no need to replace.
640 {{/info}}
641
642 **(7) Debug**
643
644 Click the [Debug] button in the button bar above the list to enter the script debugging page of the V-Box, as shown in the figure below.
645
646 (% style="text-align:center" %)
647 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744165046505-459.png?width=1200&height=582&rev=1.1||alt="1744165046505-459.png" height="582" width="1200"]]
648
649 === 2.3.13.2 Script Editor ===
650
651 The script editor is an online editor for user to write Lua scripts.
652
653 Click [Next] in the pop-up window for adding or editing script to switch to the script editor page and write the Lua script of the V-Box. The functional divisions in the script editing page are shown in the figure below.
654
655 (% style="text-align:center" %)
656 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744702485232-679.png?width=1000&height=470&rev=1.1||alt="1744702485232-679.png" height="470" width="1000"]]
657
658 **(1) Tag List**
659
660 ①This area lists all monitoring points of the current V-Box and has the function of searching for monitoring points.
661
662 ②Click a monitoring point in the list to insert the monitoring point at the current cursor position of the script editor. The inserted monitoring point will have the @ symbol added to the name and defined as a string. For example, "@ Temperature of City A ". After synchronizing, the monitoring point variable will be converted into an address on the server and sent to the V-Box.
663
664 {{info}}
665 Note:
666
667 1. The monitoring points above are converted into address format as @address type_serial port number#station number:register type main number.subnumber. If the station number is empty, remove the station number; if the subnumber is empty, remove the.subnumber.
668 1. When the mouse passes over the monitoring point, more detailed monitoring point information will be displayed through a floating box. Clicking the floating box can also display it at the cursor of the script editor.
669 {{/info}}
670
671 **(2) Toolbar**
672
673 The toolbar is in the top of the script editor, as shown in the figure below.
674
675 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743989276934-135.png?rev=1.1||alt="1743989276934-135.png"]]
676
677 From left to right:
678
679 ①[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743989276935-441.png?rev=1.1||alt="1743989276935-441.png"]] **Save:** Save the current code.
680
681 ②[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743989276935-154.png?rev=1.1||alt="1743989276935-154.png"]] **Clear: **Clear the current code in the script editor. And restore to the initialization structure.
682
683 ③[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743989276936-583.png?rev=1.1||alt="1743989276936-583.png"]] **Insert address**: Insert a new bit address or word address at the current cursor.
684
685 ④[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743989276936-325.png?rev=1.1||alt="1743989276936-325.png"]] **Copy:** Copy code, shortcut key [ctrl+c]. For some lower version browsers (such as IE8 and below), content may not be copied outside the editor. It is recommended to use the ctrl+c to copy.
686
687 ⑤[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743989276936-470.png?rev=1.1||alt="1743989276936-470.png"]] **Paste:** Paste code, shortcut key [ctrl+v]. This button is limited to pasting text copied in the current editor. It is recommended to use the ctrl+v paste key combination.
688
689 ⑥[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743989276936-244.png?rev=1.1||alt="1743989276936-244.png"]] **Undo:** Undo editor actions step by step.
690
691 ⑦[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743989276937-187.png?rev=1.1||alt="1743989276937-187.png"]] **Restore: **Restore editor actions step by step
692
693 ⑧[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743989276937-459.png?rev=1.1||alt="1743989276937-459.png"]] **Comment:** Comment or uncomment the code in the selected line.
694
695 ⑨[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743989276937-704.png?rev=1.1||alt="1743989276937-704.png"]] **Compare difference:** Two code editing areas can be opened, with the currently edited script displayed on the left and the last saved code displayed on the right.
696
697 **(3) Code Editing Area**
698
699 The editor has functions such as syntax verification, keyword prompts, common code snippet prompts, variable prompts, code completion, etc. It also provides monitoring point management functions, which can directly insert addresses as variables in the code.
700
701 ①Syntax Verification
702
703 When writing Lua code, you can check the syntax validity in real time. An icon[[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743989276938-723.png?rev=1.1||alt="1743989276938-723.png"]]will appear next to the syntax error line. When you move the mouse over it, the error content will be prompted. When multiple lines are wrong, it will be displayed on the first line with the error. After resolving the error in the line, it will be displayed on the next error line.
704
705 Error example: [6:0] ‘do’ expected near ‘doo’, which means that ‘do’ is expected to be entered at the 0th character position of the 6th line. Syntax checking includes the following categories:
706
707 A: Check the spelling of keywords.
708
709 B: Check the definition of variables.
710
711 C: Check the usage specifications of operators.
712
713 D: Check the syntax of the function structure.
714
715 Note: The above syntax check does not include runtime error checking. Runtime error checking is to send the code to the V-Box and return the error information after the V-Box compiles it.
716
717 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744165311707-575.png?width=900&height=165&rev=1.1||alt="1744165311707-575.png" height="165" width="900"]]
718
719 ②Script Prompt
720
721 When writing code, it provides prompts such as fuzzy matching keywords, defined variables, code snippets, etc. Click the corresponding prompt line to complete the code, as shown in the figure below.
722
723 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744165361819-336.png?width=900&height=229&rev=1.1||alt="1744165361819-336.png" height="229" width="900"]]
724
725 The provided hint codes and complete codes include the following categories:
726
727 A: Keywords, keywords of Lua language, built-in method names, built-in constants, and library functions.
728
729 B: Code snippets, commonly used code snippets of Lua
730
731 C: Defined variables (local), all defined variable names.
732
733 |=**Name**|=**Sample Code**|=**Function**
734 |(% rowspan="5" %)(((
735 Code snippets
736
737
738 )))|local x = 1|Variable Definition
739 |(((
740 function fname(...)
741
742 ~-~- body
743
744 end
745 )))|Function structure
746 |(((
747 for i=1,10 do
748
749 print(i)
750
751 end
752 )))|for loop structure
753 |(((
754 while (condition)
755
756 do
757
758 ~-~- body
759
760 end
761 )))|while loop structure的
762 |(((
763 if (condition)
764
765 then
766
767 ~-~- body
768
769 end
770 )))|Conditional structure
771 |method names|(((
772 _G|_VERSION|assert|collectgarbage|dofile|error|getmetatable|ipairs|" +
773
774 "load|loadfile|next|pairs|pcall|print|rawequal|" +
775
776 "rawget|rawlen|rawset|require|select|setmetatable|" +
777
778 "tonumber|tostring|type|xpcall|create|isyieldable|resume|running|" +
779
780 "status|wrap|yield|debug|gethook|getinfo|getlocal|" +
781
782 "getmetatable|getregistry|getupvalue|" +
783
784 "getuservalue|sethook|setlocal|setmetatable|setupvalue|setuservalue|traceback|upvalueid|upvaluejoin|" +
785
786 "abs|acos|asin|atan|ceil|cos|deg|exp|" +
787
788 "floor|fmod|huge|log|max|maxinteger|min|mininteger|" +
789
790 "modf|pi|rad|random|randomseed|sin|sqrt|tan|" +
791
792 "tointeger|type|ult|clock|date|difftime|time|config|cpath|" +
793
794 "loaded|loadlib|path|preload|searchers|searchpath|byte|char|dump|" +
795
796 "find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|" +
797
798 "sub|unpack|upper|concat|insert|move|pack|remove|sort|unpack|charpattern|" +
799
800 "codepoint|codes|offset|" +
801
802 "foreachi|maxn|foreach|concat|remove|
803 )))|
804 |built-in constants|true~|false~|nil~|_G~|_VERSION|
805
806 == 2.3.14  V-Box-Basic configuration ==
807
808 The basic configuration of V-Box is mainly included: Basic information configuration, Shared details, Communication port configuration, Network configuration, Data limit, Registers information, Version information.
809
810 **Basic information configuration:** Manage the name, longitude and latitude of the V-Box, and support advanced functions such as unbinding and restarting.
811
812 **Shared details: **Display the sharing status of the device.
813
814 **Communication port configuration: **Can add, delete, edit communication port information, and manage the label of the communication port.
815
816 **Data limit:** View the current data restriction information, which can only be viewed but not modified.
817
818 **Version information:** Display the firmware information, and can check for updates and upgrade the firmware version.
819
820 **Network configuration:** Configure network information.
821
822 **Registers information: **View the current register information, and support to modify time and password.
823
824 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744165544921-888.png?width=1200&height=217&rev=1.1||alt="1744165544921-888.png" height="217" width="1200"]]
825
826 === 2.3.14.1 Basic information configuration ===
827
828 In the "Basic information configuration" sub-page of the basic configuration of the V-Box, you can manage the V-Box information, such as modifying the name, longitude and latitude, and remarks of the V-Box. After the user enters the modified information, click the [Save Changes] at the bottom, and the entered data must be valid for the modification to be successful. The basic information management interface of the V-Box is shown in the figure below.
829
830 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744166654597-699.png?width=1200&height=582&rev=1.2||alt="1744166654597-699.png" height="582" width="1200"]]
831
832 **(1) Unbind the device**
833
834 Click [Unbind the device] → [OK] to unbind. After unbinding, the device will be invisible.
835
836 {{info}}
837 Note: If the configuration information of the communication port and monitoring point corresponding to the V-Box is not deleted, the data will still exist when the V-Box is added next time and will be transferred to the V-Box.
838 {{/info}}
839
840 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744167139238-582.png?width=1200&height=582&rev=1.1||alt="1744167139238-582.png" height="582" width="1200"]]
841
842 ===== =====
843
844 (% class="wikigeneratedid" id="H28229Devicerestart" %)
845 **(2) Device restart**
846
847 Click [Device restart] → [OK] and the device will physically restart.
848
849 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744167213833-329.png?width=1200&height=582&rev=1.1||alt="1744167213833-329.png" height="582" width="1200"]]
850
851 **(3) Force to sync**
852
853 Click [Force to sync] → [OK], and the device will synchronize the configuration to V-Box.
854
855 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744167393496-969.png?width=1200&height=582&rev=1.1||alt="1744167393496-969.png" height="582" width="1200"]]
856
857 **(4) Copy configuration**
858
859 Copy configuration: Copy the configuration information of the V-Box from one V-Box to another (“Copy Configuration” can only be performed when there are same model V-Boxes under the account)
860
861 If the configuration information of multiple V-Boxes is the same, you can configure the information of one V-Box first, and then use the [Copy Configuration] function to copy the configuration parameter information to another V-Box, as shown in the figure below.
862
863 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743989514576-106.png?rev=1.1||alt="1743989514576-106.png"]]
864
865 **(5) Import configuration**
866
867 Import configuration for this V-Box. (boxInfo.vbox)
868
869 **(6) Export configuration**
870
871 Export the V-Box configuration. (boxInfo.vbox)
872
873 **(7) Share configuration**
874
875 Share the configuration of the V-Box in the form of a sharing code, and the sharing code needs to be set with a validity period. After clicking [Share Configuration], the sharing code will pop up, as shown in the figure below.
876
877 (% style="text-align:center" %)
878 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744177071782-605.png?width=1200&height=582&rev=1.1||alt="1744177071782-605.png" height="582" width="1200"]]
879
880 Other people's accounts: In the basic configuration, select the sharing code import button, verify the sharing code and import it into V-Box, as shown in the figure below.
881
882 (% style="text-align:center" %)
883 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744177229150-497.png?width=1200&height=582&rev=1.1||alt="1744177229150-497.png" height="582" width="1200"]]
884
885 **(8) Sharing code import**
886
887 In the basic configuration, select the sharing code import button, verify the sharing code and import it into V-Box.
888
889 **(9) Import template**
890
891 You can import a template to quickly configure V-Box. After importing, the V-Box will synchronize the configuration of the template's data points and communication protocols, and its original configuration will be overwritten by the template's configuration. After clicking Import Template, select a template in the Template Selection pop-up window and click OK, and the data of the selected template will be synchronized to the V-Box.
892
893 === 2.3.14.2 Shared details ===
894
895 Display the sharing status of the device. You can modify the sharing permission (read and write) settings and cancel sharing, as shown in figure below.
896
897 (% style="text-align:center" %)
898 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744177563165-832.png?width=1200&height=582&rev=1.1||alt="1744177563165-832.png" height="582" width="1200"]]
899
900 === 2.3.14.3 Communication port configuration ===
901
902 In the [Communication port configuration] interface under [Basic configuration], you can perform the "add, modify and delete" operations of the communication port configuration. Only admin account has the authority to operate this function.
903
904 ①Add communication port: Select or enter the communication protocol, device type, driver name, device station number, PLC station number and other information. After the communication port is configured successfully, the system will synchronize the configuration and driver files to the V-Box in 30 seconds.
905
906 ②Modify the communication port: The admin account can modify the data except the V-Box ID. If the driver file is changed, the monitoring points and data under this communication port will be deleted, as shown in the figure below.
907
908 (% style="text-align:center" %)
909 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744177685320-769.png?width=1200&height=582&rev=1.1||alt="1744177685320-769.png" height="582" width="1200"]]
910
911 ③Delete communication port: After deletion, the monitoring points and data under this communication port will be deleted; When deleting the communication port, a prompt dialog box will pop up to confirm whether to continue the operation.
912
913 (% style="text-align:center" %)
914 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744177716667-812.png?width=500&height=154&rev=1.1||alt="1744177716667-812.png" height="154" width="500"]]
915
916 === 2.3.14.4 Data limit ===
917
918 Record the data monitoring, history registration, and alarm registration of the current V-Box, as shown in the figure below:
919
920 (% style="text-align:center" %)
921 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744177811344-301.png?width=1200&height=582&rev=1.1||alt="1744177811344-301.png" height="582" width="1200"]]
922
923 === 2.3.14.5 Version information ===
924
925 You can view the version information of the V-Box in the [Version information] interface of [Basic configuration]. You can judge the function of the V-Box based on the version information, as shown in the figure below.
926
927 (% style="text-align:center" %)
928 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744177996012-826.png?width=1200&height=582&rev=1.1||alt="1744177996012-826.png" height="582" width="1200"]]
929
930 === 2.3.14.6 Network configuration ===
931
932 You can check the network configuration information and modify the networking mode of the V-Box, etc., as shown in the figure below.
933
934 (% style="text-align:center" %)
935 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744178110241-843.png?width=1200&height=582&rev=1.1||alt="1744178110241-843.png" height="582" width="1200"]]
936
937 === 2.3.14.7 Registers information ===
938
939 Record the device information of the V-Box, modify the access password, and display the device IP address, WIFI, 4G and other information, as shown in the figure below.
940
941 (% style="text-align:center" %)
942 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744178186436-135.png?width=1200&height=582&rev=1.1||alt="1744178186436-135.png" height="582" width="1200"]]
943
944 == 2.3.15 HMI-Remote monitoring ==
945
946 Remote monitoring displays the configuration engineering screen of the current HMI, as shown below.
947
948 (% style="text-align:center" %)
949 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744277720243-892.png?width=1200&height=582&rev=1.1||alt="1744277720243-892.png" height="582" width="1200"]]
950
951 == 2.3.16 HMI-Data view ==
952
953 The data view module includes: Communication port information, Collection point, Alarm configuration information, Alarm data information, Historical configuration information, and History data information, as shown in the figure below. (All data is collected from HMI, and data points and other information cannot be added)
954
955 (% style="text-align:center" %)
956 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744248754191-859.png?width=1200&height=582&rev=1.1||alt="1744248754191-859.png" height="582" width="1200"]]
957
958 === 2.3.16.1 Communication port information ===
959
960 View the device's communication port, connection mode, agreement name and other information. (View only)
961
962 (% style="text-align:center" %)
963 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744248822356-134.png?width=1200&height=582&rev=1.1||alt="1744248822356-134.png" height="582" width="1200"]]
964
965 === 2.3.16.2 Collection point ===
966
967 View the device's data. (View only, not configurable, values ​​can be modified)
968
969 (% style="text-align:center" %)
970 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1745373843662-918.png?width=1200&height=582&rev=1.1||alt="1745373843662-918.png" height="582" width="1200"]]
971
972 === 2.3.16.3 Alarm configuration information ===
973
974 View the device's configuration alarm information. (View only)
975
976 (% style="text-align:center" %)
977 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1745373980366-449.png?width=1200&height=582&rev=1.1||alt="1745373980366-449.png" height="582" width="1200"]]
978
979 === 2.3.16.4 Alarm data information ===
980
981 View the device's current alarm information.
982
983 (% style="text-align:center" %)
984 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1745374041043-845.png?width=1200&height=582&rev=1.1||alt="1745374041043-845.png" height="582" width="1200"]]
985
986 After clicking [OK], the alarm data will be converted into a historical alarm.
987
988 === 2.3.16.5 Historical configuration information ===
989
990 View the device's data. (View only)
991
992 (% style="text-align:center" %)
993 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1745374096590-810.png?width=1200&height=582&rev=1.1||alt="1745374096590-810.png" height="582" width="1200"]]
994
995 === 2.3.16.6 History data information ===
996
997 View the device's data. (View only)
998
999 (% style="text-align:center" %)
1000 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1745374137962-694.png?width=1200&height=582&rev=1.1||alt="1745374137962-694.png" height="582" width="1200"]]
1001
1002 == 2.3.17 HMI-Basic ==
1003
1004 The basic information includes: "Basic , Shared Details, Registers information, and Version information" .
1005
1006 === 2.3.17.1 Basic ===
1007
1008 The HMI information can be managed, such as modifying the HMI name, IoT HMI record keeping, latitude and longitude, and remarks. After the user enters the modified information, user needs to click the [Saved] at the bottom, and the entered data must be valid for the modification to be successful, as shown in the figure below.
1009
1010 (% style="text-align:center" %)
1011 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744688052124-665.png?width=1200&height=582&rev=1.1||alt="1744688052124-665.png" height="582" width="1200"]]
1012
1013 **(1) Unbind the device**
1014
1015 Click [Unbind the device] → [OK] to unbind. After unbinding, the device will be invisible.
1016
1017 (% style="text-align:center" %)
1018 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744688144153-494.png?width=1200&height=582&rev=1.1||alt="1744688144153-494.png" height="582" width="1200"]]
1019
1020 **(2) Device restart**
1021
1022 Click [Device restart] → [OK] and the device will soft restart.
1023
1024 (% style="text-align:center" %)
1025 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744688211716-384.png?width=1200&height=582&rev=1.1||alt="1744688211716-384.png" height="582" width="1200"]]
1026
1027 === 2.3.17.2 Shared details ===
1028
1029 Display the sharing status of the device. You can modify the sharing permission (read and write) settings and cancel sharing, as shown in figure below.
1030
1031 (% style="text-align:center" %)
1032 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744688667331-419.png?width=1200&height=582&rev=1.1||alt="1744688667331-419.png" height="582" width="1200"]]
1033
1034 === 2.3.17.3 Registers information ===
1035
1036 Record the device information of the HMI, modify the access password, and display the device IP address, WIFI, 4G and other information, as shown in the figure below.
1037
1038 (% style="text-align:center" %)
1039 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744688735120-239.png?width=1200&height=582&rev=1.1||alt="1744688735120-239.png" height="582" width="1200"]]
1040
1041 === 2.3.17.4 Version information ===
1042
1043 Get the version information of the HMI and determine the function of the HMI based on the version information, as shown in the following figure.
1044
1045 (% style="text-align:center" %)
1046 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744688788962-434.png?width=1200&height=582&rev=1.1||alt="1744688788962-434.png" height="582" width="1200"]]
1047
1048 == 2.3.18 HMI/V-Box-Cloud SCADA ==
1049
1050 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743990469906-973.png?rev=1.1||alt="1743990469906-973.png" height="28" width="127"]]
1051
1052 The main functions of the cloud SCADA interface are described as follows:
1053
1054 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743990469906-681.png?rev=1.1||alt="1743990469906-681.png"]] Refresh current Cloud SCADA project
1055
1056 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743990469907-257.png?rev=1.1||alt="1743990469907-257.png"]] Browse the current Cloud SCADA project in full screen (ESC to exit)
1057
1058 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743990469907-954.png?rev=1.1||alt="1743990469907-954.png"]] Switch the bound Cloud SCADA project, as shown in the following figure.
1059
1060 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1743990469907-656.png?rev=1.1||alt="1743990469907-656.png"]] Edit current Cloud SCADA project (Jump to the project editing page)
1061
1062 [[image:https://docs.we-con.com.cn/bin/download/V-Net%202.0/Operation%20Manual/Platform%20Service/WebHome/1744249061283-529.png?width=1200&height=582&rev=1.1||alt="1744249061283-529.png" height="582" width="1200"]]