beautypg.com

Error codes – AMETEK ReFlex Programming Manual User Manual

Page 95

background image

AC Module Remote Programming

ReFlex Power™ Programming Manual

M380056-03 Rev L

91

4.4

ERROR CODES

The error codes exist in the range of [-32768, 32767]. SCPI reserves the
negative error codes and zero, while the error codes greater than zero and in the
range of -399 to -300 are defined as device-specific. The negative error codes in
the range of -499 to -100 are standardized errors that are reported in the
Standard Event Status Register and the Error/Event Queue. Issue the

SYSTem:ERRor?

query to read the error codes, which are stored in the

Error/Event Queue.

4.4.1

SCPI

E

RROR

C

ODES

The following error codes are defined by the SCPI Standard 1999.0, and are
supported by the ReFlex Power™ ACPS:

0, No error
The error queue is empty.

-102, Syntax error

An unrecognized command or data type was encountered.

-200, Execution error

This is a generic error when a specific error could not be identified. An execution
error could be the result of the following condition:

A command could not be executed due to the current operational condition.

-222, Range Error

A element being out-of-range; for example, programming 150V,
when the maximum allowed value is 135V.

-350, Queue overflow

The Error/Event Queue can contain up to 10 entries. If more than 10 error/event
conditions are logged before the SYSTem:ERRor? query, an overflow will occur;
the last queue entry will be overwritten with error -350. When the queue
overflows, the least recent error/event remains in the queue and the most recent
error/event is discarded.

NOTE: Some SCPI commands will generate replies as follows, which can be
viewed with the SYST:ERR? command: