GSM-20H10 User Manual
351
ter can be programmed using any of the data formats for the pa
rameter value: binary, decimal, hexadecimal, or octal.
˙
Reading registers
Any register in the status structure can be read by using the
appropriate query (?) Command. The following explains how
to interpret the returned value (response message). The
response message will be a value that indicates which bits in
the register are set. That value (if not already binary) will have
to be converted to its binary equivalent. For example, for a
binary value of 100101, bits B5, B2, and B0 are set. The returned
value can be in the binary, decimal, hexadecimal, or octal
format. The FORMat:SREGister Command is used to select the
data format for the returned value. For non-decimal formats,
one of the following headers will accompany the returned value
to indicate which format is selected:
#B = Header for binary values
#H = Header for hexadecimal values
#Q = Header for octal values
Status Byte And Service Request (SRQ)
Service request is controlled by two 8-bit registers; the Status Byte
Register and the Service Request Enable Register.
•
Status byte register
The summary messages from the status registers and queues
are used to set or clear the appropriate bits (B0, B2, B3, B4, B5,
and B7) of the Status Byte Register. These summary bits do not
latch, and their states (0 or 1) are solely dependent on the
summary messages (0 or 1). For example, if the Standard Event
Register is read, its register will clear. As a result, its summary
message will reset to 0, which in turn will reset the ESB bit in
the Status Byte Register. The bits of the Status Byte Register are
described as follows: