Naming a formula – Rockwell Automation 5370-CMPK Color CVIM Module MATH-PAK User Manual

Page 52

Advertising
background image

Chapter 4

Defining Formulas

4–37

current value of formula 4, then formula 4 is set to the current value of
window 3. The result of this shifting of window 3 results is that the formula
1 result equals the window 3 result from four inspections ago.

The fault range limit for formula 1, in this example, is set to the appropriate
parameters for window 3. The output of formula 2 can be assigned to a
results output and used to trigger a signal the event window 3 failure.

This application example is particularly useful where indexing of parts
occurs, and where the action taken on a part failure occurs further down the
line (in this example “further down” means “four triggers down”).

Once you have defined a formula’s contents, you can name the formula using
the

Set Name

box on the

Config. Results

menu. Entering descriptive

names for formulas can be useful – during run mode, for example, formulas
can be displayed according to their pass/fail status. It may be easier, when a
formula is displayed, to identify a formula’s function if it has a name relating
to its content or functionality.

Default name: In case you do not name a formula, a default name is entered
automatically, when you define the formula. The default name for a formula
is F#, where # is the formula number.

Define formula first: The

Set Name

box for a selected formula is disabled

until the formula has been defined. Thus you cannot enter a formula name
until you enter a valid definition (see “Defining a Formula” in this chapter).

Figure 4.19 Using the keyboard to set the formula name

To enter a formula name:

Pick

Set Name

on the

Config. Results

menu. The keyboard appears

(see Figure 4.19).

Naming a Formula

Advertising