6 error messages, Error messages, Remote interface reference – American Magnetics 187 Self-Compensating Liquid Level Controller User Manual
Page 58

47
Remote Interface Reference
Error Messages
1,”INCHES”
is returned if the remote units are inches.
2,”CM”
is returned if the remote units are centimeters.
W
PERCent
Sets the remote units to percent.
W
INches
Sets the remote units to inches.
W
CM
Sets the remote units to centimeters.
4.6 Error Messages
If an error occurs, the Model 187 will beep, load the internal error buffer
with the error code and description, and set the appropriate bits in the
standard event and status byte registers if enabled by the user. Error
codes are returned with a negative 3 digit integer, then a comma, and then
a description enclosed in double quotes.
Use the
SYSTem:ERRor?
query to retrieve the errors in first-in-first-out
(FIFO) order. Errors are removed from the internal error buffer as they
are read. The Model 187 can store up to 10 errors.
If more than 10 errors have occurred, the last error stored in the internal
error buffer is replaced with
-304,"Error buffer overflow"
. No
additional errors are stored until you have cleared at least one error from
the buffer. If no errors have occurred and the
SYSTem:ERRor?
query is
sent to the Model 187, the instrument will return:
0,"No errors"
Error strings may contain up to 80 characters. Errors are classified in the
following categories: command errors, query errors, execution errors, and
device errors. Each category corresponds to the identically named bit in the
standard event register (see page 31). If an error occurs in any one of the
categories, the corresponding bit in the standard event register is set and
remains set until cleared by the user.