Wiki source code of 03 Project Settings

Version 24.1 by Karen on 2023/05/26 13:46

Hide last authors
Leo Wei 1.1 1 = **Communication** =
2
3 The following steps will show how to change HMI project communication settings.
4
Stone Wu 7.1 5 **Operating procedure**
Leo Wei 1.1 6
Stone Wu 15.1 7 Click "Project"→"Communication" to open setting window.
Leo Wei 1.1 8
9 (% style="text-align:center" %)
Stone Wu 2.1 10 [[image:image-20220614172512-1.png]]
Leo Wei 1.1 11
Stone Wu 7.1 12 Click "Setting" to open "Communication device" window.
Leo Wei 1.1 13
14 (% style="text-align:center" %)
Stone Wu 2.1 15 [[image:image-20220614172519-2.png]]
Leo Wei 1.1 16
Stone Wu 7.1 17 Select connection way, device protocol.
Leo Wei 1.1 18
Stone Wu 7.1 19 Click "Settings" to change communication parameters, COM is for serial connection, Device IP is for Ethernet connection.
20
Leo Wei 1.1 21 (% style="text-align:center" %)
Stone Wu 2.1 22 [[image:image-20220614172524-3.png]]
Leo Wei 1.1 23
Stone Wu 7.1 24 Click "OK" to save changes.
Leo Wei 1.1 25
26 **Result**
27
28 HMI communication is changed.
29
Stone Wu 7.1 30 = **Project settings** =
Leo Wei 1.1 31
32 This place is mainly available for parameters settings, like model selection, storage method or some others parameters.
33
34 The [[image:05.Project Settings_html_6463cd1022201edf.png||height="22" width="106"]] is on the Project menu from toolbar, at upper left side of software.
35
36 **General Procedure**
37
38 The procedure of "Project Settings" as below picture shows.
39
40 (% style="text-align:center" %)
Stone Wu 2.1 41 [[image:05.Project Settings_html_fc73c5d892676da1.png||height="252" width="212" class="img-thumbnail"]]
Leo Wei 1.1 42
Stone Wu 7.1 43 == Project settings ==
Leo Wei 1.1 44
45 (% style="text-align:center" %)
Hunter 16.1 46 [[image:ProjectSettingOverview.png]]
Leo Wei 1.1 47
Stone Wu 7.1 48 == HMI model ==
Leo Wei 1.1 49
50 "HMI Model" provides the function of modifying the HMI model to help the user switch the project to suit different models. Because different models have different resolution, when user trying to change this option, PIStudio will ask you whether want to generate a backup of older version project if you enable the option project backup.
51
52 (% style="text-align:center" %)
53 [[image:05.Project Settings_html_768ecc1e77aaf98.png||height="134" width="538"]]
54
Stone Wu 7.1 55 **Operating procedure**
Leo Wei 1.1 56
57 1. Open "Project Settings" windows.
58 1. Select HMI Series.
59 1. Select HMI model.
60 1. Check the box of "Project backup" according to the needful.
61 1. Click "OK" to save settings and exit window.
62
Stone Wu 7.1 63 == Enable screensaver ==
Leo Wei 1.1 64
65 Screensaver provides the function is that prevent the HMI from displaying the same screen for a long time due to unattended operation. After a certain interval, the HMI will jump into a screensaver screen.
66
67 (% style="text-align:center" %)
68 [[image:05.Project Settings_html_9d248cebcde9d831.png||height="51" width="539"]]
69
Stone Wu 7.1 70 **Standby Time:** The interval time to enter the screensaver Range 0~~43200 seconds.
Leo Wei 1.1 71
Stone Wu 7.1 72 **Screensave No.:** Set which screen will jump into when screensaver is executed.
73
Leo Wei 1.1 74 **Operating Procedure**
75
76 1. Open "Project Settings" windows.
77 1. Check the box of "Enable Screensaver".
78 1. Modify Standby Time according to your need.
79 1. Select screensaver screen in drop-down list, use screen No.1 for example.
80
Stone Wu 7.1 81 (% class="box infomessage" %)
82 (((
Leo Wei 1.1 83 ✎**Note**: When the Screensaver and the Screen Lock are enabled at the same time, the Screensaver can only be unlocked after unlocking the Screen Lock.
Stone Wu 7.1 84 )))
Leo Wei 1.1 85
Hunter 17.1 86 == Enable Dynamic Screensaver ==
87
Karen 23.1 88 Same as Screensaver. Dynamic Screensaver provides the function is that prevent the HMI from displaying the same screen for a long time due to unattended operation. But Dynamic will be able to display animation.
Hunter 17.1 89
90 (% style="text-align:center" %)
91 [[image:DynamicScreensaver.png]]
92
Karen 23.1 93 **Enable dynamic screensaver:** If the screen is not operated within the set waiting time, it will automatically enter the set animation effect, and operating the screen again will exit the dynamic screensaver.
Hunter 17.1 94
Karen 23.1 95 **Standby Time(minutes): **When the screen is not operated, the waiting interval to enter the dynamic screensaver, ranges 1~~720.
Hunter 17.1 96
Karen 23.1 97 **Animation Type:** Types of effects currently provided are Raster, Blinds, and Bubble.
Hunter 17.1 98
Stone Wu 7.1 99 == Initial screen ==
Leo Wei 1.1 100
Stone Wu 7.1 101 The "Initial screen" provides the interface to user to set initial screen. Initial screen means the first one displayed screen when HMI is powered on.
Leo Wei 1.1 102
103 (% style="text-align:center" %)
104 [[image:05.Project Settings_html_562a3a4e9d3ef218.png||height="43" width="259"]]
105
106 **Operating Procedure**
107
Stone Wu 15.1 108 1. Open "Project Settings" windows.
Leo Wei 1.1 109 1. Select initial screen in drop-list, use screen 2 as an example.
Stone Wu 15.1 110 1. Click "OK" button to save setting and exit windows.
Leo Wei 1.1 111
Stone Wu 7.1 112 == Operation record ==
Leo Wei 1.1 113
114 This setting needs to be used in conjunction with "User Permission" function, which is valid only when "User Permission" function is turned on. The detailed information of "User Permission", "Operation Record" is mainly recording the operation for the current user after user login.
115
116 (% style="text-align:center" %)
117 [[image:05.Project Settings_html_ff3f128cf0a734a2.png||height="44" width="272"]]
118
Stone Wu 7.1 119 == Byte order ==
Leo Wei 1.1 120
121 Floating point is one of the commonly used data formats, and it is two-byte order mode. PIStudio provides the interface in "Project Settingss" for setting the byte order.The default mode is Little-endian. This function has no effect on the HSW addresses.
122
123 (% style="text-align:center" %)
124 [[image:05.Project Settings_html_9ff7943ac7ca9d79.png||height="90" width="259"]]
125
126 **Operating Procedure**
127
128 1. Open "Project Settings" windows.
129 1. Select "Little-endian" or "Big-endian" mode.
130 1. Click "OK" button to save setting and exit window.
131
Stone Wu 7.1 132 == Switch action ==
Leo Wei 1.1 133
Stone Wu 7.1 134 The "Switch action" provides the action trigger settings. It is the effect timing of when the button executes the action.
Leo Wei 1.1 135
136 (% style="text-align:center" %)
137 [[image:05.Project Settings_html_59a2f3cd00554dc2.png||height="47" width="272"]]
138
139 1. **Take effect when click down**: The action will be executed when pressing button.
140 1. **Take effect when click up**: The action will be executed when releasing button.
141
142 **Operating Procedure**
143
144 1. Open "Project Settings" windows.
145 1. Select switch action mode.
146 1. Click "OK" button to save setting and exit window.
147
Stone Wu 7.1 148 == Backlight ==
Leo Wei 1.1 149
150 "Backlight" is for controlling LCD, after designated time of inactivity, HMI LCD will turn OFF automatically, but this setting will be invalid when alarm is ON. The default setting is never turning OFF LCD.
151
152 (% style="text-align:center" %)
Stone Wu 2.1 153 [[image:05.Project Settings_html_1b41eba67907b744.png||height="39" width="272" class="img-thumbnail"]]
Leo Wei 1.1 154
155 **Operating Procedure**
156
157 1. Open "Project Settings" windows.
158 1. Select duration time.
159 1. Click "OK" button to save setting and exit window.
160
Stone Wu 10.1 161 == Data record storage ==
Leo Wei 1.1 162
163 This setting needs to be used in conjunction with [Data Record] function, which is valid only when [Data Record] function is effective. The data record files will be saved in Flash.
164
165 (% style="text-align:center" %)
166 [[image:05.Project Settings_html_b7a87764cbdc6f0f.png||height="49" width="229"]]
167
168 **Operating Procedure**
169
170 1. Open "Project Settings" windows.
171 1. Select storage path.
172 1. Click "OK" button to save setting and exit window.
173
Stone Wu 10.1 174 == Designer Password ==
Leo Wei 1.1 175
176 "Designer Password" provides the encryption functions of the HMI project, including upload and decompile operations. Also it affects the user permissions, installments and other functions.
177
178 "Designer Password" could well protect the project file from being cracked, also it is extremely important data, if the user set the password change, please do a good job of password backup, once lost it, the project will not be uploaded from the HMI to the computer, also nobody could decompile .wmt file without password.
179
180 (% style="text-align:center" %)
181 [[image:05.Project Settings_html_8323cb73f808bdcc.png||height="54" width="259"]]
182
183 **Operating Procedure**
184
185 1. Open "Project Settings" windows
186 1. Enter password
187 1. Click "OK" button to save setting and exit windows
188
Stone Wu 7.1 189 == Use screen ID address ==
Leo Wei 1.1 190
191 "Use Screen ID address" provides the function of controlling HMI screens by specific address' value. The address could be set by the user.
192
193 (% style="text-align:center" %)
194 [[image:05.Project Settings_html_2b51f99053f4e3e3.png||height="55" width="237"]]
195
196 **Operating Procedure**
197
198 1. Open "Project Settings" windows.
199 1. Check "Use Screen ID Address".
200 1. Edit address.
201 1. Click "OK" button to save setting and exit windows.
202
203 **Result**
204
205 User HDW0 as an example:
206
207 * If HDW0=0, HMI displays Screen No.0.
208 * If HDW0=1, HMI displays Screen No.1.
209 * …
210
Stone Wu 7.1 211 = HMI IP settings =
Leo Wei 1.1 212
213 This is for setting HMI static IP (HMI also could support DHCP). When enable DHCP mode, the setting is invalid.
214
215 There are also system internal for setting them.
216
217 (% style="text-align:center" %)
218 [[image:HMI IP 1.png]]
219
Stone Wu 7.1 220 (% class="box infomessage" %)
221 (((
Leo Wei 1.1 222 **✎Note:**
223
224 * HMI backstage screen could select Wi-fi or Ethernet mode.
225 * Wi-fi and Ethernet mode only can be switched by manual.
226 * IP setting function only can be enabled when HMI is ethernet mode.
227 * It is only supported by 8000 series.
Stone Wu 7.1 228 )))
Leo Wei 1.1 229
230 **Operating Procedure**
231
232 1. Open "Project Settings" windows.
233 1. Open "HMI IP" sub-window.
234 1. Check "HMI IP".
235 1. Enter IP.
Stone Wu 15.1 236 1. Click "OK" button to save setting and exit windows.
Leo Wei 1.1 237
Stone Wu 7.1 238 == Remote access password ==
Leo Wei 1.1 239
Stone Wu 7.1 240 "Remote Access Password" is for PI8000/PI9000 series HMI, the password is for remote function, when users use Smart APP on mobile or weconcloud website on PC, which could access HMI screen remotely, the APP or website will require this password.
Leo Wei 1.1 241
242 (% style="text-align:center" %)
243 [[image:05.Project Settings_html_3edf539b482a57a8.png||height="51" width="412"]]
244
245 **Operating Procedure**
246
247 1. Open "Project Settings" windows;
Stone Wu 14.1 248 1. Open "HMI IP" sub-windows;
Leo Wei 1.1 249 1. Enter password;
250 1. Click "OK" button to save setting and exit windows;
251
Stone Wu 7.1 252 == Server of HMI remote access ==
Leo Wei 1.1 253
254 "Server of HMI remote access" is for PI8000/PI9000 series with -R model HMIs, when users use Smart APP on mobile or weconcloud website on PC, there are two options from selection available for speed up access. Server 1 is for Chinese users, Server 2 is for aboard users.
255
256 (% style="text-align:center" %)
257 [[image:05.Project Settings_html_e877533ce894d9f7.png||height="64" width="475"]]
258
Stone Wu 7.1 259 = **Installment** =
Leo Wei 1.1 260
261 "Installment" meets the needs of the designer or equipment manufacturer to provide the trial period to the end customer.
262
263 At the same time, it provides the function of installment charges to designers and equipment manufacturers. The expiration date could be defined by the user.
264
265 (% style="text-align:center" %)
266 [[image:分期付款 1.png||class="img-thumbnail"]]
267
Stone Wu 7.1 268 == Static mode ==
Leo Wei 1.1 269
270 The expiry time and key of each period could not be empty, and they need to be configured in advance. And the expiry time of the latter period need to be later than the expiry of the previous period.
271
272 1. **Use admin key: **It can be used for unlock all expirations,in addition to each period key.If users select [use admin key] function,once users enter the admin key when HMI expires,the installment payment function will be disabled.
Stone Wu 15.1 273 1. **Admin: **Password (Key) for "use admin key";
Stone Wu 5.1 274 1. **Max periods: **The period of static installment payment range is 0-12.When the maximum number of period is 0,it means that the instalment payment function is disabled;
Leo Wei 1.1 275 1. **Begin Period: **Set the installment payment to start from the first period, the range is 1-13;
276 1. **List: **Configure a list based on [Maximum Periods] and [Begin Period],where user can configure the password and expiration time for each period.
277 1. **Use admin key: **It is independent password, and all the expired password can be unlocked by it. If you check it, the installment function would be disabled after you input the admin key. The key can be a combination of "A~~z", "a~~z" and "0~~9"(case-sensitive).
278
Stone Wu 7.1 279 == Dynamic mode ==
Leo Wei 1.1 280
281 To enable the function of the installment payment, you must set up the following parameters
282
283 1. **Password: **Each project installment has a unique identifier. The expiry password is calculated according to password and due time.
284 1. **Current time: **Select time due for the first time** **on the time interface.
285 1. **Expiry time: **Display the current PC time (cannot set)
286 1. **Valid days: **According to the due time and current PC time, system would automatically calculate the number of days (cannot manually modify).
287
288 It is configured as following:
289
290 1. Password key is 123456, and the first expiration time is 2021.07.18.
291 1. When the HMI system time reaches 2021.07.18, the HMI will pop up the password interface.
292 1. At this time, you could use the "Password Tool" under the toolbar as shown in following picture, where the installment password needs to be the same as the one when it is downloaded to the HMI, such as 123456.
293 1. Assuming that the next expiration time is set to 2021.07.18, the generated password is "5e9035ef".
294 1. After entering this password on the password interface, HMI automatically recognizes that the next expiration time is set to 2021.07.18.
295
296 (% style="text-align:center" %)
297 [[image:5-15PasswordTool.png]]
298
299 **Operating Procedure**
300
301 1. Open "Project Settings" windows.
302 1. Open "Installment" sub-windows.
303 1. Select "Static mode" or "Dynamic mode".
304 1. Enter password, expire time and other parameters if necessary.
305 1. Click "OK" button to save setting and exit windows.
306
307 **Result**
308
309 At 5th May 2022, 18:00 HMI screen will be locked and ask enter password.
310
311 **Common settings**
312
313 1. **Enable valid period for password: **The password generated by "Enable valid period for password" only valid for that day on the HMI.
314 1. **Set Bit:** Set bit when HMI displays the installment screen.
315 1. **Clear Bit: **Clear bit when user enters the right installment password.
316 1. **Upcoming Alert:** HMI show the installment alert before expire date (before 1,3 or 5 days)
317
Stone Wu 7.1 318 (% class="box infomessage" %)
319 (((
Leo Wei 1.1 320 **✎Note:**
321
322 1. The screen of setting intallment and enter password is the built-in sub-screen, and couldn't bue modified.
323 1. If the HMI system time exceeds the staging time, the HMI will pop up the staging password input screen at 12 o' clock on that day. The HMI can be used normally only after the password is entered. Otherwise, the screen of entering the password is displayed all the time.
324 1. If the installment function is enable, if you download the project, the current PC time would update to the HMI. The time judgment is based on the system time of the HMI. If the system time of the HMI is modified, the due time of the installment payment will also change, so there is no need to worry about the customer modifying the system time and then delay the due time of the installment payment.
325 1. You could set the installment on HMI. Add the object "Function switch" on the project and select "installment configuration", then you could set it on the HMI.
326 1. The password cannot exceed 6 characters. The password can be composed of three modes: numbers, letters, and Chinese characters. Chinese characters contain only three characters and letters are case sensitive. The three key modes can be mixed.
327 1. Each key corresponds to a admin key. After entering the admin key in the installment password interface pop up by HMI, the installment function will be turned off, that is, the installment password interface will no longer pop up. So you should not use the admin key at will, or open up the admin key to others.
328 1. In the dynamic mode of installment payments, select "Enable valid period for password", then the "valid days" must be the same day as the current time of HMI.  If the time is not the same day, then the generated password is invalid.
Stone Wu 7.1 329 )))
Leo Wei 1.1 330
Stone Wu 7.1 331 == Password tool ==
Leo Wei 1.1 332
333 (% class="wikigeneratedid" id="HPasswordtool" %)
Stone Wu 10.1 334 For the detail, please click [["Password tool">>https://docs.we-con.com.cn/bin/view/PIStudio/14.Tools/#HPasswordtool]].
Leo Wei 1.1 335
Stone Wu 7.1 336 = **Extend** =
Leo Wei 1.1 337
338 (% style="text-align:center" %)
339 [[image:扩展 1.png||class="img-thumbnail"]]
340
Stone Wu 7.1 341 == Into setup ==
Leo Wei 1.1 342
343 It provides entrance ways of the backstage interface.
344
345 (% style="text-align:center" %)
346 [[image:05.Project Settings_html_53acbd1d326cab4f.png||height="126" width="471"]]
347
Stone Wu 7.1 348 * **Startup: **it means after the HMI starts and displays the LOGO, press and holding the upper-right corner within the set time is able to enter the background interface. If the time is exceeded the setting time, the long press would be invalid.
349 ** For example, the Time is 5 seconds, then within 5 seconds after the LOGO is displayed, long press the upper-right corner can normally enter the screen. But if more than 5 seconds, long press will not be able to access.
350 * **Running: **it means when HMI running the project, press and holding the upper-right corner over certain time, it would enter the backstage interface.
351 ** For example, the Time is 5 seconds, then long press the upper-right corner lasting over 5 seconds, it would able to access.
Leo Wei 1.1 352
Stone Wu 7.1 353 **Operating procedure**
Leo Wei 1.1 354
355 1. Open "Project Settings" windows.
356 1. Open "Extend" sub-windows.
Stone Wu 15.1 357 1. Select "Startup" or "Running".
Leo Wei 1.1 358 1. Set "Time".
359 1. Set "Password" if you require the password when entering the backstage interface.
360
Stone Wu 7.1 361 == Special expansion ==
Leo Wei 1.1 362
Stone Wu 7.1 363 "Special Expansion" is for extending audio play and camera input functions for special HMI models.
Leo Wei 1.1 364
365 (% style="text-align:center" %)
366 [[image:05.Project Settings_html_784d40de9b3e3bda.png||height="109" width="543"]]
367
Stone Wu 7.1 368 **Operating procedure**
Leo Wei 1.1 369
370 1. Open "Project Settings" windows.
371 1. Open "Extend" sub-windows.
372 1. Check the box.
373 1. Click "Set" button to open setting screen.
374 1. Do configuration for function.
375 1. Click "OK" to save and exist.
376
377 {{id name="_Toc5094"/}}
378
379 (% style="text-align:center" %)
Stone Wu 2.1 380 [[image:05.Project Settings_html_baff180660df10b7.png||height="43" width="388" class="img-thumbnail"]]
Leo Wei 1.1 381
Stone Wu 7.1 382 **Operating procedure of Multi-link**
Leo Wei 1.1 383
384 1. Open "Project Settings" windows.
385 1. Open "Extend" sub-windows.
386 1. Check the Enable Multi-link.
387 1. Select the HMI is acting as Master or Slave station.
388 1. Click "OK" to save and exist.
389
390 **Result**
391
392 One HMI can display in multiple screens, through Master-Slave connection.
393
Stone Wu 7.1 394 (% class="box infomessage" %)
395 (((
Leo Wei 1.1 396 ✎**Note:**
397
398 * These all three functions are not available for all HMIs, only special HMI models could support them.
Stone Wu 9.1 399 * The details of "audio" settings, please refer to [[Audio>>https://docs.we-con.com.cn/bin/view/PIStudio/11.Advanced%20Function/#HAudio]].
Stone Wu 15.1 400 * The details of "camera" settings, please refer to [[camera>>https://docs.we-con.com.cn/bin/view/PIStudio/11.Advanced%20Function/#HrtspwebA0camera]].
401 * The details of "mulit-link" settings, please refer to [[mulit-link>>https://docs.we-con.com.cn/bin/view/PIStudio/11.Advanced%20Function/#HMulit-link]].
Stone Wu 7.1 402 )))
Leo Wei 1.1 403
Stone Wu 7.1 404 == Input device ==
Leo Wei 1.1 405
406 It is used for enable input devices, like keyboard and mouse.
407
408 (% style="text-align:center" %)
409 [[image:05.Project Settings_html_2b35ca8fb49cb71.png||height="46" width="465"]]
410
411 **Operating procedure**
412
413 1. Open "Project Settings" windows.
414 1. Open "Extend" sub-windows.
415 1. Check "Enable keyboard" and "Display cursor".
416 1. Click "OK" to save and exist.
417
418 **Result**
419
420 The arrow will be display in screen when HMI is running, and keyboard could be used to enter code and control arrow.
421
Stone Wu 7.1 422 == Lab ==
Leo Wei 1.1 423
424 Lab is used for enable experimental function.
425
426 (% style="text-align:center" %)
427 [[image:05.Project Settings_html_cc3fe0bdb84753bf.png||height="49" width="543"]]
428
429 1. **Quick compilation**: Reduce the consuming time of recompilation for current project.
430 1. **Xml Optimization**: Improve xml operation efficiency and speed up screen compilation.
431 1. **Enable Lua Debugging**: Control the Lua debugging window whether opened or not when using the Lua script.
432
Stone Wu 11.2 433 == Vector ==
Leo Wei 1.1 434
435 It is the function deal with the display issue.
436
437 (% style="text-align:center" %)
438 [[image:05.Project Settings_html_7e90c6f5bc13d417.png||height="49" width="543"]]
439
440 1. **Vector Font**: Optimize the display of fonts, solve the ambiguity issue of font display, and support the large font size over 120.
441 1. **Vector Image**: Pack the vector images into the compiled .wmt file to avoid the loss of vector images after project is decompiled.
442
443 **Operating procedure**
444
445 1. Open "Project Settings" windows.
446 1. Open "Extend" sub-windows.
447 1. Check "Vector Font" or "Vector Image".
448 1. Click "OK" to save and exist.
449
Stone Wu 11.2 450 == Udisk pop-up ==
451
Stone Wu 11.6 452 (% style="text-align:center" %)
Stone Wu 11.2 453 [[image:image-20220808091210-1.jpeg]]
454
455 There are two methods to enable Udisk pop-up function.
456
457 * Click "Project setting" → "Udick pop-up", the built-in screen 5004 would pop up after inserting the Udisk.
458 * Udisk pop-up flag file: Create a blank text file in the root directory of the U disk, named "download.dat", and the screen could pop up after inserting the U disk.
459
Stone Wu 11.5 460 (% class="box infomessage" %)
461 (((
Stone Wu 11.6 462 **✎Note:** The Udick pop-up function is only supported by the formware of  PIStudio V8.2.29_D20220302 and above. For the version of PIStudio, please refer to "About".
Stone Wu 11.5 463 )))
Stone Wu 11.2 464
Stone Wu 11.5 465 **Udisk pop-up interface**
466
467 The interface of the Udisk pop-up is 5004 built-in screen. If the pop-up interface is not operated within 10s of the pop-up, it will be closed automatically.
468
Stone Wu 11.6 469 (% style="text-align:center" %)
Stone Wu 11.5 470 [[image:image-20220808093055-3.jpeg||height="212" width="307"]]
471
Stone Wu 11.6 472 1. **Project: **Enter the download project interface.
473 1. **Firmware: **Enter the download project interface.
474 1. **Backstage: **Enter the backstage directly.
475 1. **Exit: **Close the pop up screen.
Stone Wu 11.5 476
Stone Wu 11.7 477 == FTP server ==
Stone Wu 11.2 478
Stone Wu 11.6 479 (% style="text-align:center" %)
Stone Wu 13.1 480 [[image:image-20220808093816-5.png||class="img-thumbnail"]]
Stone Wu 11.6 481
Stone Wu 11.7 482 **Enable method: **"Project parameter" → "Extend" → check "FTP service".
Stone Wu 11.6 483
Stone Wu 11.7 484 **Usage:**
485
486 * Enter "ftp:~/~/ + the IP address of the HMI" in the folder address bar.
487
Stone Wu 13.1 488 (% style="text-align:center" %)
489 [[image:image-20220808094729-7.png||height="429" width="909" class="img-thumbnail"]]
Stone Wu 11.7 490
Stone Wu 11.11 491 * You can also enter “ftp:~/~/ftpuser:000000@192.168.39.242” to access the interface directly (with a username and password).
Stone Wu 11.10 492
Stone Wu 13.1 493 (% style="text-align:center" %)
494 [[image:image-20220808100330-10.jpeg||class="img-thumbnail"]]
Stone Wu 11.10 495
Stone Wu 11.12 496 * If the ftp service is enabled, it will prompt for a username and password, and if not, it will prompt that the connection to the server cannot be established.
Stone Wu 11.11 497
498 (% style="text-align:center" %)
499 [[image:image-20220808100223-9.jpeg]]
500
Stone Wu 11.12 501 * Enter the username and password as configured in the project.
502
503 (% style="text-align:center" %)
Stone Wu 13.1 504 [[image:image-20220808100720-11.jpeg||class="img-thumbnail"]]
Stone Wu 11.12 505
506 **Description of folder and permission**
507
Stone Wu 11.13 508 * AlarmFile is alarm record. It can only download files, but cannot upload files.
509 * DataLogFile is data log record. It can only download files, but cannot upload files.
510 * RecipeFile is recipe. It can only download files, but cannot upload files.
511 * UserMgrFile is operation record. It can only download files, but cannot upload files.
Hunter 22.1 512 * Sdcard is the mounting directory of SD card. There will be the subdirectory of S1, S2, S3, etc. when connected SD card. It can upload and download.
513 * Udisk is the mounting directory of USB flash drive. There will be the subdirectory of U1, U2, U3, etc. when connected USB flash drive. It can upload and download.
Stone Wu 11.12 514
Stone Wu 11.14 515 (% class="box infomessage" %)
516 (((
517 **✎Note:** For Udisk and SD card, it is recommended to use NTFS format.
518 )))
Stone Wu 11.12 519
Stone Wu 11.14 520 Maximum number of connections: up to 5 clients can be supported to access the interface at the same time.
Stone Wu 11.12 521
Stone Wu 11.14 522 Password modification: Use the changePsd function in the lua function ftpserver library to modify password.
Stone Wu 11.12 523
Stone Wu 11.15 524 * Prototype: ftpserver.changePsd(oldPsd,newPsd)
525 * Function: change the login password of ftpserver
526 * Parameters:
527 ** oldPsd(string) old password
528 ** newPsd(string) new password.
529 * Format: only letters, numbers and underscores are allowed, and the length must be 6 to 8 digits.
530 * Returns.
531 ** Success: true
532 ** Failure: nil,err
Stone Wu 11.12 533
Stone Wu 7.1 534 = **Security** =
Leo Wei 1.1 535
536 Security means objects and screen security, but this function is only available in 3000i series and HMI+ series or above.
537
538 Only when object password is set,object password function could be used in object.
539
540 (% style="text-align:center" %)
Hunter 18.1 541 [[image:SecurityOverview.png]]
Leo Wei 1.1 542
Stone Wu 7.1 543 == Objects password ==
Leo Wei 1.1 544
545 You should enter password to access the protected object. This could avoid some misoperation on object. There are 12 levels in object password setting, and each level corresponds to each password.
546
547 (% style="text-align:center" %)
548 [[image:05.Project Settings_html_4835fff86888a26b.png||height="238" width="502"]]
549
Stone Wu 7.1 550 **Enable object password: **Check it to enable object security function. There are 12 levels corresponding to different passwords. The password of levels are set by the highest level.
Leo Wei 1.1 551
Stone Wu 15.1 552 * **Passwords for levels:** It is used for set password for every level, it is composed of numbers and letters (case sensitive)within 8 digits.
553 * **Start level:** It is used for set initial level while this function is enabled.
554 * **Highest level**: It is used for set how many levels of password could be used.
555 * **Independent password:**
556 ** **Unchecked: **You should enter the corresponding level password when unlocking each level of object, and the higher level password could unlock the lower level object.
557 ** **Checked:** You could only type the corresponding level password when unlocking each level of object.
Leo Wei 1.1 558
559 ✎**Note:**
560
561 * Object level password could be enabled in "Bit Switch", "Word Switch", "Function Switch", vCombination Switch", "Numeric Input", "Character Input", "Drop-down List" etc.
562
563 (% style="text-align:center" %)
564 [[image:安全设置 2.png||class="img-thumbnail"]]
565
566 * The configured password could not be empty, otherwise when users close the configuration screen ,there will be an error: "please set password for level".
567 * If configured object password level is higher than highest password setting in Project Settingss, there will be an error note during compiling: "the security level of this object is out of range!" .Users need to set password level again to solve the problem.
568
Stone Wu 7.1 569 == Screen Lock ==
Leo Wei 1.1 570
571 The screen lock function provides another way for the security of HMI operation. When clients do not perform any operation for a set period of time, the HMI screen would be locked, and the password is required when HMI is operated again.
572
573 (% style="text-align:center" %)
574 [[image:05.Project Settings_html_692602da784d48b0.png||height="52" width="431"]]
575
576 1. **Screen lock: **Check it to enable this function.
577 1. **Password:** this password is used for unlocking screen, it is composed of numbers and letters (case sensitive) within 8 digits.
578 1. **Lock time:** It is used for setting time how long the screen will be locked if users do not operate, range: 1 to 240 minutes (integer).
579
Hunter 18.2 580 == LAN Monitoring Security ==
581
Hunter 21.1 582 (% style="text-align:center" %)
583 [[image:SecurityOption.png]]
584
Hunter 18.2 585 In the same Local Area Network, user can enter the IP of the HMI on the webpage to achieve LAN monitoring of the HMI
586
587 The terminal access number of remote monitoring or LAN monitoring for each series of HMI models is limited, as following table shows:
588
589 |=(% scope="row" style="width: 182px;" %)Model|=(% style="width: 178px;" %)System Version|=(% style="width: 153px;" %)LAN Monitoring|=(% style="width: 260px;" %)Remote Monitoring|=(% style="width: 241px;" %)Supported visits number
590 |=(% style="width: 182px;" %)3000|(% style="width:178px" %)HMI V2.0|(% style="width:153px" %)✔|(% style="width:260px" %)×|(% style="width:241px" %)1
591 |=(% style="width: 182px;" %)3000i|(% style="width:178px" %)HMI V2.0|(% style="width:153px" %)✔|(% style="width:260px" %)×|(% style="width:241px" %)1
592 |=(% style="width: 182px;" %)3000ie|(% style="width:178px" %)HMI V2.0|(% style="width:153px" %)✔|(% style="width:260px" %)×|(% style="width:241px" %)1
593 |=(% style="width: 182px;" %)3000ig-O|(% style="width:178px" %)HMI V2.0|(% style="width:153px" %)✔|(% style="width:260px" %)×|(% style="width:241px" %)1
594 |=(% style="width: 182px;" %)3000ig/3000ig-C|(% style="width:178px" %)HMI V1.0/HMI V2.0|(% style="width:153px" %)✔|(% style="width:260px" %)✔|(% style="width:241px" %)4
595 |=(% style="width: 182px;" %)8000|(% style="width:178px" %)HMI V1.0/HMI V2.0|(% style="width:153px" %)✔|(% style="width:260px" %)✔|(% style="width:241px" %)4
596 |=(% style="width: 182px;" %)8000ig|(% style="width:178px" %)HMI V1.0/HMI V2.0|(% style="width:153px" %)✔|(% style="width:260px" %)✔|(% style="width:241px" %)4
597 |=(% style="width: 182px;" %)9000|(% style="width:178px" %)HMI V1.0/HMI V2.0|(% style="width:153px" %)✔|(% style="width:260px" %)✔|(% style="width:241px" %)4
598
599 After this function is enabled, user name and password need to be entered for LAN monitoring, which can avoid some uncontrollable security problems to a certain extent;
600
601 {{info}}
602 ✎Note: This LAN Monitoring Security function is only supported by HMI V2.0 system and above.
603 {{/info}}
604
605 **Webpage monitoring**:
606
607 After enable this function, when user input IP to access HMI, you need to enter the user name and password configured by HMI in the login interface first, and then you can access after verification(The login interface supports switching language between Chinese and English, the default is Chinese)
608
609 (% style="text-align:center" %)
610 [[image:LANSercuityloginpage.png]]
611
Hunter 19.1 612 If it is not configured this function in the project, it also can modify from the background interface.
Hunter 18.2 613
Hunter 20.1 614 System->Extend
615
616 (% style="text-align:center" %)
617 [[image:LANBackground.png]]
618
Hunter 19.1 619
620
Stone Wu 7.1 621 = Font pack =
Leo Wei 1.1 622
623 "Font pack" is for setting built-in font for HMI project, in this way, the text in some objects of the HMI could be displayed in the desired font.
624
625 **Operating Procedure**
626
Stone Wu 3.1 627 1. Click the button to open setting window.
Leo Wei 1.1 628 1. Check "Change Built-in font".
629 1. If all the 8 languages use the same font, please click "Set all" to open setting window as below show.
630
631 (% style="text-align:center" %)
Stone Wu 3.1 632 [[image:image-20220614173003-1.png]]
Leo Wei 1.1 633
634 (% start="4" %)
635 1. Select font as picture shows.
636
637 (% style="text-align:center" %)
Stone Wu 3.1 638 [[image:image-20220614173008-2.png]]
Leo Wei 1.1 639
640 (% start="5" %)
Stone Wu 15.1 641 1. Click “OK” to save settings.
Leo Wei 1.1 642
643 **Result**
644
645 * The built-in font of language 1 will be Arial.
646 * The built-in font of language 2 will be Calibri.
647 * The built-in font of language 3 will be Bodoni MT.
648 * The built-in font of language 4 will be Comic sans MS.
649 * The built-in font of language 5 will be Centaur.
Stone Wu 3.1 650 * The built-in font of language 6 will be SimHei.
Leo Wei 1.1 651 * The built-in font of language 7 will be Times New Roman.
652 * The built-in font of language 8 will be Bauhaus 93.