GSE 60 SERIES Technical Reference Manual page 309

Programmable process controllers
Table of Contents

Advertisement

Example:
Simple 4X20 VFD Entry Screen
This entry routine displays a complete entry
form before blinking the cursor in the first entry
field. When [ENTER] is pressed to complete
the part number entry, the part number is stored
in VAR#12. The cursor will then blink in the
tare weight entry field awaiting another entry.
Note the use of square brackets [ ] to help
identify the location and size of the entry
window.
===================================
PACKAGE INFORMATIONP1,1a%C
Part Number [
]P3,1%C
Tare Wt.
[
]P4,1%C
3,14,6,6%K
=80.12P%o
4,14,6,6n%K
=80.13P%o
PACKAGE INFORMATION
Part Number [?
Tare Wt.
[
Jump to Tag (Macro Independent)
@ < text > [ , macro# ] %J
Jumps backwards or forwards to a tag in the same macro or to a tag in
another macro. The tag identifier can consist of up to 79 alphanumeric
characters, but must not include a comma (,). Each tag within a macro
should be unique, however individual jump commands can be used as
often as necessary. When a macro independent jump is performed, the
jump function begins searching for an '@' character from the beginning of
the specified macro. When it encounters this character, it proceeds to
compare the tag identifier with the jump identifier. When an exact match is
found, macro execution resumes with the command following the tag.
This tag search routine allows jumping to a tagged location that has not
been executed within a macro.
@START%J
@FILL,10%J
G
%K
Syntax
Arguments
n
b
u
g
*
row
column
]
window
]
max entry
Searches the current macro for a @START%T
command and resumes execution with the following
command.
Searches macro 10 for a @FILL%T command and
resumes execution with the following command.
E
4X20 VFD
ET
NTRY FROM
Get Entry from 4X20 VFD
<row,column,window>[,max
entry][n][b][u][g][*]%K
Allow only numeric entry characters (0 à 9, '. ', ' -'. ' +').
Do not blink cursor.
Display underscore '_' in place of cursor.
Defines the 4X20 VFD entry window as the new entry
buffer. Operator input is not expected and macro
execution continues, however any keypress or received
character that would normally be displayed on the 2X5
matrix of the 7-segment VFD will instead be displayed in
the entry window of the 4X20 VFD. The entry window will
persist, even while in the setup mode, until cancelled by a
%K command issued without arguments.
Entered characters will be displayed as an asterisks '*'.
Row (1 à 4) to position beginning entry position.
Column (1 à 20) to position beginning entry position.
Entry window size (1 à 79) in terms of characters.
Maximum number of characters (1 à 79) to be entered.
60 Series Technical Reference Manual
Macros 9-61

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents