6 error messages, 1 command errors, Section 4.6 for a com – American Magnetics 4Q1010PS-430 Integrated Power Supply System User Manual

Page 148: Remote interface reference

Advertising
background image

130

Rev. 5

Remote Interface Reference

Error Messages

4.6 Error Messages

If an error occurs, the Model 430 Programmer 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 430 Programmer 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 430 Programmer, 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 section 4.2.3). 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.

4.6.1

Command Errors

-101,”Unrecognized command”

The command string sent was not identified as valid. Check the command

string for invalid characters or separators, syntax errors, or for errors in

the mnemonics. Spaces are not allowed before or after colon separators,

and at least one space must separate a command string from the

parameter(s).

-102,”Invalid argument”

The argument provided as a parameter for the command was invalid.

Value arguments must be of the following form:

an optional plus or minus sign,

a sequence of decimal digits, possibly containing a single decimal

point, and

an optional exponent part, consisting of the letter

e

or

E

, an optional

sign, and a sequence of decimal digits.

Enable_value arguments must be within the inclusive range of 0 to 255.

Advertising