Martel Electronics DPC300A User Manual

Page 31

Advertising
background image

29

• Data is taken as 7-bit ASCII
• The most significant data bit is ignored.
• Upper or lower case is acceptable.

6.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:

VAL? returns 5.830000E01,PSI,0.000000E00,PSI,0.000000E+00,A


Character Response Data (CRD)
Data returned as keywords. For example:

PRES_UNIT? returns BAR,BAR,PSI

Indefinite ASCII (IAD)
Any ASCII characters followed by a terminator. For example:

*IDN? returns MARTEL, DPC-300A, 250, 1.00

6.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.

29

Advertising