B.90 system:communication:serial:prompt command, B.91 system:communication:serial:prompt? query, B.92 system:error[:next]? query – KEPCO KLP Series Developer's Guide, Rev 1 User Manual
Page 127: B.93 system:error:code[:next]? query, B.94 system:error:code:all? query, B.95 system:klock command, B.90, Syst, B.91, B.92

KLP 031113
B-21
B.90
SYST
em
:COMM
unication
:SER
ial
:PROM
pt
COMMAND
SYST:COMM:SER:PROM
[-1200 MODELS ONLY]
Syntax:
Short Form: SYST:COMM:SER:PROM {1 | 0} (1 = on, enabled, 0 = off, disabled)
Long Form: SYSTem:COMMunication:SERial:PROMpt {1 | 0} (1 = on, enabled, 0 = off, disabled)
Description: Enables (1 = ON) or disables (0 = OFF) prompt (see PAR. 8.2.2.2). When prompt is ON, causes the
unit to return > character after the command is parsed.
B.91
SYST
em
:COMM
unication
:SER
ial
:PROM
pt
? QUERY
SYST:COMM:SER:PROM?
[-1200 MODELS ONLY]
Syntax:
Short Form: SYST:COMM:SER:PROM?
Long Form: SYSTem:COMMunication:SERial:PROMpt?
Return Value:
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
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.)