Eric Nelson
Lifetime Supporting Member + Moderator
In order to access protected items, users must 'log in' with a username and password. This uses the full alphanumeric keypad. Most of my HMIs are the little G304K2s, and the keys end up being really tiny on that size screen. Very easy to hit the wrong key with fat fingers.
Most of my applications don't require that much security. The majority of my customers are happy with a simple numeric password to access 'protected' screens.
I have 'rolled my own' version for this type of customer. Attached is a Crimson 3 database I threw together, showing an example of how I currently do it.
Basic Operation:
-Eric
Most of my applications don't require that much security. The majority of my customers are happy with a simple numeric password to access 'protected' screens.
I have 'rolled my own' version for this type of customer. Attached is a Crimson 3 database I threw together, showing an example of how I currently do it.
Basic Operation:
- When the operator presses the "Access Protected Screen" from the Main screen, it goes to the Security screen. On the Security screen, there is a data entry button (Touch to Enter Password) that pops up the standard numeric keypad. This button is only visible when the value in "PassEntry" is not the correct password, so it disappears once the correct password is entered.
- If the operator enters an incorrect password, the "Incorrect Password" banner flashes (It becomes visible when "PassEntry" is > zero, yet not correct).
- If the operator enter the correct password, the data entry button disappears, and the "Continue" button becomes visible, which goes to the Protected screen when pressed.
- Whenever the operator returns to the Main screen (from the Security OR Protected screen), the "PassEntry" tag gets set back to zero.
- The 'password' is whatever value I decide (1234 in this example), and cannot be changed by the customer. This is easy enough to fix if needed. I could use a variable and have it editable on a 'change password' screen.
- When the password is entered, the numbers are visible, not hidden with asterisks. This makes it easy for someone to look over your shoulder and see the password you enter.
-Eric
Last edited: