Wiki source code of 03 Project Settings

Version 6.1 by Stone Wu on 2022/07/29 14:52

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