beautypg.com

Figure b-10. using status commands and queries, B.120 status:questionable:enable? query, B.121 system:beep command – KEPCO BOP 1KW-MG Operator Manual, Firmware Ver.3.05 to 4.07 User Manual

Page 185: B.120, Stat, B.121, Syst, Stat:ques:enab, Syst:beep

background image

BOP-1K 031912

B-31

FIGURE B-10. USING STATUS COMMANDS AND QUERIES

B.120 STATus:questionable:ENABle? QUERY

STAT:QUES:ENAB?

Syntax:

Short Form: STAT:QUES:ENAB? Long Form: STATus:QUESionable:ENABle?
Return Value: actual register value

Description: Reads Questionable Condition Enable Register (see Table B-4). Power supply returns value of

Questionable Condition Enable Register, indicating which conditions are being monitored. Bit set to 1
= function enabled (active, true); bit reset to 0 = function disabled (inactive, false)

.

Related Com-

mands: STAT:QUES?. (See example, Figure B-10.)

B.121 SYSTem:BEEP COMMAND

SYST:BEEP

Syntax:

Short Form: SYST:BEEP

Long Form: SYSTem:BEEP

Description:Causes the unit to emit a brief audible tone

NOTES: 1. The power supply is assumed to be operating in constant voltage (CV) mode.

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

programming techniques to optimize performance.

OUTP:ON

Sets output on.

STAT:PRES

Operation Condition and Questionable Condition registers are
reset.

*CLS

Resets Enable Amplifier

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 constant voltage mode.

FUNC:MODE:CURR

Commands power supply to current mode.

STAT:OPER?

Returns 1024, indicating that since the last reading
of the Operation Event Register the power supply has entered
Constant Current 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

*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.