How to use user levels
Hello, welcome to the hmi touch screen operation video tutorial, we will talk about the use of user level. User level is generally used in some operation components, the component to operate, a password window pops up to enter the password, when the password is entered correctly before the operation, using the user level. Today's user level is divided into three steps to explain, firstly, the use of user level, secondly, how to use user level with switch components and window switching components, and thirdly, how to log out of user level is divided into manual logout and automatic logout. The first step is to add a user level to the system settings in the project directory, or click on Settings, System Settings, User Levels, both of which can be opened. There are 16 levels in total, level 0 has no password and higher levels are compatible with lower levels, meaning that if you have set a user level one, you can also operate it by entering a level two password. First look at the switch element, inside the control settings tick the condition enable, user level, here I tick the operator level 1, also inside the display settings you can use the level control, the next switch element control settings tick the administrator level, also add a window switch element. Switch to basic window 2, tick operator level 1 in the control settings, click OK, let's start with an offline simulation, simulate the two click tools offline simulation. You can see that the current user level is 0. At this point operate components a and b, prompting that a password needs to be entered. Suppose I press the password six 8 is the password of level 1, then I find that I can operate on component a, component b can not, component b is the administrator level, so its password is to enter six 9, you can operate on it, the user level shows level 2, we can simulate switching components, click to switch to window 1, click to switch to window 2, we will find that in the same time in the switch to create two, it does not need to enter the password. It will not require a password to be entered. Some users say I want them to enter their password every time, or I want the user level to be automatically logged out. As I said earlier, there are two ways to log out of a level, one is manual and the other is automatic. It is to assign a value to SRW105, set it to 0, and you can enter the component with a value. Here we say that SRW105 is a way to force the user level to switch, but it can only switch from a high level to a low level, we set it to 0, the level becomes 0, then we need to enter the password when we operate other components that need the user level. The other type of automatic logout is achieved by means of a timer. We click Add under the public window, window timer, and when we judge that the current user level is greater than 0, we switch it to 0. So the trigger condition is SRW104, SRW104 is the display of the current user level, and when it is greater than 0, we end the condition by reaching the specified number of times 1 This can be executed with a delay of two cycles. The timer function is to set SRW105 to 0. Clicking on save then simulates that the user level is now two and we find that it automatically changes to 0. The function inside the timer works, so there is no need to set it manually. There is also an easy way to switch window components, which is to right-click on the window where the window is switched, click on Window Properties and switch to user level zero when the current window is closed, this also allows you to switch windows every time you need to enter your password without adding a timer to the public window, but this is only for that window, the window is not valid. That's it for the user level, thanks for watching.
Get in touch
Please provide us with the information below to complete your request. Just leave your email or phone number in the contact form so we can send you a free quote for our wide range of designs!