beautypg.com

B.87 system:communication:serial:prompt? query, B.88 system:error[:next]? query, B.89 system:error:code? query – KEPCO ABC-DM SERIES User Manual

Page 90: B.90 system:error:code:all? query, B.91 system:klock command, B.92 system:klock? query, B.87, B.88, B.89, B.90

background image

B-20

ABC 040104

B.87

SYSTem:COMMunication:SERial:PROMpt?

QUERY

SYST:COMM:SER:PROM?

Syntax:

Short Form: SYST:COMM:SER:PROM {ON | OFF}
Long Form: SYSTem:COMMunication:SERial:PROMpt {ON | OFF}
Return Value: {ON | OFF}

Description: Identifies whether prompt is enabled (ON) or disabled (OFF) prompt (see PAR. 3.6.3.2).

B.88

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

B.89

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.) The error bits defined in PAR A.3 through A.5 are related to
these error codes produced during parsing of messages and also to errors in the power supply as indi-
cated in Table B-4.

B.90

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

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

B.92

SYSTem:KLOCk?

QUERY

SYST:KLOC?

Syntax:

Short Form: SYST:KLOC?

Long Form: SYSTem:KLOCk?

Return Value: 0 or 1

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