beautypg.com

Figure b-6. using status commands and queries, B.71 status:questionable[:event]? query, B.71 – KEPCO BIT 4886 Operator Manual User Manual

Page 87: Statu, Stat:ques

background image

BIT 4886 120413

B-19

FIGURE B-6. USING STATUS COMMANDS AND QUERIES

B.71 STATus:QUEStionable[:EVENt]? QUERY

STAT:QUES?

Syntax:

Short Form: STAT:QUES[EVEN]?

Long Form: STATus:QUEStionable[EVENT]?

Return Value: actual register value

Description: Indicates the latched condition of the Questionable Event register. Returns the value of the

Questionable Event register (see Table B-5). The Questionable Event register is a read-only register
which holds (latches) all events. Only bits 13 and 12 are latched in the Status Questionable Event reg-
ister. Bits 0 and 1 of the Status Questionable Condition Register are not latched in the power supply.
Reading the Questionable Event register clears it. (See example, Figure B-6.)

NOTES: 1. The power supply is assumed to be operating in Voltage mode.

2 Examples below are intended only to illustrate command functions. Refer to PAR. 4.1.2 for

programming techniques to optimize performance.

STAT:PRES

Operation Condition and Questionable Condition registers are
reset.

STAT:QUES:ENAB 12228

Allows latching of CE and VE bits.

STAT:OPER:ENAB 1280

Mask enabled for CC and CV bits.

STAT:OPER:ENAB?

Returns 1280 (256 + 1024) (CC and CV bits set).

INIT:CONT ON

Continuous triggers enabled.

STAT:OPER:COND?

Power supply returns 256 to indicate that power
supply is in Voltage mode.

STAT:OPER?

Returns 256, indicating that since the last reading of the
Operation Event Register the power supply has entered
Voltage mode.

STAT:OPER?

Returns 0 indicating no changes since previous reading of the
Operation Event register.

STAT:QUES?

Returns 0 (no questionable conditions occurred since previous
reading

--- OVERCURRENT CONDITION OCCURS

SYST:ERR?

Power supply returns 0,“No error” message.

*RST;:VOLT 5;CURR 1;OUTP ON

The BOP is in Voltage mode and delivering 5 Volts.

*ESR?

Bop returns a 0 - all functions are normal.

FUNC:MODE CURR

BOP is in Current mode but Limit Light is on.

*ESR?;STAT:QUES:COND?

BOP returns 8;4097 - Current error.

*ESR?;STAT:QUES?

BOP returns 0;4096 - no new errors, Current Error.

*ESR?;STAT:QUES?

BOP returns 0;0 - no new errors.

MEAS:CURR?;VOLT?

BOP returns 1.0E-4;5.00003E0 - Voltage is 5 volts.

STAT:QUES:COND?

BOP returns 4097 - error still in effect.

Short is applied to the BOP.

*ESR?:STAT:QUES:COND?

BOP returns 0;1 - Current mode is selected.

MEAS:VOLT?;CURR?

BOP returns.1E-4;1.00003E0 - Current is 1 amperes.

FUNC:MODE VOLT;*ESR?

BOP switches mode, returns 3 - settling.

*ESR?:;STAT:QUES?

BOP returns 8;8194.

Short is removed from the BOP output.

STAT:QUES:COND?

BOP returns 2, voltage mode operation OK.

TABLE B-5. QUESTIONABLE EVENT REGISTER, QUESTIONABLE CONDITION REGISTER

AND QUESTIONABLE CONDITION ENABLE REGISTER BITS

CONDITION

NU

CE

VE

NU

CM

VM

BIT

15-14

13

12

11 - 2

1

0

VALUE

32,768 -16,359

8192 4096

2048 - 4

2

1

CE

CURRENT ERROR

VE

VOLTAGE ERROR

CM CURRENT MODE
VM VOLTAGE MODE
NU

NOT USED