beautypg.com

GW Instek PST series Programming Manual User Manual

Page 24

background image

PST & PSS & PSH SERIES PROGRAMMABLE POWER SUPPLY

PROGRAMMER MANUAL

⎯ 45 ⎯

Queues

The output queue is included to power supplies.

Output Queue: The programmable power supplies store query responses
in the output queue by succeeding the IEEE 488.2 protocol. If the power
supply receives a new command or query message after a message
terminator, the power supply will clear and reset this queue each time.
The computer must read a query response before it sends the next
command (or query) or it loses response to earlier queries.

Error/Event Queues
When an error or event occurs, the output queue stores the message. The
output queue stores and reports the messages on a FIFO (first in first out)
state. The SYSTem:ERRor? query reads the next item from the output
queue. If output queue overflows, the error message is –350, “Queue

overflow”

; the queue can’t store or report succeeding messages till it

is read or cleared.

Error Message

Table 8 lists the SCPI error messages for the programmable power
supplies.

Table 8 The error messages for the power supplies

SCPI Error Code and Description

SESR Bit

0, “No error”
-100, “Command error”

5

-200, “Execution Error”

4

-221, “Settings conflict”

4

-221, “Settings conflict; Timer setting error”

4

-221, “Settings conflict; Overvoltage protection setting error”

4

-221, “Settings conflict; Voltage setting error”

4

PST & PSS & PSH SERIES PROGRAMMABLE POWER SUPPLY

PROGRAMMER MANUAL

⎯ 46 ⎯

-221, “Settings conflict; Current setting error”

4

-221, “Settings conflict; Recall setting error”

4

-221, “Settings conflict; Store setting error”

4

-222, “Data out of range”

4

-222, “Data out of range; Voltage too large”

4

-222, “Data out of range; Current too large”

4

-222, “Data out of range; Voltage too small”

4

-222, “Data out of range; Current too small”

4

-240, “Hardware Error”

4

-300, “Device-specific error”

3

-300, “Device-specific error; Overcurrent protection error”

3

-300, “Device-specific error; Overvoltage protection error”

3

-300, “Device-specific error; Overtemperature protection
error”

3

-300, “Device-specific error; Calibration current error”

3

-300, “Device-specific error; Calibration voltage error”

3

-300, “Device-specific error; Calibration overvoltage
protection error”

3

-310, “System error”

3

-313, “Calibration memory lost”

3

-330, “Self-test failed”

3

-330, “Self-test failed; CPU test error”

3

-330, “Self-test failed; RAM test error”

3

-330, “Self-test failed; ROM test error”

3

-330, “Self-test failed; DAC/ADC test error”

3

-350, “Queue overflow”

3

-410, “Query INTERRUPTED”

2

-420, “Query UNTERMINATED”

2

-430, “Query DEADLOCKED”

2

This manual is related to the following products: