03 Project Settings

Version 3.1 by Stone Wu on 2022/06/14 17:30

Communication

The following steps will show how to change HMI project communication settings.

OperatingProcedure

  1. Click "Project"->"Communication" to open setting window.

image-20220614172512-1.png

  1. Click "Setting" to open "Communication device" window.

image-20220614172519-2.png

  1. Select connection way, device protocol.
  2. Click "Settings" to change communication parameters, COM is for serial connection, Device IP is for Ethernet connection.

image-20220614172524-3.png

  1. Click "OK" to save changes.

Result

HMI communication is changed.

Project Settings

This place is mainly available for parameters settings, like model selection, storage method or some others parameters.

The 05.Project Settings_html_6463cd1022201edf.png is on the Project menu from toolbar, at upper left side of software.

General Procedure

The procedure of "Project Settings" as below picture shows.

05.Project Settings_html_fc73c5d892676da1.png

Project Settings

工程设置 1.png

HMI model

"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.

05.Project Settings_html_768ecc1e77aaf98.png

Operating Procedure

  1. Open "Project Settings" windows.
  2. Select HMI Series.
  3. Select HMI model.
  4. Check the box of "Project backup" according to the needful.
  5. Click "OK" to save settings and exit window.

Enable screensaver

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.

05.Project Settings_html_9d248cebcde9d831.png

  1. Standby Time: The interval time to enter the screensaver Range 0~43200 seconds.
  2. Screensave No.: Set which screen will jump into when screensaver is executed.

Operating Procedure

  1. Open "Project Settings" windows.
  2. Check the box of "Enable Screensaver".
  3. Modify Standby Time according to your need.
  4. Select screensaver screen in drop-down list, use screen No.1 for example.

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.

Initial screen

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.

05.Project Settings_html_562a3a4e9d3ef218.png

Operating Procedure

  1. Open [Project Settings] windows.
  2. Select initial screen in drop-list, use screen 2 as an example.
  3. Click [OK] button to save setting and exit windows.

Operation record

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.

05.Project Settings_html_ff3f128cf0a734a2.png

Byte order

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.

05.Project Settings_html_9ff7943ac7ca9d79.png

Operating Procedure

  1. Open "Project Settings" windows.
  2. Select "Little-endian" or "Big-endian" mode.
  3. Click "OK" button to save setting and exit window.

Switch action

Introduction

The [Switch action] provides the action trigger settings. It is the effect timing of when the button executes the action.

05.Project Settings_html_59a2f3cd00554dc2.png

  1. Take effect when click down: The action will be executed when pressing button.
  2. Take effect when click up: The action will be executed when releasing button.

Operating Procedure

  1. Open "Project Settings" windows.
  2. Select switch action mode.
  3. Click "OK" button to save setting and exit window.

Backlight

"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.

05.Project Settings_html_1b41eba67907b744.png

Operating Procedure

  1. Open "Project Settings" windows.
  2. Select duration time.
  3. Click "OK" button to save setting and exit window.

Data record storage

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.

05.Project Settings_html_b7a87764cbdc6f0f.png

Operating Procedure

  1. Open "Project Settings" windows.
  2. Select storage path.
  3. Click "OK" button to save setting and exit window.

Designer Password

"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.

"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.

05.Project Settings_html_8323cb73f808bdcc.png

Operating Procedure

  1. Open "Project Settings" windows
  2. Enter password
  3. Click "OK" button to save setting and exit windows

Use Screen ID Address

"Use Screen ID address" provides the function of controlling HMI screens by specific address' value. The address could be set by the user.

05.Project Settings_html_2b51f99053f4e3e3.png

Operating Procedure

  1. Open "Project Settings" windows.
  2. Check "Use Screen ID Address".
  3. Edit address.
  4. Click "OK" button to save setting and exit windows.

Result

User HDW0 as an example:

  • If HDW0=0, HMI displays Screen No.0.
  • If HDW0=1, HMI displays Screen No.1.

HMI IP settings

This is for setting HMI static IP (HMI also could support DHCP). When enable DHCP mode, the setting is invalid.

There are also system internal for setting them.

HMI IP 1.png

✎Note:

  • HMI backstage screen could select Wi-fi or Ethernet mode.
  • Wi-fi and Ethernet mode only can be switched by manual.
  • IP setting function only can be enabled when HMI is ethernet mode.
  • It is only supported by 8000 series.

Operating Procedure

  1. Open "Project Settings" windows.
  2. Open "HMI IP" sub-window.
  3. Check "HMI IP".
  4. Enter IP.
  5. Click "OK" button to save setting and exit windows.

Remote access password

[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.

05.Project Settings_html_3edf539b482a57a8.png

Operating Procedure

  1. Open "Project Settings" windows;
  2. Open "HMI IP] sub-windows;
  3. Enter password;
  4. Click "OK" button to save setting and exit windows;

Server of HMI Remote Access

"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.

05.Project Settings_html_e877533ce894d9f7.png

Installment

"Installment" meets the needs of the designer or equipment manufacturer to provide the trial period to the end customer.

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.

分期付款 1.png

Statis mode

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.

  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.
  2. Admin: Password (Key) for [use admin key];
  3. Max periods: The period of static installment payment range is 0-12.When the maximum number of period is 0,it means that the instilment payment function is disabled;
  4. Begin Period: Set the installment payment to start from the first period, the range is 1-13;
  5. List: Configure a list based on [Maximum Periods] and [Begin Period],where user can configure the password and expiration time for each period.
  6. 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).

Dynamic mode

To enable the function of the installment payment, you must set up the following parameters

  1. Password: Each project installment has a unique identifier. The expiry password is calculated according to password and due time.
  2. Current time: Select time due for the first time on the time interface.
  3. Expiry time: Display the current PC time (cannot set)
  4. Valid days: According to the due time and current PC time, system would automatically calculate the number of days (cannot manually modify). 

 It is configured as following: 

  1. Password key is 123456, and the first expiration time is 2021.07.18. 
  2. When the HMI system time reaches 2021.07.18, the HMI will pop up the password interface.
  3. 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. 
  4. Assuming that the next expiration time is set to 2021.07.18, the generated password is "5e9035ef". 
  5. After entering this password on the password interface, HMI automatically recognizes that the next expiration time is set to 2021.07.18.

5-15PasswordTool.png

Operating Procedure

  1. Open "Project Settings" windows.
  2. Open "Installment" sub-windows.
  3. Select "Static mode" or "Dynamic mode".
  4. Enter password, expire time and other parameters if necessary.
  5. Click "OK" button to save setting and exit windows.

Result

At 5th May 2022, 18:00 HMI screen will be locked and ask enter password.

Common settings

  1. Enable valid period for password: The password generated by "Enable valid period for password" only valid for that day on the HMI.
  2. Set Bit: Set bit when HMI displays the installment screen.
  3. Clear Bit: Clear bit when user enters the right installment password.
  4. Upcoming Alert: HMI show the installment alert before expire date (before 1,3 or 5 days)

✎Note:

  1. The screen of setting intallment and enter password is the built-in sub-screen, and couldn't bue modified.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.

Password tool

For the detail, please click "Password tool".

Extend

扩展 1.png

Into Setup

It provides entrance ways of the backstage interface.

05.Project Settings_html_53acbd1d326cab4f.png

  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.
  • 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.
  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.
  • For example, the Time is 5 seconds, then long press the upper-right corner lasting over 5 seconds, it would able to access.

Operating Procedure

  1. Open "Project Settings" windows.
  2. Open "Extend" sub-windows.
  3. Select "Startup" or [Running.
  4. Set "Time".
  5. Set "Password" if you require the password when entering the backstage interface.

Special Expansion

[Special Expansion] is for extending audio play and camera input functions for special HMI models.

05.Project Settings_html_784d40de9b3e3bda.png

Operating Procedure

  1. Open "Project Settings" windows.
  2. Open "Extend" sub-windows.
  3. Check the box.
  4. Click "Set" button to open setting screen.
  5. Do configuration for function.
  6. Click "OK" to save and exist.

05.Project Settings_html_baff180660df10b7.png

Operating Procedure of Multi-link

  1. Open "Project Settings" windows.
  2. Open "Extend" sub-windows.
  3. Check the Enable Multi-link.
  4. Select the HMI is acting as Master or Slave station.
  5. Click "OK" to save and exist.

Result

One HMI can display in multiple screens, through Master-Slave connection.

Note:

  • These all three functions are not available for all HMIs, only special HMI models could support them.
  • The details of "audio" settings, please refer to Audio.
  • The details of ""camera" settings, please refer to camera.
  • The details of ""mulit-link" settings, please refer to mulit-link.

Input Device

It is used for enable input devices, like keyboard and mouse.

05.Project Settings_html_2b35ca8fb49cb71.png

Operating procedure

  1. Open "Project Settings" windows.
  2. Open "Extend" sub-windows.
  3. Check "Enable keyboard" and "Display cursor".
  4. Click "OK" to save and exist.

Result

The arrow will be display in screen when HMI is running, and keyboard could be used to enter code and control arrow.

Lab

Lab is used for enable experimental function.

05.Project Settings_html_cc3fe0bdb84753bf.png

  1. Quick compilation: Reduce the consuming time of recompilation for current project.
  2. Xml Optimization: Improve xml operation efficiency and speed up screen compilation.
  3. Enable Lua Debugging: Control the Lua debugging window whether opened or not when using the Lua script.

Vector

It is the function deal with the display issue.

05.Project Settings_html_7e90c6f5bc13d417.png

  1. Vector Font: Optimize the display of fonts, solve the ambiguity issue of font display, and support the large font size over 120.
  2. Vector Image: Pack the vector images into the compiled .wmt file to avoid the loss of vector images after project is decompiled.

Operating procedure

  1. Open "Project Settings" windows.
  2. Open "Extend" sub-windows.
  3. Check "Vector Font" or "Vector Image".
  4. Click "OK" to save and exist.

Security

Security means objects and screen security, but this function is only available in 3000i series and HMI+ series or above.

Only when object password is set,object password function could be used in object.

安全设置 1.png

Objects password

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.

05.Project Settings_html_4835fff86888a26b.png

(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. 

  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.
  2. Start level: It is used for set initial level while this function is enabled.
  3. Highest level: It is used for set how many levels of password could be used.
  4. Independent password:
  • 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.
  • Checked: You could only type the corresponding level password when unlocking each level of object.

Note:

  • Object level password could be enabled in "Bit Switch", "Word Switch", "Function Switch", vCombination Switch", "Numeric Input", "Character Input", "Drop-down List" etc. 

安全设置 2.png

  • The configured password could not be empty, otherwise when users close the configuration screen ,there will be an error: "please set password for level".
  • 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.

Screen Lock

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.

05.Project Settings_html_692602da784d48b0.png

  1. Screen lock: Check it to enable this function.
  2. Password: this password is used for unlocking screen, it is composed of numbers and letters (case sensitive) within 8 digits.
  3. 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).

Font pack

"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.

Operating Procedure

  1. Click the button  to open setting window.
  2. Check "Change Built-in font".
  3. If all the 8 languages use the same font, please click "Set all" to open setting window as below show.

image-20220614173003-1.png

  1. Select font as picture shows.

image-20220614173008-2.png

  1. Click [OK] to save settings.

Result

  • The built-in font of language 1 will be Arial.
  • The built-in font of language 2 will be Calibri.
  • The built-in font of language 3 will be Bodoni MT.
  • The built-in font of language 4 will be Comic sans MS.
  • The built-in font of language 5 will be Centaur.
  • The built-in font of language 6 will be SimHei.
  • The built-in font of language 7 will be Times New Roman.
  • The built-in font of language 8 will be Bauhaus 93.