beautypg.com

B.91 system:communication:serial:prompt? query, B.92 system:error[:next]? query, B.93 system:error:code[:next]? query – KEPCO KLP Series Developers Guide, Rev 3 User Manual

Page 128: B.94 system:error:code:all? query, B.95 system:klock command, B.96 system:klock? query, B.91, Syst, B.92, B.93

background image

B-22

KLP 041213

B.91

SYST

em

:COMM

unication

:SER

ial

:PROM

pt

? QUERY

SYST:COMM:SER:PROM?

[STANDARD MODELS ONLY]

Syntax:

Short Form: SYST:COMM:SER:PROM?
Long Form: SYSTem:COMMunication:SERial:PROMpt?
Return Value: (01

H

= on, enabled or 00

H

= off, disabled)

Description: Indicates whether prompt is enabled (01

H

= ON) or disabled (00

H

= OFF) (see PAR. 8.2.2.2).

B.92 SYSTem:ERRor[:NEXT]? QUERY

SYST:ERR?

Syntax:

Short Form: SYST:ERR[:NEXT]?

Long Form: SYSTem:ERRor[:NEXT]?

Return Value:

Description: Posts error messages to the output queue. Returns the next error number followed by its corre-

sponding error message string from the instrument error queue. The error queue is a FIFO (first in first
out) buffer that stores errors as they occur. As it is read, each error is removed from the queue and the
next error message is made available. When all errors have been read, the query returns 0,”No error”.
If more than 15 errors are accumulated, it will overflow. The oldest errors stay in the queue but the
most recent errors are discarded. The last error in the queue will be -350,”Too many errors.” Error
messages are defined in Table B-5.

B.93 SYSTem:ERRor:CODE[:NEXT]? QUERY

SYST:ERR:CODE?

Syntax:

Short Form: SYST:ERR:CODE[:NEXT]?]

Long Form: SYSTem:ERRor:CODE[:NEXT]?

Return Value: nnn (nnn = 3 character error code)

Description: Returns the three character error code without the ASCII definition string. The error codes are defined

in table B-5 (See example, Figure B-1.)

B.94 SYSTem:ERRor:CODE:ALL? QUERY

SYST:ERR:CODE:ALL?

Syntax:

Short Form: SYST:ERR:CODE:ALL?]

Long Form: SYSTem:ERRor:CODE:ALL?

Return Value: comma-separated list of all error codes

Description: Returns a comma-separated list of all error codes. A maximum of 15 codes will be returned; if the

queue is empty, the power supply returns 0.

B.95 SYSTem:KLOCk COMMAND

SYST:KLOC

Syntax:

Short Form: SYST:KLOC {1 | 0} (1 = on, locked, 0 = off, unlocked)
Long Form: SYSTem:KLOCk {1 | 0} (1 = on, locked, 0 = off, unlocked)

Description: Locks (ON or 1) or unlocks (OFF or 0) the front panel controls. When set to OFF, local lockout is

disabled and the power supply enters Remote mode as soon as a command or query is received.
Once in Remote mode (with local lockout disabled) the front panel controls are disabled with the
exception that local mode can be restored by pressing the VOLTAGE and CURRENT adjustment
knobs at the same time.

After sending a SYST:KLOC ON (local lockout enabled) command, all front panel controls (including
pressing VOLTAGE and CURRENT adjustment knobs at the same time to return to local mode) are
disabled. The power supply is now in the “local lockout” state and the status display reads

dRwl

.

Local lockout can also be entered by sending the GPIB code (hex 11) to the power supply. The
power supply remains in “local lockout” until a SYST:KLOC OFF command is received or the power
supply is turned off, ANALOG I/O DIP switch position 5 is set to OFF, and then the power supply is
turned on again. Related Commands: SYST:KLOCK?. (See example, Figure B-7.)

B.96 SYSTem:KLOCk? QUERY

SYST:KLOC?

Syntax:

Short Form: SYST:KLOC?

Long Form: SYSTem:KLOCk?

Return Value: 0 or 1 (1 = on, locked, 0 = off, unlocked)

Description: Identifies whether keypad is locked or unlocked. 0 = keypad unlocked, local operation possible by

pressing LOCAL key. 1 = keypad locked, LOCAL key disabled, only remote operation possible.
Related Commands: SYST:KLOCK. (See example, Figure B-7.)