User Manual

SmarTek Systems (www.smarteksys.com)
12
Chr(2)mm-dd-yyyy,hh:mm:ssChr(3)
Command to SAS-1: Download Archive Data From the SAS-1
<ESC>{SASxxxx,GDATA}
SAS-1 Response:
Chr(2)[Data Archive Record]Chr(3)
Data Receiver Response:
Chr(2)OKChr(3) “OK” to send the next archive record
or
Chr(2)NOT_OKChr(3) Resend the archive record
or
Chr(2)DONEChr(3) All archive records received “OK”
or
Chr(2)ABORTChr(3) Unrecoverable error, end the process.
The SAS-1 archive data is sent using multiple records of the following form:
Header Record 1
Header Record 2
Data Record 1
Data Record 2
.....
.....
Data Record k
.....
.....
Last Data Record
End of File Record
Command to SAS-1: Send (Upload) a New Header Record to SAS-1
<ESC>{SASxxxx,SHDR}
SAS-1 Response:
Chr(2)OKChr(3) “OK” is ASCII
Sender Response: