beautypg.com

B.58 status:operation:condition? query, B.59 status:operation:enable command, B.60 status:operation:enable? query – KEPCO KLP Series Developers Guide, Rev 3 User Manual

Page 122: B.61 status:operation[:event]? query, B.62 status:preset command, B.58, Stat, B.59, B.60, B.61

background image

B-16

KLP 041213

B.58 STATus:OPERation:CONDition? QUERY

STAT:OPER:COND?

Syntax:

Short Form: STAT:OPER:COND?

Long Form: STATus:OPERation:CONDition?

Return Value: 0 to 1313 (1 + 32 + 256 + 1024).

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.59 STATus:OPERation:ENABle COMMAND

STAT:OPER:ENAB

Syntax:

Short Form:STAT:OPER:ENAB 0 to 1313 (1 + 32 + 256 + 1024)
Long Form:STATus:OPERation:ENABle 0 to 1313 (1 + 32 + 256 + 1024)

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

B.60 STATus:OPERation:ENABle? QUERY

STAT:OPER:ENAB?

Syntax:

Short Form: STAT:OPER:ENAB?

Long Form: STATus:OPERation:ENABle?

Return Value: 0 to 1313 (1 + 32 + 256 + 1024).

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

examp

le, Figure B-6.)

B.61 STATus:OPERation[:EVENt]? QUERY

STAT:OPER?

Syntax:

Short Form: STAT:OPER[:EVEN]?

Long Form: STATus:OPERation[:EVENt]?

Return Value: 0 to 1313 (1 + 32 + 256 + 1024).

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

B.62 STATus:PRESet COMMAND

STAT:PRES

Syntax:

Short Form: STAT:PRES

Long Form: STATus:PRESet

Description: Disables reporting of all status events. This command sets all bits of the Operation Condition

(Table B-2) and Questionable Condition Enable Registers to 0, preventing all status events from being
reported. (See example, Figure B-6.)

TABLE B-2. OPERATION CONDITION REGISTER, OPERATION ENABLE REGISTER,

AND OPERATION EVENT REGISTER BITS

CONDITION

NU

PR

NU

CC

NU

CV

NU

WTG

NU

CAL

BIT

15

14

11-13

10

9

8

7 - 6

5

4 - 1

0

VALUE

32,768 16,384

2048 -

8192

1024 512

256

128
- 64

32

16 -

2

1

CAL - POWER SUPPLY IN CALIBRATION MODE
CC -

POWER SUPPLY IN CONSTANT CURRENT
MODE

CV -

POWER SUPPLY IN CONSTANT VOLTAGE
MODE

NU -

NOT USED

PR -

PROGRAM RUNNING

WTG - WAIT FOR TRIGGER (SET BY TRIG

SUBSYSTEM)