Rockwell Automation 2708-NAG Application Generation Software User Manual

Page 17

Advertising
background image

Chapter 3
Using Application Generator

3 – 7

When the

F7 – SET AN INPUT RANGE/LOOKUP

is entered the

following sub-menu is displayed:

Figure 3.6
AG Range Selection Menu

Smallest #:

You enter the lowest numeric number for the input

value. For example, it can be entered as the number 20, or if the
variable AGE = 20 then you can enter the variable name, AGE.

Biggest #:

You enter the biggest numeric number for the input

value. For example, it can be entered as the number 9999, or if the
variable MOST = 9999 then you can enter the variable name, MOST.

When the program is running, if the value entered is not within the
range, then * OUT OF RANGE * is displayed and the user is
prompted to enter the number again.

V

ALID CHARACTERS

: You specify a set of characters that can be used

during entry. Anything not in the set will not be displayed.

This applies only to the one read statement you attach this attribute to.
An example use might be: Departments are coded A, B, C, and D.
When the operator enters the Department field, if the read statement
has the valid character set as {A,B,C,D], then no other characters will
be displayed.

Advertising