Rockwell Automation FactoryTalk View Machine Edition Users Guide User Manual

Page 192

Advertising
background image

F

ACTORY

T

ALK

V

IEW

M

ACHINE

E

DITION

U

SER

S

G

UIDE

11-16

• •

The ADMIN user has access to every graphic display.

The DEFAULT user has access only to graphic displays to which * or P has been
assigned. In this example, the DEFAULT user does not have access to any of the four
graphic displays.

In this example, you could have assigned the same security code to the Alarm History and
Boiler displays, since all users except the DEFAULT user have access to these displays.

Example: Use security codes to control the visibility of the
shutdown button

This example shows how to set up users so that only authorized users can use the
shutdown button to stop the application.

This example uses the CurrentUserHasCode security function to determine whether a user
is authorized to view and use the shutdown button.

The security code E is assigned to users who are authorized to use the button.

1. In the Runtime Security editor, clear all the security codes for the DEFAULT user.

2. Assign security codes to the other users:

3. Create a shutdown button.

4. Assign visibility animation to the button using this expression:

CurrentUserHasCode( E )

For the Expression True State, click Visible.

When the graphic display containing the shutdown button is open, the MAINTENANCE
and ADMIN user can see the button. If the OPERATOR or DEFAULT user is logged in,
the button is not visible.

Example: Assign visibility animation to the Goto display
button

This example shows how to assign visibility animation to the Goto display button so that a
user must log in before seeing the button.

To this user

Assign these security codes

OPERATOR

A, B

MAINTENANCE

A, B, C, E

ADMIN

All

Advertising