8.8 User Permission
Last updated
Last updated
Introduction
User permission is one of expansion function in PI Series HMI; it provides multi-level of permission for control HMI operations. User need to set the user and group during designing project. Different groups have different permission levels for accessing. Each user should be added into the specified group; it is possible to add the same user into different groups.
Operating record: it records user operations information, the records files are saved in HMI flash; its path is [\\flash\\UserOperationLogs.db].
When it is on simulator mode, the files are saved in C disk, its path is [C:\\WECON\UserMgrFile\UserOperationLogs.db].
Operating procedure of settings
1) Click [User Permission] in [Data Tool] toolbar;
2) Edit user name, click [User0] cell under [UserName], and then enter the user name, one project allows maximum 20 users;
3) Edit password, click [User0] cell under [PassWord], and then enter the user name;
4) Edit description, click [User0] cell under [Desc], and then enter, description is not necessary;
5) Check the groups for each user, there are 11 groups beside admin;
6) Editing groups’ description, but it is not necessary;
7) Click [Save and Exit] button to complete all settings;
Operation Procedure of object permission
1) Open the object setting windows;
2) Select [Security] windows;
3) Check the [User Permission];
4) Select [Level] to set permission level;
5) Enter [Log Message], it is for operation records, if it was empty, the operation for this object would be not be recorded;
6) Select the [Access Denied Setting] mode;
Control list table
HMI allows managing user accounts on screen. Including adding, deleting and editing the user account. HMI provide built-in screen for [Sign in] and [change password] (screen No. 1006 and 1007).
Function | Address | Object type | Address function |
Sign in | |||
HUW1158~1335 | Drop down list | User name | |
HUW1002 | Character input object | Password | |
HUW1000 | Word Switch (Input 1) | OK (sign in) | |
Change password | |||
HUW1158~1335 | Drop down list | User name | |
HUW1002 | Character input object | Old password | |
HUW1006 | Character input object | New password | |
HUW1010 | Character input object | Confirm password | |
HUW1000 | Word Switch (Input 2) | OK(change password) | |
Sign out | HUW1000 | Word Switch (Input 3) | Sign out |
New user | HUW1014 | Character input object | User name |
HUW1006 | Character input object | password | |
HUW1010 | Character input object | Confirm password | |
HUW1000 | Word Switch (Input 4) | OK(add new user) | |
HUW1336~1345 | Character input object | User description | |
HUX1347.0 | Bit switch | =1: User hidden =0: Visible (Defaults) | |
HUW1000 | Word Switch (Input 8) | Save(add Hide features) | |
Delete user | |||
HUW1158~1335 | Drop down list | User name | |
HUW1000 | Word Switch (Input 5) | OK (delete user) | |
Delete Profile | HUW1000 | Word Switch (Input 9) | OK(delete) |
Export Profile | HUW1000 | Word Switch (Input 10) | OK(export) |
Import profile | HUW1000 | Word Switch (Input 11) | OK(import) |
Export log file | HUW1000 | Word Switch (Input 12) | OK(export) |
Current user name | HUW1349 | Character object | 32 Word |
System state information | HUW1030 | Character input object | System state information |
System state information | HUW1030 | Character input object | System state information |
Permission settings | |||
HUW1014 | Character input object | User name | |
HUW1348 | Bit switch | Set the user group: HUX1348.0 = 1 administrator; HUX1348.1 = 1 group 0 permission; HUX1348.2 = 1 group 1 permission; (Total group 0 - group 10) | |
HUW1000 | Word Switch (Input 6) | Add user rights (set according to HUW1348) |
When the user performs a function operation, the operation result is displayed in the HUW1001.
Value (HUW1001) | Meaning |
1 | Insufficient permissions. |
2 | User name does not exist. |
3 | User name already exists. |
4 | Invalid password. |
5 | Signed in |
6 | Password you inputted do not match. |
7 | Password changed. |
8 | User adding complete. |
9 | User deleting complete. |
10 | Maximum number of users exceeded. |
11 | An administrator user already exists. |
12 | Modified user rights |
13 | Imported file |
14 | Failed to import file |
15 | Exported file |
16 | Failed to export file |
17 | Signed out |
18 | Deleted profile |
19 | Deleted log file |
20 | Modified hide settings |
21 | Failed to modify hide settings |
✎Note:
1) If there is an administrator account, the user can no longer add an administrator, that is, a project can only have one administrator account.
2) During adding a user function, the set password could not be duplicated with other users.
3) During deleting a user, it is forbidden to delete the administrator account, that is, the administrator account could not be deleted.
User permission demo download
https://drive.google.com/open?id=1qOiEDvo_1H1YqpoLDpS77dGaAFm8nrGq