5 remote commands and error, 5 remote commands and error codes – Martel Electronics BetaGauge 301 User Manual
Page 27

10.4.2 Character Processing
The data entered into the calibrator is processed as follows:
• ASCII characters are discarded if their decimal equivalent is less than 32 (space),
except 10 (LF) and 13 (CR):
• Data is taken as 7-bit ASCII
• The most significant data bit is ignored.
• Upper or lower case is acceptable.
10.4.3 Response Data Types
The data returned by the calibrator can be divided into four types:
Integer
For most computers and controllers they are decimal numbers ranging from -32768 to
32768. For example:
FAULT? could return 110
Refer to the Error Codes table (Table 8) for more information on error codes.
Floating
Floating numbers have up to 15 significant figures and exponents. For example:
ZERO_MEAS returns 1.210000E-2, PSI
Character Response Data (CRD)
Data returned as keywords. For example:
PRES_UNIT? returns PSI, NONE, NONE
Indefinite ASCII (IAD)
Any ASCII characters followed by a terminator. For example:
*IDN? returns BETA, 301, 250, 1.00
10.4.4 Calibrator Status
Error Queue
If an error occurs due to invalid input or buffer overflow, its error code is sent to the error
queue. The error code can be read from the queue with the command FAULT?. The error
queue holds 15 error codes. When it is empty, FAULT? returns 0. The error queue is
cleared when power is reset or when the clear command *CLS is entered.
Input Buffer
Calibrator stores all received data in the input buffer. The buffer holds 250 characters. The
characters are processed on a first in, first out basis.
25