beautypg.com

Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual

Page 73

background image

3

P

LANNING

AN

APPLICATION

3–15

• •

3 • Pl

aceh

ol

der

You can also use the FactoryTalk View SE Client object model to customize the control
system in the following ways:

Adding custom alarm events

You can write alarm detection algorithms using PLC logic, and then create events in
FactoryTalk View SE to respond to the algorithms.

Validating operator input

Use VBA logic to validate the operator’s input, for example, to ensure that the value an
operator enters in a numeric input object falls within 10 percent of the value of another
numeric input object.

Creating custom operator forms

Use the FactoryTalk View SE Client object model to populate VBA form objects with
data, for use in graphic displays. For example, provide list boxes or combo boxes for
operators to select recipe items from a display.

Manipulating the FactoryTalk View SE Client window

Write VBA code to arrange graphic displays based on the size of the FactoryTalk View
SE Client window, so that the run-time application can adapt dynamically to various
desktop sizes and resolutions.

Sending custom messages to the Diagnostics log

Send specific messages to the Diagnostics List and Diagnostics log, to notify the operator
of problems with VBA code.

Securing the system

Use the FactoryTalk View SE object model to obtain security information about who is
using the system and to control access to the system.

For example, you can restrict a user’s access to a graphic display on a secured computer
by creating code that displays the graphic display on a workstation with a specific
computer name, only when the user is logged in with a particular user name.