B.46 system:error[:next]? query, B.47 system:error:code? query, B.48 system:error:code:all? query – KEPCO TMA 4882-27 User Manual
Page 64: B.49 system:language command, B.50 system:set command, B.51 system:version? query, B.46, Syst, B.47, B.48

B-12
TMA4882-27 021910
B.46 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-6.
B.47 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-6 (See example, Figure B-3.)
B.48 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. The error codes are defined in table B-6
B.49 SYSTem:LANGuage COMMAND
SYST:LANG
Syntax:
Short Form: SYST:LANG CIIL
Long Form: SYSTem:LANGuage CIIL
Description: This command allows the CIIL command language 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.
B.50 SYSTem:SET COMMAND
SYST:SET
Syntax:
Short Form: SYSTem:SET {CM0 | CM1}
Long Form: SYSTem:SET {CM0 | CM1}
Description: Sending SYST:SET CM1 sets the unit to operate in compatible mode and have all GPIB functions
compatible with software version 1.2 and lower units. Sending SYST:SET CM0 sets the unit to be fully
SCPI 1997 compliant.
B.51 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 (e.g 1997,0.).