Research Concepts RC1000 User Manual
Page 36

QUERY COMMAND
This command instructs the RC1000A to send back all data as
displayed on the LCD. This includes azimuth and polarization position, 
satellite name, all limit and status information, error conditions, and 
comm-link status. The query command message consists of 5 bytes and the 
format is 
byte 0 : STX
byte 1 : 'AA' where AA is the RC1000A address
byte 2 : '31h' the query command code
byte 3 : ETX
byte 4 : 'chksum' the checksum
The response to this command will consist of 24 bytes, which will be a 
combination of ascii and binary data fields. The binary data will be 
placed in the lower nybble of a byte whose higher nybble will be 
initialized to a value which will make the result an ascii character. 
The idea with this response is to be able to reproduce the information 
presented on the LCD to the user when manual mode is active. The format 
of the response will be 
byte 0 : ACK
byte 1 : 'AA' where AA is the RC1000A address
byte 2 : '31h' the query command code
byte 3 : 'F' or 'N' 'N' if the RC1k is in remote mode
(online), and 'F' (offline) 
otherwise. Note that if the 
device is not in remote mode, 
commands cannot be accepted. 
bytes 4-10 :
Sat_Name
This
field
will
contain
the
satellite name in upper case 
letters. If the name does not 
occupy the entire field the name 
will be left justified and the 
string will be padded with blanks. 
If a satellite name is not 
currently displayed, this field 
will contain all blanks. 
bytes 11-13:
AZ position This
field
will
contain
the
current azimuth position, 
formatted in a manner identical to 
how the position is displayed on 
the front of the unit, '000' to 
'999'. Note the azimuth position 
displayed is not the actual 
azimuth count, which may be 
greater than 999. The displayed 
value is the actual count scaled 
by the east and west limit counts 
so that displayed position will 
always be less than 1000. 
bytes 14,15: Pol position
This field will contain the 
current polarization position, 
formatted in a manner identical to 
