GSE 60 SERIES Technical Reference Manual page 313

Programmable process controllers
Table of Contents

Advertisement

Get Entry from 8X40 and 16X40 LCD
Formats operator entries using the 8X40 and 16X40 LCD. An entry
"window" can be defined by specifying the beginning coordinates, window
size and maximum entry length. The entry window will overwrite any
underlying text with spaces. By default, the cursor will be positioned at the
leftmost location of the entry window. With each character entered, the
cursor will shift right one position until it reaches the end of the window. If
the entry length exceeds the window size, the cursor will remain in the
rightmost location and characters in the window will shift left as additional
characters are appended to the entry. Additional characters may not be
entered once the maximum entry length is reached.
When the %K command is executed, the macro is suspended until the
entry is completed by pressing [ENTER]. Any prompting should be
displayed prior to the %K command. Entries will be accepted from the
front panel keypad or any enabled comm port. Entered characters will
remain in the entry buffer until [ENTER] is pressed (or a carriage return
<CR> is received on one of the comm ports) allowing the next macro
command to retrieve and/or store the entry. An entry in process can be
cleared by pressing [CLR]. This clears the entire entry from the entry
buffer and restarts the entry process.
Use of the asterisks '*' argument will cause each entered character to
appear as an asterisks on the display. This provides a means of adding
security to a user entry such as a password. Note that the asterisks
characters only appear during the entry. When [ENTER] is pressed to
complete the entry, the entered characters are put into the entry buffer and
become visible on the display. Be sure to copy the entry to a variable or
other parameter immediately after the entry is complete to prevent this
from happening.
i
Alphanumeric characters may be entered during the %K command
using the front panel as described in the Key-In Value Parameters
section on page 3-8.
4,10,6,6,F1%K
Creates a 6-character, small font size entry window
beginning at row 4, column 10. A maximum of 6
characters can be entered.
1,17,4,8,F2%K
Creates a 4-character, medium font size entry window
beginning at row 1, column 17. A maximum of 8
characters can be entered.
1,17,4%K
Creates a 4-character entry window beginning at row 1,
column 17. A maximum of 79 characters can be
entered. The previous font size remains in effect.
7,1,6,6n,f2%K
Creates a 6-digit (numeric-only), medium inverse font
size entry window beginning at row 3, column 1. 6
digits can be entered.
5,1,20g%K
Relocates the entry buffer from the LCD auto-update to
row 5, column 1of the 4X20 VFD. The entry buffer size
is increased to 20 characters.
60 Series Technical Reference Manual
Macros 9-65

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents