Set Column (Function 12) - GSE 60 SERIES Technical Reference Manual

Programmable process controllers
Table of Contents

Advertisement

Database 11-13
B. An entry followed by the [ENTER] key:
To use this method for invoking the "Set Dbase" command, key in the
number of the database (for example, 1) , and press [ENTER]. This sets
the current database so all subsequent database commands will be
performed on it until another "Set Dbase" command is issued.
Multiple databases can be used in many applications. For example, one
database might include the part number, description, net weight on hand,
amount on order, and so on while a second database might consist of
transaction data for various part numbers, and a third might contain
purchase orders for various part numbers, as well as quantities ordered
and their due dates. If you try to select a database that is not currently set
up, the error message "NOT SETUP" is displayed briefly.
S
C
(F
12)
ET
OLUMN
UNCTION
A. [ENTER] key alone:
The "Set Colmn" command is used to specify a key column for the next
database command. If you do not key in a column number before you
invoke this command, the default (for example, look-up) column will be
reset to the first column of the selected database. This occurs
automatically every time the controller is powered up or is re-initialized
after you exit the setup mode and save changes.
B. An entry followed by the [ENTER] key:
For this form of the "Set Colmn" command, you must enter the parameter
ID of one of the columns for the selected database (for example, 80.9 for
variable instance number 9) before you press [ENTER]. The specified
column has no immediate effect but it will affect the next database
command if it is dependent on the selected column.
Normally, the selected column defaults back to the first column after the
first database command is issued. However, if your entry starts with a
decimal point, the newly selected key column will remain in effect until the
"Set Colmn"
command is issued again. If another database is selected and it does not
include the parameter ID for the currently selected column, the key column
will be reset to the first column.
Also, if the controller is re-initialized, the selected column will be reset to
the first column of the first database that has been set up. For example,
keying in [•] 80.9 [ENTER] will semi-permanently set the key field for the
selected database to be the column whose parameter ID is variable 80 for
instance number 9.
The "Set Colmn" command can be used to recall a row from memory
based on information stored in any column other than the first column.
Generally databases should be set up so the first column is searched.
However, some applications require searches of other columns during
certain operations, for example, attempting to determine a part number
when only the description is known or searching through a transaction
database (whose first column is part number) for a specific account
number.
60 Series Technical Reference Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents