Skip to content

Configure eHMI to show values when not logged in

I'm running 2021.9 currently.

I'm wanting to set up a page that if not logged in shows a limited amount of data from the PLC. However, it appears that if you allow the user to not log in at all, they have no access to page changes (can't get back to the login page by button at least) and get no data from the HMI. Am I not seeing an option for that?

I do understand that I can preset a basic user in the text boxes of the login screen (which I have) but I also need instant on basic information and hopefully screen navigation.

Also, are the username and password field keyword based? It seems they're just textboxes that the system recognizes somehow as the appropriate values (not linked to any variable from what I can tell). And also they appear to only work on the login page?

Alternatively, it might be possible to simply post or pass login information via the HTML string for an initial login, but I'm not certain (I briefly glanced at the .js, really don't want to look farther).

Comments

  • This is probably me messing with edge cases, but I figured I'd document this.

    Configured for PLCNext Security: If I provide a logoff button or a way to a different screen, no screen navigation buttons work. No PLC data is pulled. However, if I have swipe navigation setup, I can get to a different screen (just my Page 1 test to the default login HMI screen). Once back at the login screen, logging in works fine and everything works as expected.

    Configured for no security. Everything works at connection. However, if I go to the login screen and press Log Off, button based screen navigation is disabled but PLC values continue to work. Alternatively, if you can get to the Logon page and press Logon (it will register a login fault), navigation buttons will work again.
  • Currently it is only possible to use the logon screen to view information from the eHMI if User Management of the eHMI is enabled.
Sign In or Register to comment.