mountaingoat246 (Customer) asked a question.

CMORE EA9 Passwords, Can you tell which group is logged in?

Hi There,

I have an application that I want to direct operators to a different screen depending on what password is entered from my startup screen.

 

Is there a way to determine which group has logged in? (I have looked through the system tags and there seems to be no way of determining the current logged in user from the tags available)

 

I essentially want to have a "commissioning" screen which is only accessable when the selected password is entered, otherwise the standard screens will be accessible as normal.

 

(I thought I could do a screen swap event based on an internal tag being set which is tied to the operator login/password)

 

Any ideas/thoughts?

 

HMI Software is CMORE V6.42

PLC is productiity suite 3.3.0 (17)

 


  • mikeexplorer (Customer)

    There is a way I think in the system tags, to pass back to the PLC which screen number is being shown. A second tag can remotely switch screens by writing a screen number into that tag. I have that feature in my PLC project I am developing defined as two integer. One is a read from the Cmore which screen is being shown, the second one I can write a screen number into that integer and the Cmore will change to that screen. (Im not on that computer right now so I can't show a screenshot)

     

     

    Expand Post
    • mountaingoat246 (Customer)

      Thanks for your reply, the problem here is I want to be able to distunguish what user group is logged in, as i only have one login screen for all users. and from this screen i want to change what cmore does depending on the result of the login performed. The perfect result would be resolving the logged in user to a integer which i could use in an event to change screen.​

  • kewakl (Customer)

    This is one of the reasons why I prefer to handle passwords in the PLC.

    Instead of having a password scheme setup in the HMI, I use a simple numeric entry.

    In the PLC, test the entered values with a selection of password values (AR1US16 -- 8 columns will do) and adjust screen number/object visibilities accordingly. Any time the entered value is NONZERO, loop thru the AR1US16, if a match is found, handle match. If no match is found, make user wait for 10 - 30 seconds, to limit attempts at gaming your password system.

    Set the text color the same as the background - to hide the numeric value.

    Clear the numeric value to zero immediately after the password comparison.

     

    [EDIT: this also allows you to view/edit passwords as necessary]

    [EDIT: the index (in the AR1US16) where the password match is found can be used to indicate the 'logged-in' group]

    Expand Post
    • Garry (Customer)

      +1 Kewakl

      This is the method I would also use since the operator only has the one screen for login.

      Garry