PLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

  1. Sidnei Marcondes
  2. PLCnext Engineer
  3. Friday, 23 October 2020

Hi,

I would like to use the user management in the PLCnext to control the access in determined web screens of the application, like a Settings Screen of the machine. 

But when we enable the PLCnext user management in the HMI WebServer settings of the PLCnext Enginner, the Login screen is always showed in the start page.

I would like that the start page starts without login screen. Only when the user try to access a specific page, the login screen should be showed.

Is it possible to configure the WebServer to not show the Login Screen in the Start Page ?

Thank you,

Sidnei Marcondes

Dan Clark Accepted Answer Pending Moderation
0
Votes
Undo

Sidnei Marcondes,

For this application it would be best to create your own login, which takes some work but it is worth it.

If you disable PLCnext User Management under HMI webserver and remove the Login page it will not prompt to login on the start of the HMI program.

If you want to create a user management, create a code sheet purely for the eHMI, and create a User Defined Structure for usernames and passwords that is stored in the PLCnext code. You can then populate the structure for your users and assign them "user levels". In the eHMI, have a button on the screen that opens up a pop up window to Sign In. The user will then enter their Username and Password, and hit a Sign in button. If their credentials match a entry in the User Defined Structure then they will be logged in. You can then use the "user levels" that you create to allow visibility to certain buttons which can access certain pages.

Hope this helps!

Sidnei Marcondes Accepted Answer Pending Moderation
0
Votes
Undo

Hi Dan,

I will make as you suggest.

Thank you

Sidnei

 

Frank PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hey Sidnei,

please find below the clarification from our eHMI specialist:

Yes, if the page contains PLC variables and Enforcement of user levels is set to PLCnext user management in HMI Webserver settings, then the user must log in to access the page.  If the home page does not include a PLC variable or an item with user levels, then the user will be prompt to logon at that time.

Take care,

Frank


Phoenix Contact Electronics Headquarter - PLCnext Runtime Product Management and Support

  1. one week ago
  2. PLCnext Engineer
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.