How to Provide Password to Buttons?
How to configure password aspect to buttons.the Button should operate when the password entered correctly. This aspect should applicable for all levels of login such service login to operator login.
Voted best answer
Short Answer .. You don't. Use the Logged In operator ID to provide security. Coding a Password into a graphic button provides ZERO security. It will take a matter of minutes for every operator in the plant to learn the password, and you cannot store and encrypt a password securely in the HMI. All you are doing is creating a needlessly complicated "Confirm" button.
Workaround Answer ....
You could create a PG2 Expression Variable to store the operator entry inside the Graphic. Use a Text Entry Window to get the password from the operator and store it in the expression variable. Compare the Entered Password with the Correct Password. If they are equal set the Enable property on the button.