so im working in CCW with a Panelview 800 and i would like to set it so that the GoToConfig button is only accessible by certain users. In the past in FTVS what i have done is just set a GoToDiplay button within the Maint screen that was labeled GoToConfig, but really just brought the user to another screen that then had the actual GoToConfig button on it. If the logged in user didnt have security rights to the GoToConfig screen then they wouldnt be allowed past it.
I could do the same thing in CCW, but i have also read some other options.
Option 1= do whats discussed above
Option 2=In CCW in the Tag Editor, create an External string tag to hold the System "Current User" string data. Go to Global Connections and under System Tags find "Current User" and assign the "Curr_User" String tag to its Destination Tag. For each Screen Object that requires one of the above boolean visibility references. Go to the Object's Properties>Connections and assign the relevant boolean tag to the Visibility Tag property. Create 3 External Boolean tags to be used for visibility switching within the PLC program. In the MicroLogix 1400 program, use ASR (ASCII String Compare) instructions to compare the string data from the PanelView Component with the predefined User strings and if any of the ASR instructions evaluate TRUE, then set the equivalent boolean bit to indicate that user is logged in.
my issue with this option is that IIRC the update rate for the global outputs in the Panelview 800 is 60 seconds, which is a pretty long time to have to wait for a button to appear on the screen if the proper user is logged in.
Option 3= Have a numeric input on the screen if the entry is correct it would set a bit within the PLC which would then in turn be set to the visibility of the button you a protecting.
any advice is appreciated, seems like all ways would work, just not sure which would be the best. it seems since CCW is a bit more limited in terms of button animation that the best route may be the longest so that if i wanted to also add other buttons within the HMI screen that were user dependent, the coding to do so would already be in place.
I could do the same thing in CCW, but i have also read some other options.
Option 1= do whats discussed above
Option 2=In CCW in the Tag Editor, create an External string tag to hold the System "Current User" string data. Go to Global Connections and under System Tags find "Current User" and assign the "Curr_User" String tag to its Destination Tag. For each Screen Object that requires one of the above boolean visibility references. Go to the Object's Properties>Connections and assign the relevant boolean tag to the Visibility Tag property. Create 3 External Boolean tags to be used for visibility switching within the PLC program. In the MicroLogix 1400 program, use ASR (ASCII String Compare) instructions to compare the string data from the PanelView Component with the predefined User strings and if any of the ASR instructions evaluate TRUE, then set the equivalent boolean bit to indicate that user is logged in.
my issue with this option is that IIRC the update rate for the global outputs in the Panelview 800 is 60 seconds, which is a pretty long time to have to wait for a button to appear on the screen if the proper user is logged in.
Option 3= Have a numeric input on the screen if the entry is correct it would set a bit within the PLC which would then in turn be set to the visibility of the button you a protecting.
any advice is appreciated, seems like all ways would work, just not sure which would be the best. it seems since CCW is a bit more limited in terms of button animation that the best route may be the longest so that if i wanted to also add other buttons within the HMI screen that were user dependent, the coding to do so would already be in place.