/

Keithley

/

Keithley 2260B-80-40

SCPI COMMAND REFERENCE

Keithley 2260B-80-40

Keithley 2260B-80-40

The Keithley 2260B-80-40 is Keithley's power supply in the Series 2260B family. Its SCPI remote-control interface exposes 72 commands across 11 subsystems - 53 settable and 19 queries - and every command is documented here with its parameters, accepted values, return format, and a copy-paste PyVISA example for automating test and measurement.

72

Commands

53

Settable

19

Queries

11

Subsystems

SCPI

1999.0

Verified

2026-07-16

All commands

Selects a screen menu or queries the present screen menu.

NameTypeValuesDescription
<NR1>integer0 - 199Menu number to display.
integer - Returns the present screen menu as a menu number.
:DISP:MENU:NAME 0

Sets or queries text for a display message. Writing to the display overwrites the data presently on the screen.

NameTypeValuesDescription
stringstring-ASCII text to display, enclosed in single or double quotes.
string - Returns the text data string.
:DISP:WIND:TEXT:DATA 'Test 2'
:DISP:WIND:TEXT:DATA?

Makes a measurement and returns the average output current in amperes.

real (A) - Average output current in amperes.
:MEAS:CURR?

Makes a measurement and returns the average output power in watts.

real (W) - Returns the average output power in watts.
:MEAS:POW?

:APPLyset / query

Sets the output voltage and current. The updated values are not reflected on the display until the output is turned on or the set menu command is sent.

NameTypeValuesDescription
voltagereal0% - 105%Voltage level to apply.
currentreal0% - 105%Current level to apply.
qualifieroptenumMIN | MAXAllows setting the voltage or current to the minimum or maximum allowed value.
APPL 5.05,1.1
APPL?

Sets the delay time before the output is turned off. A value of 0 results in no delay.

NameTypeValuesDescription
delay timereal0.00 - 99.99Delay time in seconds.
:OUTP:DEL:OFF 1 Set a delay of 1 second before turning the output off.
:OUTPut:DELay:ONset / query

Sets the delay time before the output is turned on.

NameTypeValuesDescription
delay timereal0.00 - 99.99Delay time in seconds.
:OUTP:DEL:ON 1
:OUTPut:MODEset / query

Selects high speed priority or slew rate priority for CV or CC mode. This is the equivalent to the F-03 (V-I priority) setting.

NameTypeValuesDescription
modeinteger0 - 3The output mode: CV high speed priority (0 or CVHS), CC high speed priority (1 or CCHS), CV slew rate priority (2 or CVLS), or CC slew rate priority (3 or CCLS).
integer - Returns the output mode as an NRf value. 0 = CV high speed priority, 1 = CC high speed priority, 2 = CV slew rate priority, and 3 = CC slew rate priority.
:OUTP:MODE 1

Clears the 2260B protection circuits, including OVP, OCP, OTP, and shutdown protection. AC failure protection cannot be cleared.

:OUTP:PROT:CLE

Returns the state of the protection circuits. If the protection circuits are not tripped, this query returns 0; if they are tripped, it returns 1.

enum - 0 if the protection circuits are not tripped; 1 if the protection circuits are tripped.
:OUTP:PROT:TRIP?

Turns the output on or off when a software trigger is generated.

NameTypeValuesDescription
stateenumOFF | 0 | ON | 1Sets whether the source output is turned off or on when a software trigger is generated.
enum - Returns the output trigger response state. 0 means the source is turned off when a software trigger is generated; 1 means it is turned on.
:OUTP:TRIG ON

Enables or disables the source output.

NameTypeValuesDescription
stateenumOFF | 0 | ON | 1Turns the source output off or on.
enum - Returns the present output state.
:OUTP ON

Sets or queries the average-setting smoothing level. The level can be Low, Middle, or High.

NameTypeValuesDescription
valueenumLOW | MIDDle | HIGHThe level of smoothing.
enum - Returns the current smoothing level.
SENS:AVER:COUNT MIDD

Reads the Operation Status register of the status model. It returns the bit sum of the Operation Condition register and does not clear the register.

integer - Returns the bit sum of the Operation Condition register.
:STAT:OPER:COND?

Sets or reads the bit sum of the Operation Status Enable register of the status model.

NameTypeValuesDescription
ninteger0 - 32767The status of the Operation Status Enable register.
integer - Returns the bit sum of the Operation Status Enable register.

Sets or queries the bit sum of the negative transition filter of the Operation Status register.

NameTypeValuesDescription
NRfinteger0 - 32767The bit sum.

Sets or queries the bit sum of the positive transition filter of the Operation Status register.

NameTypeValuesDescription
NRfinteger0 - 32767The bit sum.

Reads and clears the Operation Event Register of the status model. The instrument returns a decimal value corresponding to the binary-weighted sum of all bits set in the register.

integer - Decimal value corresponding to the binary-weighted sum of all bits set in the Operation Event Register.
:STATus:PRESetset / query

Returns the status registers to their default conditions. It resets the Enable register and the PTRansition and NTRansition filters in the Operation Status and Questionable Status registers.

Reads the Questionable Status register of the status model. This query does not clear the register.

integer - Returns the Questionable Status register value.

Sets or reads the bit sum of the Questionable Status Enable register of the status model.

NameTypeValuesDescription
ninteger0 - 32767The status of the Questionable Status Enable register.

Sets or queries the bit sum of the negative transition filter of the Questionable Status register.

NameTypeValuesDescription
NRfinteger0 - 32767The bit sum.

Sets or queries the bit sum of the positive transition filter of the Questionable Status register.

NameTypeValuesDescription
NRfinteger0 - 32767The bit sum.

Enables or disables LAN, GPIB, or USB remote interfaces and remote services such as Sockets and Web Server. The setting is applied after the power cycle.

NameTypeValuesDescription
modeenumON | 1 | OFF | 0 | FULL | 2Turns the selected interface on, off, or sets USB to full speed.
interfaceenumGPIB | USB | LAN | SOCKets | WEBSelects the interface to be enabled or disabled.
enum - Returns the enable state of the selected interface as 1 when USB is on and autodetected; other returned values are not documented in the slice.
:SYST:COMM:ENAB 1, USB Turns the USB interface on. USB speed is autodetected.
:SYST:COMM:ENAB? USB The return from the query is 1 (USB is on and autodetected).
:SYST:COMM:ENAB 2, USB Turns the USB interface on. USB speed is full speed only.

Sets or queries the GPIB address. The setting is applied after the power is cycled.

NameTypeValuesDescription
NR1integer0 - 30The GPIB address.
integer - Returns the GPIB address.
SYST:COMM:GPIB:ADDR 15

Turns DHCP on or off for LAN communication. The setting is applied after the power is cycled.

NameTypeValuesDescription
stateenumOFF | 0 | ON | 1Turns DHCP off or on.
enum - Returns the current DHCP state.
SYST:COMM:LAN:DHCP 1
SYST:COMM:LAN:DHCP?

Sets or queries the LAN gateway address for the instrument. The setting is saved in nonvolatile memory and is applied after the power is cycled.

NameTypeValuesDescription
stringstring-Gateway address in string format; each part of the address is 0 to 255 and applicable ASCII characters are 20H to 7EH.
string - Returns the LAN gateway address in string format.
:SYST:COMM:LAN:GATE "172.16.0.254"

Sets or queries the LAN IP address for the instrument. The setting is applied after the power is cycled.

NameTypeValuesDescription
addressstring-LAN IP address in string format; each part is 0 to 255 and applicable ASCII characters are 20H to 7EH.
string - Returns the LAN IP address in string format.
SYST:COMM:LAN:IPAD "172.16.5.111"

Sets or queries the LAN subnet mask for the instrument. The setting is saved in nonvolatile memory and is applied after the power is cycled.

NameTypeValuesDescription
stringstring-Subnet mask in string format; each part of the address is 0 to 255.
string - Returns the LAN subnet mask in string format.
:SYST:COMM:LAN:SMAS "255.255.0.0"

Sets or queries whether the web password is on or off. The setting is applied after the power is cycled.

NameTypeValuesDescription
stateenumOFF | 0 | ON | 1Web password state.
enum - Returns the current web password state.
:SYST:COMM:LAN:WEB:PACT 0

Sets or queries the web password. The setting is saved in nonvolatile memory and is applied after the power is cycled.

NameTypeValuesDescription
NR1integer0000 - 9999The web password.
:SYST:COMM:LAN:WEB:PASS 1234

Sets or queries the DNS address. The setting is applied after the power is cycled.

NameTypeValuesDescription
stringstring-DNS address in string format; each part is 0 to 255 and applicable ASCII characters are 20H to 7EH.
string - Returns the DNS address in string format.
SYST:COMM:LAN:DNS "172.16.1.252"

Queries the LAN host name. The return is the host name in string format.

string - Returns the host name in string format.
:SYST:COMM:LAN:HOST?

Queries the LAN MAC address. The MAC address is returned as a hexadecimal character string in the format "FF-FF-FF-FF-FF-FF" and cannot be changed.

string - Returns the instrument MAC address as a hexadecimal character string in the format "FF-FF-FF-FF-FF-FF".
:SYST:COMM:LAN:MAC? Returns the MAC address. For example, you might see:
02-80-AD-20-31-B1

Queries the front-panel USB-A port state. The response indicates whether a USB drive is absent or present in the port.

enum - Returns the front-panel USB-A port state: 0 for Absent, 1 for Present.
:SYST:COMM:USB:FRON:STAT?

Queries the rear-panel USB-B port state. The response indicates whether the port is disabled, connected to a GPIB-USB adapter, or in USB CDC mode.

enum - Returns the rear-panel USB-B port state.
:SYST:COMM:USB:REAR:STAT? Example if a GPIB adapter is attached: 1

Turns the beeper on or off.

NameTypeValuesDescription
stateenumOFF | 0 | ON | 1The status of the beeper.
enum - Returns the beeper status.
:SYST:CONF:BEEP 0 Set the beeper to off.

Enables or disables the bleed resistor. AUTO turns the bleed resistor on with output-on and off with output-off, and is only applicable to firmware version 1.59 or above.

NameTypeValuesDescription
stateenumOFF | 0 | ON | 1 | AUTO | 2The status of the bleed resistor.
enum - Returns the present bleed resistor state.
:SYSTem:CONFigure:BLEeder[:STATe] <state>
:SYSTem:CONFigure:BLEeder[:STATe]?

Enables or disables power-off trip behavior when OVP, OCP, or OTP is tripped. The setting only takes effect after power has been cycled.

NameTypeValuesDescription
stateenumDISable | ENABle | 0 | 1Disable or enable the power switch trip for OVP, OCP, or OTP.
enum - Returns the current power switch trip setting.
:SYST:CONF:BTR:PROT DIS Switch the power off when a protection setting is tripped.

This command turns the power switch off immediately. The ability to do so is not available on all models; if the power switch is not present, the command is ignored.

Sets or queries the CC control mode. The mode selects local control, external voltage control, or external resistance control.

NameTypeValuesDescription
settingenum0 | 1 | 2 | 3The CC control mode.
enum - Returns the present CC control mode.

Sets or queries the instrument operation mode. The setting is applied only after power has been cycled.

NameTypeValuesDescription
settinginteger0 - 4The operation mode: 0 Master/Local control, 1 Master/Parallel 1 (2 units), 2 Master/Parallel 2 (3 units), 3 Subordinate/Parallel, 4 Subordinate/Series (only 30 V and 80 V models).
integer - Returns the current operation mode: 0 Master/Local control, 1 Master/Parallel 1 (2 units), 2 Master/Parallel 2 (3 units), 3 Subordinate/Parallel, or 4 Subordinate/Series (only 30 V and 80 V models).
:SYST:CONF:MSL 1

Sets the external output logic to active high or active low. The setting is applied after the power is cycled.

NameTypeValuesDescription
stateenumHIGH | 0 | LOW | 1Selects the external logic polarity: active high or active low.
enum - Returns the current external logic setting as HIGH or LOW, or as 0 or 1.
:SYST:CONF:OUTP:EXT 0 Set the external logic to active high.

Sets whether the output is turned on or off at power-up. The setting is applied after the power is cycled.

NameTypeValuesDescription
stateenumOFF | 0 | ON | 1Output state at power-up.
enum - Returns the output state at power-up.
:SYST:CONF:OUTP:PON 0 Set the output off at power-up.

Sets or queries the CV control mode: local panel control, external voltage control, or external resistance control. The setting is applied only after power has been cycled.

NameTypeValuesDescription
settingenum0 | 1 | 2 | 3The CV control mode: local control, external voltage control, external resistance control increasing, or external resistance control decreasing.
string - The last error message is returned and cleared. A maximum of 16 errors are stored in the error queue; the return is an error code followed by an error message as a string.
:SYST:CONF:CURR:CONT 1 Set CV control mode to use external voltage control.

Queries the error queue. The last error message is returned and cleared; each remote interface I/O session has its own error queue.

string - An error code followed by an error message as a string.

Returns system information including machine version, build date, keyboard CPLD version, and analog CPLD version. The response is returned as definite-length arbitrary block data.

arbitrary_block - Returns machine version, model, serial number, firmware version, keyboard CPLD version, analog board CPLD version, firmware build date, and MAC address in a definite-length arbitrary block response.
:SYST:INF?
#3183MFRS Keithley Instruments Inc., Model 2260B-30-72,SN 123456789,Firmware-Version 01.89.20220809,Keyboard-CPLD 0x30c,AnalogControl-CPLD 0x427,Kernel-BuiltON 2022-1-13,MAC 00-00-0a-00-00-00

Sets the behavior of the Output key when the front-panel key lock is on. The setting corresponds to the F-19 function setting.

NameTypeValuesDescription
modeenum0 | 1The key lock mode when panel lock is on: 0 allows the output to be turned off; 1 allows the output to be turned on or off.
enum - Returns the present key lock mode when the panel lock is on.
:SYST:KEYL:MODE 0
:SYSTem:KLOCkset / query

Enables or disables the front-panel key lock.

NameTypeValuesDescription
stateenum0 | OFF | 1 | ONThe key lock state.
:SYST:KLOC 0 Unlock the front-panel keys.
:SYSTem:PRESetset / query

Resets instrument settings to their factory defaults. It is identical in effect to the *RST command.

Returns the version of the SCPI specifications that the instrument complies with.

real - The SCPI specification version supported by the instrument.
:SYST:VERS? Example return: 1999.0

:ABORtset / query

Cancels any triggered actions.

:ABORt

Starts the transient trigger or the output trigger.

NameTypeValuesDescription
nenumTRANsient | OUTPutSelects which trigger to start.
:INIT:NAME TRAN

Sets or queries the trigger source for the transient system. The source can be selected as BUS or IMMediate.

NameTypeValuesDescription
valueenumBUS | IMMediateTrigger source for the transient system.
enum - Returns the present trigger source for the transient system.
:TRIG:TRAN:SOUR IMM
:TRIG:TRAN:SOUR BUS

Sets or queries the trigger source for the output system. When BUS is selected, the instrument waits for the *TRG or IEEE 488.1 GET group execute trigger command to start the trigger.

NameTypeValuesDescription
sourceenumBUS | IMMediateTrigger source for the output system.
enum - Returns the current trigger source for the output system.
:TRIG:OUTP:SOUR IMM Turn the output on.
:TRIG:OUTP:SOUR BUS Turn the output on.

*CLSset / query

Clears the event registers and queues. It resets the bits in the Standard Event Status, Operation Status, and Questionable Status registers; if immediately preceded by a newline, it also clears the Error Queue and MAV bit in the Status Byte Register.

*CLS
*ESEset / query

Sets and queries bits in the Standard Event Status Enable Register.

NameTypeValuesDescription
maskinteger0 - 255Value used to set the binary bits of the Standard Event Enable Register.
*ESR?query

Reads and clears the contents of the Standard Event Status Register. The instrument returns a decimal value corresponding to the binary-weighted sum of all bits set in the register, then clears the register.

integer - Decimal value corresponding to the binary-weighted sum of all bits set in the Standard Event Status Register.
*ESR?
*IDN?query

Retrieves the identification string of the instrument. The string includes the manufacturer, model number, serial number, and firmware revision.

string - Returns the identification string formatted as manufacturer, model number, serial number, and firmware revision.
*IDN?
*IDN? Example output: KEITHLEY INSTRUMENTS INC.,MODEL 2260B-30-72, TW123456, 01.00.20110101
*OPCset / query

Sets the operation complete (OPC) bit after all pending commands, including overlapped commands, have been executed.

integer - Returns 1 when all outstanding commands have completed.
*OPC?
*RSTset / query

Resets the instrument settings to their default values. It is identical in effect to :SYSTem:PRESet.

*SREset / query

Sets or clears the bits of the Service Request Enable register. The query returns the bit sum of that register.

NameTypeValuesDescription
NRfinteger0 - 255Bit sum to store in the Service Request Enable register.
integer - Bit sum of the Service Request Enable register.
*SRE 48
*SRE?
*STB?query

Reads the Status Byte register. The query returns the contents of the Status Byte register using the Master Summary Status (MSS) bit (bit 6).

integer - Contents of the Status Byte register.
*STB?
*TRGset / query

Sends a bus trigger to the 2260B. It has the same effect as a group execute trigger (GET).

*TRG
*TST?query

Runs self test and reads the result. It returns 0 if the self test completes with no errors; any other value indicates an error was detected.

integer - Returns 0 if the self test completes with no errors; any other value indicates the self test detected an error.
*TST? Initiates the self-test.
*WAIset / query

Postpones execution of subsequent commands until all previously overlapped commands are finished. It halts further command processing until all present commands are complete.

*WAI