GSE 60 SERIES Technical Reference Manual page 388

Programmable process controllers
Table of Contents

Advertisement

9-140 Chapter 9
i
Because the Upload Update
command must search the entire
database before creating a new
row, this method of upload is
significantly slower than the
Upload New command, especially
for larger databases.
GSE Scale Systems
16,1;1%y
1,"Aggregate",5000,250,958662865
2,"Cement",1000,100,958662875
3,"Fly Ash",500,50,958662883
4,"Recycle",1000,250,958662899
5,"River Rock",2000,250,958662908
ENDofDB
The Upload New command is often used to restore database information
acquired using the %y Download Database command. Ensure an empty
database before uploading by including the %y Clear Database command
at the beginning of the transmission as shown below:
10,1%y
16,1;1%y
1,"Aggregate",5000,250,958662865
2,"Cement",1000,100,958662875
3,"Fly Ash",500,50,958662883
4,"Recycle",1000,250,958662899
5,"River Rock",2000,250,958662908
ENDofDB
U
U
%y
PLOAD
PDATE
Syntax
Upload Update
17 [ , dbase# ] [ ; comm ] %y
Arguments
Database number (1 à 250).
dbase#
Communication port (1 à 4).
comm
Notes
Omitting dbase# assumes database last accessed. If no
databases have been accessed, the first defined database
is assumed.
Omitting comm assumes port 1.
See Also
%y
Upload New Database
Upload Update
Initiates the upload of new or existing data rows to a database. This
command operates similar to the Upload New Database command with
one exception. As new each row is received, the Upload Update
command searches the existing rows for a match of the first column data.
If a match is found, all other columns in that row are updated with the new
data. If a match is not found, the new row is appended to the end of the
database. This method prevents the creation of duplicate records.
As with the Upload New command, data must be sent in a comma-
delimited ASCII text format with fields matching the database structure and
column data types. Each data row must be terminated with a carriage
return <CR>. The last line of the upload file must be the text ENDofDB

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents