beautypg.com

B.78 system:communication:serial:prompt? query, B.79 system:error? query, B.80 system:error:code? query – KEPCO BHK-MG 40W (Half Rack) Series User Manual

Page 144: B.81 system:error:code:all? query, B.82 system:klock command, B.83 system:klock? query, B.78, System:com, B.79, System:error

background image

B-18

BHK-MG 1/2 (OPR) 121313

Description: Enables (1 or ON) or disables (0 or OFF) prompt (see PAR. 3.5.3.2). Sending 1 or ON causes the

unit to return > character after the command is parsed. (See PAR. 3.3.5.2 and Figure 3-2 for special
programming considerations.)

B.78

SYSTem:COMMunication:SERial:PROMpt?

QUERY

SYST:COMM:SER:PROM?

Syntax:

Short Form: SYST:COMM:SER:PROM?
Long Form: SYSTem:COMMunication:SERial:PROMpt?
Return Value: {1 | 0}

Description: Returns 1 when prompt is enabled (ON) or 0 when disabled (OFF). (See PAR. 3.5.3.2.)

B.79 SYSTem:ERRor? QUERY

SYST:ERR?

Syntax:

Short Form: SYST:ERR?

Long Form: SYSTem:ERRor?

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

B.80 SYSTem:ERRor:CODE? QUERY

SYST:ERR:CODE?

Syntax:

Short Form: SYST:ERR:CODE?]

Long Form: SYSTem:ERRor:CODE?

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

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

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

SYST:ERR:CODE:ALL?

Syntax:

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

Long Form: SYSTem:ERRor:CODE:ALL?

Return Value:

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.82 SYSTem:KLOCk COMMAND

SYST:KLOC

Syntax:

Short Form: SYST:KLOC

Long Form: SYSTem:KLOCk

(0 or OFF, 1 or ON)

Description: Locks (ON or 1) or unlocks (OFF or 0) the keypad. With the keypad unlocked the power supply

enters Remote mode as soon as a command or query is received. Once in Remote mode (with key-
pad unlocked) the front panel keys are disabled with the exception of the LOCAL key, which is used to
return to Local mode.

After sending a SYST:KLOC ON (keypad lock) command, all front panel keys, including LOCAL, are
disabled. The power supply is now in the “local lockout” state and the LCD changes from

Loc

to

Rwl

.

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. Related Com-
mands: SYST:KLOCK?. (See example, Figure B-7.)

B.83 SYSTem:KLOCk? QUERY

SYST:KLOC?

Syntax:

Short Form: SYST:KLOC?

Long Form: SYSTem:KLOCk?

Return Value: 0 or 1