B.58 status:operation:enable command, Figure b-6. using status commands and queries, B.59 status:operation:enable? query – KEPCO KLP Series (older -1200 models) Operator Manual User Manual
Page 101: B.60 status:operation[:event] query, B.58, Status:ope, B.59, B.60, B.58, b.59, B-6.)
KLP 073008
B-15
B.58 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.)
FIGURE B-6. USING STATUS COMMANDS AND QUERIES
B.59 STATus:OPERation:ENABle?
QUERY
STAT:OPER:ENAB?
Syntax:
Short Form: STAT:OPER:ENAB?
Long Form: STATus:OPERation:ENABle?
Return Value:
Description: Reads Operation Enable Register (see Table B-2). Returns value of Operation Enable Register
bits. 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[:EVENt] QUERY
STAT:OPER?
Syntax:
Short Form: STAT:OPER[:EVEN]?
Long Form: STATus:OPERation[:EVENt]?
Return Value:
Description: Indicates changes in conditions monitored by Operational Event Register. Returns the value of
the Operation Event register. The Operation Event register is a read-only register which holds
(latches) all events that occur. Reading the Operation Event register clears it. (See example, Figure B-
6.)
NOTE: The power supply is assumed to be operating in cV (constant voltage) mode.
STAT:OPER:ENAB 1056
Mask enabled for CC, WTG and bits.
STAT:OPER:ENAB?
Returns 1056 (32 + 1024) (CC, WTG bits set).
STAT:QUES:ENAB 3
Mask enabled for OV and OC bits (1 + 2).
STAT:QUES:ENAB?
Returns 3 (1 + 2) indicating OV and OC bits are enabled.
STAT:PRES
Operation Condition and Questionable Condition registers are
reset.
INIT CONT ON
Continuous triggers enabled.
STAT:OPER:COND?
Power supply returns 288 (256 + 32) to indicate that power
supply is constant voltage mode and Wait For Trigger is true.
STAT:OPER?
Returns 1057, e.g., indicating that since the last reading of the
Operation Event Register the power supply has entered Con-
stant Current mode, the Wait Trigger was set.
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
VOLT:PROT 6.5
Voltage protection set to 6.5V.
OUTP ON
Power supply output is on, unit provides 0 Volts
VOLT 50
Power supply output voltage programmed to go to 50 Volts
STAT:QUES?
Returns 1 (overvoltage protection error detected)
STAT:QUES?
Returns 0 (prior read cleared register).
STAT:QUES:COND?
Returns 0 (power supply no longer in overvoltage condition).
SYST:ERR?
Returns 0,"No error" message.
OUTP?
Returns 0 (output was set to off when overvoltage protection error
detected).