Weintek/Maple Users - security question

BobB

Lifetime Supporting Member
Join Date
Jun 2002
Location
Sydney
Posts
4,602
I have searched help and the YouTube channel without success
I want to place a password access on a change screen button so that a password is required to access a screen
I did find on the YouTube channel how to set up a login but that is not what I require
Can anyone help with how to put a password on a change screen button please?
I have set up in security a user name and password for class A access - that is all I need.
 
I would use a macro to bring up the screen upon pressing the GoTo button.
Once bit LB-12056 is set, fire up a macro and switch screens.
1737932001899.png
 
Thank you for responding - all I want to do is pop up a keypad to go to the screen. It was very easy with Omron and pretty easy with Red Lion. I would have thought putting a password entry on the touch button would work fine but have been unable to get it to work.
 
What I have done is change screens on successful login. In other words, you can put Login function button with the name of your chosen screen, when pressing that button login & logout screen would pop out and on successful login your current window will change.

macro_command main()

bool In = true
bool Off = false
bool Out = true
short ligin
short newWindowNumber

GetData(ligin, "Local HMI", LW_Bit, 895100, 1)
GetData(In, "Local HMI", LB, 0, 1)
GetData(Out, "Local HMI", LB, 1, 1)
//895100

if ligin == 1 and In then

newWindownumber = 12
SetData(newWindowNumber, "Local HMI", LW, 9050, 1)
SetData(Off, "Local HMI", LB, 0, 1)

end if

if ligin == 1 and Out then

ligin = 0
SetData(ligin, "Local HMI", LW_Bit, 895100, 1)
SetData(Off, "Local HMI", LB, 1, 1)

end if
end macro_command

That's my code for changing windows on successful login. I'm using "ligin" instead of "login". But there are some things you need to do.

First of all - find your "Login & Logout" window, mine is number 70 in EBpro. Open that Option List's Properties.
1737965111090.png
Put those settings. Then, open Login and Logout buttons. On both enable Notifications -> "Set on" and "Before writing". Login button address should be LB-0, Logout LB-1.

Logic
Periodical execution is set to 100ms.
"ligin" is LW_895100 - 1 is being written into it if login is successful.

I'm just watching over the logins. If one is successful - "ligin" == 1 and "Login" button has been pressed - I change window. If not, nothing happens. On logout I write 0 in "ligin" to reset it.

I've done that months ago and stopped when I saw it's working since my current project don't require that logic. I'm open to smarter ideas and I hope my work helps you!
 
I am amazed this is so difficult. There must be an easier way to password protect something. I will have to have another look. Thanks for responding.
 
Inside is a Sample Password for a 4.3' you can change it to other models make with easybuilder pro 6.10 the password is in the security tab of the parameters. or 1976 .. it reverts to main page after set time and re log in is required.. bulky but works..
 

Attachments

  • PASSWORDBASE.zip
    328.6 KB · Views: 3
Sign into the Weintek forum - then EasyBuilder Pro Q&A - there is a topic headed "How To Password Protect A Window w/out having users login" - bit convoluted but better than the alternative - have not tried it yet.
 
The subject I raised on the Q&A forum has had some updates if anyone is interested. Have to try it out with a real screen.
 

Similar Topics

I have been using Omron NS series touch screens for a long time but they are no longer available. Not cheap but you could create a lot of your own...
Replies
20
Views
1,213
Hi all, I wanted a 3rd party HMI that could use faceplates and indirect addressing. And I found it! I use RSLogix 5000 and Omron Sysmac. I...
Replies
0
Views
4,728
Hi everybody, I am in a bit of a pickle, I recently a Crouzet EM4 PLC off DigiKey, I know I probably should not have done that, but I needed...
Replies
6
Views
3,759
Hello all- Can I load an HMI program for a Maple Systems HMI5070TH onto a Weintek MT8070iH? My (small) company has an old (couple of years)...
Replies
1
Views
3,981
Can anybody provide programming services for Maple Systems / Weintek HMI on charge basis.
Replies
2
Views
3,422
Back
Top Bottom