GSE 60 SERIES Technical Reference Manual page 373

Programmable process controllers
Table of Contents

Advertisement

Example:
Recall Row - Sample Database
Structure
699%s1%e
DB #: 1
700%sPARTS%e
DBNam PARTS
701%s80.1%e
Col01 Part#
702%s80.2%e
Col02 Name
703%s2.1%e
Col03 Tare
Box#
Name
(80.1P)
(80.2P)
1
SAE5W30
2
SAE10W30
3
SAE10W40
4
SAE15W40
5
SAE20W50
6
SAE30
7
SAE40
8
SAE50
9
SAE20W
R
%y
Syntax
Arguments
dbase#
column
value
Notes
See Also
Tare
(2.1P)
0.95
Recall Row
0.90
0.92
Accesses the first database row that matches the search criteria. The
0.89
search always begins with the first row in the database and continues
0.87
sequentially to the end. When a match is found, all parameters included in
0.90
the database are updated with their corresponding values. If no matching
0.90
0.90
rows are found, the 'record not found' flag is set (see %_ If Database
0.92
Error) and the parameter values are unchanged. If a column is not
specified, the first column is used for the search criteria. Use the data in
the example – Recall Row for the following Recall Row commands:
80.1P=3%o
1,1%y
1,1;8%y
1;5%y
80.2P=SAE30%o
1,1,80.2%y
1,1,80.2;SAE20W%y
1,1,2.1;.9%y
1,1,80.1;0%y
R
ECALL
OW
Recall Row
1 [ , dbase# ] [, column ] [;value] %y
Database number (1 à 250).
Operating parameter representing a database search
column with the syntax:
< parm > . [ instance ]
where parm is a operating parameter with a valid instance.
Specific value or text to recall from the lookup column.
Omitting dbase# assumes the last database accessed. If
no databases have been accessed, the first defined
database is assumed.
Value can be specified without specifying column.
%y
Next Match in Database
%y
Set Column in Database
%_
If Database Error
Recalls the row with a box# of 3.
Recalls the row with a box# of 8.
Recalls the row with a box# of 5 (assuming
database #1 was the last database to be
accessed).
Recalls the row with a name of SAE30.
Recalls the row with a name of SAE20W.
Recalls the first row with a tare weight of 0.90.
Sets the 'record not found' flag because a box#
of '0' does not exist in database #1.
60 Series Technical Reference Manual
Macros 9-125

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents