__sub__g Posted July 5, 2022 Report Share Posted July 5, 2022 I want to have two level of options in the program using password entered. Admin and Tester. Admin has access to everything and tester only to certain file. How do I implement this in my program. Any logic or starting help would be appreciated. Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted July 5, 2022 MVP 2023 Report Share Posted July 5, 2022 Please specify which type of PLC your question is for - Unistream or Vision. 1 Link to comment Share on other sites More sharing options...
__sub__g Posted July 5, 2022 Author Report Share Posted July 5, 2022 Thank you for your quick response! I am currently using V430 -J-RA22 in Unitronics VisiLogic Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted July 5, 2022 MVP 2023 Report Share Posted July 5, 2022 Hi, in Visilogic \Examples\Version 900\Project examples\HMI you can find V120_Personal_password.vlp Also V570 password sample project present. 1 Link to comment Share on other sites More sharing options...
__sub__g Posted July 14, 2022 Author Report Share Posted July 14, 2022 Looked at the module could implement basic password's but not the 2 level password's want to implement something like this: Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted July 14, 2022 MVP 2023 Report Share Posted July 14, 2022 Please reload image in correct format... Link to comment Share on other sites More sharing options...
__sub__g Posted July 14, 2022 Author Report Share Posted July 14, 2022 There are 4 different modules in my program Test, setting, factory reset, information. The admin gets access to all 4 modules, but the tester can only test. I was thinking if there is way to hide the buttons when on test mode Link to comment Share on other sites More sharing options...
MVP 2023 kratmel Posted July 14, 2022 MVP 2023 Report Share Posted July 14, 2022 I am a bit surprised by your question. If I have a PLC for testing, the tester is default user. Why the separate role of the tester - to limit access to the PLC to everyone else except the tester? If so, then the task is solved simply - the first password that the system asks for is entering the tester mode (working mode). Only after entering this mode - we have the opportunity to enter administrator mode by selecting the settings button and entering the administrator password while in tester mode. That is, two buttons are available to the tester - TEST and SETTINGS - but he gets there only after entering the administrator's password. P.S. Hide option is present is button properties. 1 Link to comment Share on other sites More sharing options...
Gabriel Franco Posted July 14, 2022 Report Share Posted July 14, 2022 Some time ago I used this code: according to password entered, set MI98 to a number defining the user level, so use this MI to lock different buttons. 1 Link to comment Share on other sites More sharing options...
__sub__g Posted July 15, 2022 Author Report Share Posted July 15, 2022 @Gabriel Franco Thank you for the help. I had few questions: Is Mi1032 the address of the password; what is the size Is Mi1050/Mi1051/mi1052 various level as in this case adim,oper,maintainance How do I lock a button???? Link to comment Share on other sites More sharing options...
Gabriel Franco Posted July 15, 2022 Report Share Posted July 15, 2022 MI1032 is the password entry variable: Mi1050/Mi1051/mi1052 are password values assigned to different roles, as you stated. How do I lock a button???? Use DisableMode (or DisableView) of the object you want to disable. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now