B.25 system:error? query, Table b-4. error messages, B.26 system:language command – KEPCO BIT 4882F User Manual
Page 49: B.27 system:version query, Figure b-3. using system commands and queries, B.25, B.26, B.27, H b.25, arr, Syst:err

BIT 4882 030507
B-7/(B-8Blank)
B.25 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 errors are accumulated than the queue can hold, 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.26 SYSTem:LANGuage COMMAND
SYST:LANG
Syntax:
Short Form: SYST:LANG
Long Form: SYSTem:LANGuage
Description:
Allows CIIL command language (see Appendix C) to be used to program the power supply.
(CIIL is included to provide compatibility with earlier Kepco equipment.) Once CIIL is selected, the
CIIL command ‘GAL’ followed by the command ‘SCPI’ must be sent for the power supply to respond to
SCPI commands (with the exception of this command, SYST:LANG, which is always active).
B.27
SYSTem:VERSion
QUERY
SYST:VERS?
Syntax:
Short Form: SYST:VERS?
Long Form: SYSTem:VERSion?
Return Value:
Description: Identifies SCPI Version implemented. Returns SCPI Version number:
YYYY = year, V = Revision number for specified year. (See example, Figure B-3.)
FIGURE B-3. USING SYSTEM COMMANDS AND QUERIES
TABLE B-4. ERROR MESSAGES
ERROR MESSAGE
EXPLANATION
0,“No error”
No error
-100,“Command error”
Command and data understood, but more information included which is not
recognized.
-222,“Data [current or voltage] out of range”
Value exceeds power supply rating
-240,“Hardware error”
Power supply did not respond to command
SYST:VERS
Returns 1998.0.
SYST:KLOC ON
keypad locked, only remote control possible.
SYST:KLOC?
Returns 1 indicating keypad locked.
SYST:KLOC OFF
keypad unlocked, pressing LOCAL key allows Local mode
operation.
SYST:KLOC?
Returns 0 indicating keypad unlocked.