F3 – keyboard read/laser – Rockwell Automation 2708-NAG Application Generation Software User Manual
Page 15
Chapter 3
Using Application Generator
3 – 5
F3
– Keyboard Read/Laser
The Keyboard Read menu is used to read fields and characters from the
keyboard. When you chose one of these attributes a message is displayed on
the next to last line of the CRT. Then the attribute is added to the read
statement in the program. When
F3
is pressed the Main Operations Menu is
replaced with these options:
Figure 3.4
AG Read From Keyboard/Laser Menu
Note: Since there are many options that can be selected for reading, you will
have to press
[ENTER]
until the Main Operations Menu is shown in order to
store a READ operation. Watch the help line at the bottom of your computer
screen.
If you choose
F2 – READ A SINGLE KEYSTROKE
then the key number
will be placed into the input variable. An example use of this choice would
be in a Time & Attendance program when you need to know if the employee
is checking IN or OUT; the entry could be the single keystroke of the (IN) or
(OUT) key. Some of the more important ·numbers are:
F1
= 225
F6
= 230
[ENTER]
= 13
EXIT = 159
F2
= 226
F7
= 231
IN = 43
UP = 24
F3
= 227
F8
= 232
OUT = 45
LEFT = 8
F4
= 228
F9
= 233
CLEAR = 127
DOWN = 25
F5
= 229
F1
0 = 234
SPACE = 32
RIGHT = 26
The
F3 – READ NUMBER
will create a numeric field. The input will be
converted into a number.
!
ATTENTION: The limits of this numeric field are +2, 147, 483,
647 maximum to – 2, 147, 483, 647 minimum. If a value is
entered that is outside of this range the number will overflow to
an incorrect value. If very large positive or negative numbers are
expected, then set an input range to the above limits (see
F7
option).