B.96 system:klock? query, B.97 system:language command, Figure b-7. using system commands and queries – KEPCO KLP Series Developer's Guide, Rev 1 User Manual
Page 128: B.98 system:language? query, B.99 system:password:cenable command, B.96, Syst, B.97, B.98, B.99

B-22
KLP 031113
B.96 SYSTem:KLOCk? QUERY
SYST:KLOC?
Syntax:
Short Form: SYST:KLOC?
Long Form: SYSTem:KLOCk?
Return Value: 0 or 1 (1 = on, locked, 0 = off, unlocked)
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-7.)
B.97 SYSTem:LANGuage COMMAND
SYST:LANG
Syntax:
Short Form: SYST:LANG {COMP | SCPI}
Long Form: SYSTem:LANGuage {COMP | SCPI}
Description:Determines whether unit responds to older command formats. SYST:LANG SCPI is
the factory default setting. SYST:LANG COMP allows Kepco power supplies to respond to older for-
mats such as LIST:TIME for compatible operation with software written for earlier firmware, however
this is not applicable to KLP.
FIGURE B-7. USING SYSTEM COMMANDS AND QUERIES
B.98 SYSTem:LANGuage? QUERY
SYST:LANG?
Syntax:
Short Form: SYST:LANG?
Long Form: SYSTem:LANGuage?
Return Value:
Description: Identifies whether unit responds to older command formats. SCPI means the unit will not respond
to older formats such as LIST:TIME. COMP means the unit will respond to older formats such as
LIST:TIME for compatible operation with software written for KLP power supplies up to Revision 1
B.99 SYSTem:PASSword:CENable COMMAND
SYST:PASS:CEN
Syntax:
Short Form: SYST:PASS:CEN
Long Form: SYSTem:PASSword:CENable
Description: Sets the password enable state if the value matches the current password. This command allows
other commands such as the CAL commands to operate. Table B-4 shows the factory default calibra-
tionpasswords.
NOTE: The following examples are generic to all models, assuming factory default settings.
SYST:VERS?
Returns xxxx.v (SCPI version number, i.e. 2003.0).
SYST:SET?
Returns DC0, STR, KL0, LF0, L100, M40, SCP
SYST:KLOC ON
Locks out local (front panel) controls; only remote control is possible.
SYST:KLOC?
Returns 1, indicating local lockout enabled.
SYST:KLOC OFF
Disables local lockout; see PAR. B.95 for instructions on reverting to
local control.
SYST:PASS:CEN xxxx
Enables access to protected commands assuming password (xxxx)
matches.
SYST:PASS:STAT?
Returns 1 indicating protected access is enabled.
SYST:PASS:CDIS
xxxx
Disables access to protected commands assuming password
matches.
SYST:PASS:STAT?
Returns 0 indicating protected access is disabled.
SYST:PASS:NEW xxxx,yyyy
Resets password to new value (yyyy) assuming present value (xxxx)
matches.
SYST:ERR?
Returns error messages from instrument error queue sequentially
using the format -xxx,"_____" where -xxx is the error code and
"______" is the ASCII definition string (see Table B-5 and PAR.
B.92). Returns 0,"No error" when queue is empty.
SYST:ERR:CODE?
Returns error messages from instrument error queue sequentially
using-xxx error code only (no ASCII definition string).
SYST:ERR:CODE:ALL?
Returns comma-separated list of all stored error messages (maximum
of 15).