B.58 [source:]function:mode? query, Figure b-5. programming voltage, B.59 status:operation:condition? query – KEPCO BHK-MG 40W (Half Rack) Series User Manual
Page 140: B.60 status:operation:enable command, B.58, Sourc, B.59, Stat, B.60, Gure b-5.)

B-14
BHK-MG 1/2 (OPR) 121313
B.58 [SOURce:]FUNCtion:MODE? QUERY
FUNC:MODE?
Syntax:
Short Form: FUNC:MODE?
Long Form: [SOURce:]FUNCtion:MODE?
Return Value: VOLT or CURR
Description: Identifies the operating mode of the power supply. VOLT = Constant Voltage mode (CV).
CURR = Constant Current mode (CC). (See example, Figure B-1.)
FIGURE B-5. PROGRAMMING VOLTAGE
B.59 STATus:OPERation:CONDition? QUERY
#$
STAT:OPER:COND?
Syntax:
Short Form: STAT:OPER:COND?
Long Form: STATus:OPERation:CONDition?
Return Value:
Description: Returns the value of the Operation Condition Register (see Table B-2). The Operation Condition
Register contains unlatched real-time information about the operating conditions of the power supply.
Bit set to 1 = function enabled (active, true); bit reset to 0 = function disabled (inactive, false). (See
example, Figure B-6.)
B.60 STATus:OPERation:ENABle COMMAND
STAT:OPER:ENAB
Syntax:
Short Form:
STAT:OPER:ENAB
Long Form:
STATus:OPERation:ENABle
Description: Sets Operation Enable Register. The Operation Enable Register is a mask for enabling specific bits
in the Operation Event Register which will cause the operation summary bit (bit 7) of the Status Byte
register to be set. Bit set to 1 = function enabled (active, true); bit reset to 0 = function disabled (inac-
tive, false). The operation summary bit is the logical OR of all the enabled bits in the Operation Event
register. (See example, Figure B-6.)
NOTES: 1. The power supply is assumed to be operating in constant voltage (CV) mode.
2 Examples below are typical (using BHK 1000-40MG), intended only to illustrate command
functions. Refer to PAR. 3.6 for programming techniques to optimize performance.
OUTP ON
Output enabled.
VOLT 218; CURR 1.1E-2 Power supply programmed to 218V, 0.011A.
VOLT 2.157E2
Power supply programmed to go to 215.7V.
VOLT?
Returns 2.157E2, indicating programmed voltage = 215.7V.
VOLT? MAX
For BHK 1000-40MG, returns 1000 (1000V).
VOLT? MIN
Returns 0 (minimum allowable voltage).
VOLT:PROT 2.365E+2
Voltage protection set to 236.5V.
VOLT?
Returns 2.157E+2, indicating programmed voltage value = 215.7V.
VOLT:PROT?
Returns 2.365E+2, (programmed overvoltage protection = 236.5V
VOLT:PROT? MAX
For BHK 1000-40MG, returns 1.1e+3 (1100V).
VOLT 221;CURR 1.1E-2 Power supply programmed to go to 221V, 0.011A.
VOLT?
Returns 221.
VOLT:LIM:HIGH 300
Voltage limit set to 300V.
VOLT:LIM:HIGH?
Returns 300.
VOLT 333
Power supply not programmed to 333V., error message -222 posted.
VOLT?
Returns 2.21e2.
TABLE B-2. OPERATION CONDITION REGISTER, OPERATION ENABLE REGISTER,
AND OPERATION EVENT REGISTER BITS
CONDITION
NU
CC
NU
CV
NU
WTG
NU
CAL
BIT
15-11
10
9
8
7 - 6
5
4 - 1
0
VALUE
32,768 -
2048
1024
512
256
128 - 64
32
16 -2
1
CAL - INTERFACE COMPUTING NEW CALIBRATION
CONSTANTS
CC -
POWER SUPPLY IN CONSTANT CURRENT MODE
CV -
POWER SUPPLY IN CONSTANT VOLTAGE MODE
NU -
NOT USED
WTG WAIT FOR TRIGGER (SET BY INIT SUBSYSTEM)