Wiki source code of 03 Project Settings

Version 11.10 by Stone Wu on 2022/08/08 09:58

Show last authors
1 = **Communication** =
2
3 The following steps will show how to change HMI project communication settings.
4
5 **Operating procedure**
6
7 Click "Project"->"Communication" to open setting window.
8
9 (% style="text-align:center" %)
10 [[image:image-20220614172512-1.png]]
11
12 Click "Setting" to open "Communication device" window.
13
14 (% style="text-align:center" %)
15 [[image:image-20220614172519-2.png]]
16
17 Select connection way, device protocol.
18
19 Click "Settings" to change communication parameters, COM is for serial connection, Device IP is for Ethernet connection.
20
21 (% style="text-align:center" %)
22 [[image:image-20220614172524-3.png]]
23
24 Click "OK" to save changes.
25
26 **Result**
27
28 HMI communication is changed.
29
30 = **Project settings** =
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" %)
41 [[image:05.Project Settings_html_fc73c5d892676da1.png||height="252" width="212" class="img-thumbnail"]]
42
43 == Project settings ==
44
45 (% style="text-align:center" %)
46 [[image:工程设置 1.png||class="img-thumbnail"]]
47
48 == HMI model ==
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
55 **Operating procedure**
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
63 == Enable screensaver ==
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
70 **Standby Time:** The interval time to enter the screensaver Range 0~~43200 seconds.
71
72 **Screensave No.:** Set which screen will jump into when screensaver is executed.
73
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
81 (% class="box infomessage" %)
82 (((
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.
84 )))
85
86 == Initial screen ==
87
88 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.
89
90 (% style="text-align:center" %)
91 [[image:05.Project Settings_html_562a3a4e9d3ef218.png||height="43" width="259"]]
92
93 **Operating Procedure**
94
95 1. Open [Project Settings] windows.
96 1. Select initial screen in drop-list, use screen 2 as an example.
97 1. Click [OK] button to save setting and exit windows.
98
99 == Operation record ==
100
101 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.
102
103 (% style="text-align:center" %)
104 [[image:05.Project Settings_html_ff3f128cf0a734a2.png||height="44" width="272"]]
105
106 == Byte order ==
107
108 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.
109
110 (% style="text-align:center" %)
111 [[image:05.Project Settings_html_9ff7943ac7ca9d79.png||height="90" width="259"]]
112
113 **Operating Procedure**
114
115 1. Open "Project Settings" windows.
116 1. Select "Little-endian" or "Big-endian" mode.
117 1. Click "OK" button to save setting and exit window.
118
119 == Switch action ==
120
121 **Introduction**
122
123 The "Switch action" provides the action trigger settings. It is the effect timing of when the button executes the action.
124
125 (% style="text-align:center" %)
126 [[image:05.Project Settings_html_59a2f3cd00554dc2.png||height="47" width="272"]]
127
128 1. **Take effect when click down**: The action will be executed when pressing button.
129 1. **Take effect when click up**: The action will be executed when releasing button.
130
131 **Operating Procedure**
132
133 1. Open "Project Settings" windows.
134 1. Select switch action mode.
135 1. Click "OK" button to save setting and exit window.
136
137 == Backlight ==
138
139 "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.
140
141 (% style="text-align:center" %)
142 [[image:05.Project Settings_html_1b41eba67907b744.png||height="39" width="272" class="img-thumbnail"]]
143
144 **Operating Procedure**
145
146 1. Open "Project Settings" windows.
147 1. Select duration time.
148 1. Click "OK" button to save setting and exit window.
149
150 == Data record storage ==
151
152 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.
153
154 (% style="text-align:center" %)
155 [[image:05.Project Settings_html_b7a87764cbdc6f0f.png||height="49" width="229"]]
156
157 **Operating Procedure**
158
159 1. Open "Project Settings" windows.
160 1. Select storage path.
161 1. Click "OK" button to save setting and exit window.
162
163 == Designer Password ==
164
165 "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.
166
167 "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.
168
169 (% style="text-align:center" %)
170 [[image:05.Project Settings_html_8323cb73f808bdcc.png||height="54" width="259"]]
171
172 **Operating Procedure**
173
174 1. Open "Project Settings" windows
175 1. Enter password
176 1. Click "OK" button to save setting and exit windows
177
178 == Use screen ID address ==
179
180 "Use Screen ID address" provides the function of controlling HMI screens by specific address' value. The address could be set by the user.
181
182 (% style="text-align:center" %)
183 [[image:05.Project Settings_html_2b51f99053f4e3e3.png||height="55" width="237"]]
184
185 **Operating Procedure**
186
187 1. Open "Project Settings" windows.
188 1. Check "Use Screen ID Address".
189 1. Edit address.
190 1. Click "OK" button to save setting and exit windows.
191
192 **Result**
193
194 User HDW0 as an example:
195
196 * If HDW0=0, HMI displays Screen No.0.
197 * If HDW0=1, HMI displays Screen No.1.
198 * …
199
200 = HMI IP settings =
201
202 This is for setting HMI static IP (HMI also could support DHCP). When enable DHCP mode, the setting is invalid.
203
204 There are also system internal for setting them.
205
206 (% style="text-align:center" %)
207 [[image:HMI IP 1.png]]
208
209 (% class="box infomessage" %)
210 (((
211 **✎Note:**
212
213 * HMI backstage screen could select Wi-fi or Ethernet mode.
214 * Wi-fi and Ethernet mode only can be switched by manual.
215 * IP setting function only can be enabled when HMI is ethernet mode.
216 * It is only supported by 8000 series.
217 )))
218
219 **Operating Procedure**
220
221 1. Open "Project Settings" windows.
222 1. Open "HMI IP" sub-window.
223 1. Check "HMI IP".
224 1. Enter IP.
225 1. {{id name="_Toc479868176"/}}{{id name="_Toc8172"/}}Click "OK" button to save setting and exit windows.
226
227 == Remote access password ==
228
229 "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.
230
231 (% style="text-align:center" %)
232 [[image:05.Project Settings_html_3edf539b482a57a8.png||height="51" width="412"]]
233
234 **Operating Procedure**
235
236 1. Open "Project Settings" windows;
237 1. Open "HMI IP] sub-windows;
238 1. Enter password;
239 1. Click "OK" button to save setting and exit windows;
240
241 == Server of HMI remote access ==
242
243 "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.
244
245 (% style="text-align:center" %)
246 [[image:05.Project Settings_html_e877533ce894d9f7.png||height="64" width="475"]]
247
248 = **Installment** =
249
250 "Installment" meets the needs of the designer or equipment manufacturer to provide the trial period to the end customer.
251
252 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.
253
254 (% style="text-align:center" %)
255 [[image:分期付款 1.png||class="img-thumbnail"]]
256
257 == Static mode ==
258
259 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.
260
261 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.
262 1. **Admin: **Password (Key) for [use admin key];
263 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;
264 1. **Begin Period: **Set the installment payment to start from the first period, the range is 1-13;
265 1. **List: **Configure a list based on [Maximum Periods] and [Begin Period],where user can configure the password and expiration time for each period.
266 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).
267
268 == Dynamic mode ==
269
270 To enable the function of the installment payment, you must set up the following parameters
271
272 1. **Password: **Each project installment has a unique identifier. The expiry password is calculated according to password and due time.
273 1. **Current time: **Select time due for the first time** **on the time interface.
274 1. **Expiry time: **Display the current PC time (cannot set)
275 1. **Valid days: **According to the due time and current PC time, system would automatically calculate the number of days (cannot manually modify).
276
277 It is configured as following:
278
279 1. Password key is 123456, and the first expiration time is 2021.07.18.
280 1. When the HMI system time reaches 2021.07.18, the HMI will pop up the password interface.
281 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.
282 1. Assuming that the next expiration time is set to 2021.07.18, the generated password is "5e9035ef".
283 1. After entering this password on the password interface, HMI automatically recognizes that the next expiration time is set to 2021.07.18.
284
285 (% style="text-align:center" %)
286 [[image:5-15PasswordTool.png]]
287
288 **Operating Procedure**
289
290 1. Open "Project Settings" windows.
291 1. Open "Installment" sub-windows.
292 1. Select "Static mode" or "Dynamic mode".
293 1. Enter password, expire time and other parameters if necessary.
294 1. Click "OK" button to save setting and exit windows.
295
296 **Result**
297
298 At 5th May 2022, 18:00 HMI screen will be locked and ask enter password.
299
300 **Common settings**
301
302 1. **Enable valid period for password: **The password generated by "Enable valid period for password" only valid for that day on the HMI.
303 1. **Set Bit:** Set bit when HMI displays the installment screen.
304 1. **Clear Bit: **Clear bit when user enters the right installment password.
305 1. **Upcoming Alert:** HMI show the installment alert before expire date (before 1,3 or 5 days)
306
307 (% class="box infomessage" %)
308 (((
309 **✎Note:**
310
311 1. The screen of setting intallment and enter password is the built-in sub-screen, and couldn't bue modified.
312 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.
313 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.
314 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.
315 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.
316 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.
317 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.
318 )))
319
320 == Password tool ==
321
322 (% class="wikigeneratedid" id="HPasswordtool" %)
323 For the detail, please click [["Password tool">>https://docs.we-con.com.cn/bin/view/PIStudio/14.Tools/#HPasswordtool]].
324
325 = **Extend** =
326
327 (% style="text-align:center" %)
328 [[image:扩展 1.png||class="img-thumbnail"]]
329
330 == Into setup ==
331
332 It provides entrance ways of the backstage interface.
333
334 (% style="text-align:center" %)
335 [[image:05.Project Settings_html_53acbd1d326cab4f.png||height="126" width="471"]]
336
337 * **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.
338 ** 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.
339 * **Running: **it means when HMI running the project, press and holding the upper-right corner over certain time, it would enter the backstage interface.
340 ** For example, the Time is 5 seconds, then long press the upper-right corner lasting over 5 seconds, it would able to access.
341
342 **Operating procedure**
343
344 1. Open "Project Settings" windows.
345 1. Open "Extend" sub-windows.
346 1. Select "Startup" or [Running.
347 1. Set "Time".
348 1. Set "Password" if you require the password when entering the backstage interface.
349
350 == Special expansion ==
351
352 "Special Expansion" is for extending audio play and camera input functions for special HMI models.
353
354 (% style="text-align:center" %)
355 [[image:05.Project Settings_html_784d40de9b3e3bda.png||height="109" width="543"]]
356
357 **Operating procedure**
358
359 1. Open "Project Settings" windows.
360 1. Open "Extend" sub-windows.
361 1. Check the box.
362 1. Click "Set" button to open setting screen.
363 1. Do configuration for function.
364 1. Click "OK" to save and exist.
365
366 {{id name="_Toc5094"/}}
367
368 (% style="text-align:center" %)
369 [[image:05.Project Settings_html_baff180660df10b7.png||height="43" width="388" class="img-thumbnail"]]
370
371 **Operating procedure of Multi-link**
372
373 1. Open "Project Settings" windows.
374 1. Open "Extend" sub-windows.
375 1. Check the Enable Multi-link.
376 1. Select the HMI is acting as Master or Slave station.
377 1. Click "OK" to save and exist.
378
379 **Result**
380
381 One HMI can display in multiple screens, through Master-Slave connection.
382
383 (% class="box infomessage" %)
384 (((
385 ✎**Note:**
386
387 * These all three functions are not available for all HMIs, only special HMI models could support them.
388 * The details of "audio" settings, please refer to [[Audio>>https://docs.we-con.com.cn/bin/view/PIStudio/11.Advanced%20Function/#HAudio]].
389 * The details of ""camera" settings, please refer to [[camera>>https://docs.we-con.com.cn/bin/view/PIStudio/11.Advanced%20Function/#HrtspwebA0camera]].
390 * 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]].
391 )))
392
393 == Input device ==
394
395 It is used for enable input devices, like keyboard and mouse.
396
397 (% style="text-align:center" %)
398 [[image:05.Project Settings_html_2b35ca8fb49cb71.png||height="46" width="465"]]
399
400 **Operating procedure**
401
402 1. Open "Project Settings" windows.
403 1. Open "Extend" sub-windows.
404 1. Check "Enable keyboard" and "Display cursor".
405 1. Click "OK" to save and exist.
406
407 **Result**
408
409 The arrow will be display in screen when HMI is running, and keyboard could be used to enter code and control arrow.
410
411 == Lab ==
412
413 Lab is used for enable experimental function.
414
415 (% style="text-align:center" %)
416 [[image:05.Project Settings_html_cc3fe0bdb84753bf.png||height="49" width="543"]]
417
418 1. **Quick compilation**: Reduce the consuming time of recompilation for current project.
419 1. **Xml Optimization**: Improve xml operation efficiency and speed up screen compilation.
420 1. **Enable Lua Debugging**: Control the Lua debugging window whether opened or not when using the Lua script.
421
422 == Vector ==
423
424 It is the function deal with the display issue.
425
426 (% style="text-align:center" %)
427 [[image:05.Project Settings_html_7e90c6f5bc13d417.png||height="49" width="543"]]
428
429 1. **Vector Font**: Optimize the display of fonts, solve the ambiguity issue of font display, and support the large font size over 120.
430 1. **Vector Image**: Pack the vector images into the compiled .wmt file to avoid the loss of vector images after project is decompiled.
431
432 **Operating procedure**
433
434 1. Open "Project Settings" windows.
435 1. Open "Extend" sub-windows.
436 1. Check "Vector Font" or "Vector Image".
437 1. Click "OK" to save and exist.
438
439 == Udisk pop-up ==
440
441 (% style="text-align:center" %)
442 [[image:image-20220808091210-1.jpeg]]
443
444 There are two methods to enable Udisk pop-up function.
445
446 * Click "Project setting" → "Udick pop-up", the built-in screen 5004 would pop up after inserting the Udisk.
447 * 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.
448
449 (% class="box infomessage" %)
450 (((
451 **✎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".
452 )))
453
454 **Udisk pop-up interface**
455
456 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.
457
458 (% style="text-align:center" %)
459 [[image:image-20220808093055-3.jpeg||height="212" width="307"]]
460
461 1. **Project: **Enter the download project interface.
462 1. **Firmware: **Enter the download project interface.
463 1. **Backstage: **Enter the backstage directly.
464 1. **Exit: **Close the pop up screen.
465
466 == FTP server ==
467
468 (% style="text-align:center" %)
469 [[image:image-20220808093816-5.png]]
470
471 **Enable method: **"Project parameter" → "Extend" → check "FTP service".
472
473 **Usage:**
474
475 * Enter "ftp:~/~/ + the IP address of the HMI" in the folder address bar.
476
477 [[image:image-20220808094729-7.png]]
478
479
480 [[image:image-20220808095752-8.jpeg]]
481
482 = **Security** =
483
484 Security means objects and screen security, but this function is only available in 3000i series and HMI+ series or above.
485
486 Only when object password is set,object password function could be used in object.
487
488 (% style="text-align:center" %)
489 [[image:安全设置 1.png||class="img-thumbnail"]]
490
491 == Objects password ==
492
493 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.
494
495 (% style="text-align:center" %)
496 [[image:05.Project Settings_html_4835fff86888a26b.png||height="238" width="502"]]
497
498 **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.
499
500 1. **Passwords for levels:** It is used for set password for every level, it is composed of numbers and letters (case sensitive)within 8 digits.
501 1. **Start level:** It is used for set initial level while this function is enabled.
502 1. **Highest level**: It is used for set how many levels of password could be used.
503 1. **Independent password:**
504
505 * **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.
506 * **Checked:** You could only type the corresponding level password when unlocking each level of object.
507
508 ✎**Note:**
509
510 * Object level password could be enabled in "Bit Switch", "Word Switch", "Function Switch", vCombination Switch", "Numeric Input", "Character Input", "Drop-down List" etc.
511
512 (% style="text-align:center" %)
513 [[image:安全设置 2.png||class="img-thumbnail"]]
514
515 * The configured password could not be empty, otherwise when users close the configuration screen ,there will be an error: "please set password for level".
516 * 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.
517
518 == Screen Lock ==
519
520 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.
521
522 (% style="text-align:center" %)
523 [[image:05.Project Settings_html_692602da784d48b0.png||height="52" width="431"]]
524
525 1. **Screen lock: **Check it to enable this function.
526 1. **Password:** this password is used for unlocking screen, it is composed of numbers and letters (case sensitive) within 8 digits.
527 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).
528
529 = Font pack =
530
531 "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.
532
533 **Operating Procedure**
534
535 1. Click the button to open setting window.
536 1. Check "Change Built-in font".
537 1. If all the 8 languages use the same font, please click "Set all" to open setting window as below show.
538
539 (% style="text-align:center" %)
540 [[image:image-20220614173003-1.png]]
541
542 (% start="4" %)
543 1. Select font as picture shows.
544
545 (% style="text-align:center" %)
546 [[image:image-20220614173008-2.png]]
547
548 (% start="5" %)
549 1. Click [OK] to save settings.
550
551 **Result**
552
553 * The built-in font of language 1 will be Arial.
554 * The built-in font of language 2 will be Calibri.
555 * The built-in font of language 3 will be Bodoni MT.
556 * The built-in font of language 4 will be Comic sans MS.
557 * The built-in font of language 5 will be Centaur.
558 * The built-in font of language 6 will be SimHei.
559 * The built-in font of language 7 will be Times New Roman.
560 * The built-in font of language 8 will be Bauhaus 93.