1 Remote Operation 1.1 Interface Connection RS-232 For RS-232 connectivity, refer to the diagram below for pin out information. The RS-232 is labeled in the rear panel and it is a female DB-9 interface. Description Transmit Data Receive Data A straight pin-to-pin DB9 female to DB9 male serial cable is required for using the RS-232 interface.
2 Remote Commands 2.1 Parameter Definitions The 9800 Series power supplies support communication protocols, which include standard SCPI commands and a few proprietary commands that follow the SCPI convention. The SCPI interface enables users to operate the power supply through a computer or a terminal equipped with RS-232, or USB interface.
Page 6
This command can read information about power supply. The returns parameter contains 4 segments divided by comma. Query syntax: *IDN? Parameter: None Returned parameter: <AARD> segment description B&K Precision Manufacturer 9801 Product model XXXXXX Product serial number VX.XX –VX.XX Software version Example: B&K Precision, 9801, 00000000000004, V1.01-V1.00 *OPC...
Page 7
When all commands before this command are executed, bit OPC in standard event register will be set to 1. Command syntax: *OPC Parameter: None Query syntax: *OPC? Returned parameter: <NR1> *RST This command resets the power supply to default settings. Command syntax: *RST Parameter: None *SRE...
Parameter: 0~9 2.3 STATUS Subsystem You can get the current status of the power supply by reading the operation status registers. The power supply records the different status of the instrument through the four status register group. The four status register groups are: status byte register, standard event register, query status register and operation status register.
Page 10
STATUS Subsystem STATus:QUEStionable[:EVENt]? This command can be used to read the value in query event register. After executing this command, the query event register will be cleared. Query syntax: STATus:QUEStionable[:EVENt]? Parameter: None Returned parameter: <NR1> Relative command: STATus:QUEStionable:ENABle The bit definition of query event enable register: Position Bit Name OCrms...
Page 11
STATus: QUEStionable:PTRansition This command is used to edit the positive transition trigger register of operation event. The parameter determines which bits of operation event register is 1 and will change the OPER of status byte register to be 1. Command syntax: STATus: QUEStionable:PTRansition <NR1> Parameter: 0~255 Example: STATus: QUEStionable:PTRansition 128 Query syntax: STATus: QUEStionable:PTRansition?
parameter determines which bits in operation event register is 1 and will change the OPER bit of status byte register to be set to 1. Command syntax: STATus:OPERation:NTRansition <NR1> Parameter: 0~255 Example: STATus:OPERation:NTRansition 128 Query syntax: STATus:OPERation:NTRansition? STATus:OPERation:PTRansition This command edits the positive transition trigger register of operation event. The parameter determines which bits of operation event register is 1 and will change the OPER bit of status byte register to be set to 1.
Page 13
(-224) Illegal parameter value (-225) Out of memory (-230) Data Corrupt or Stale (-270) Macro error (-310) System error (-350) Too many errors [errors beyond 9 lost due to queue overflow] (-400) Query error (-410) Query INTERRUPTED (-420) Query UNTERMINATED (-430) Query DEADLOCKED (-440) Query UNTERMINATED (0) No error...
Page 14
Parameter: None Returned parameter: <NRf> SYSTem:REMote This command is used to switch to the remote control mode (PC control). Parameter: None SYSTem:LOCal This command is used to switch the instrument to local control mode (front panel control). Command syntax: SYST:LOCal Parameter: None SYSTem:RWLock This command is the same function as SYSTem:REMote, except this command can lock “LOCAL”...
Return parameters:<bool> SYSTem:INTerface This command is used to select the communication interfaces. Command syntax:SYSTem:INTerface <string> Parameter:< USB|RS232|LAN> 2.5 TRIGGER Subsystem TRIGger[:IMMediate] This command is used to create a trigger signal. It will give a trigger signal in BUS trigger source mode.
[SOURce:]FREQuency[:IMMediate] This command is used to set the output frequency value. Command syntax: [SOURce:]FREQuency[:IMMediate] <NRf> Parameter: MIN TO MAX|MIN|MAX|DEF Unit: Hz Query syntax: [SOURce:]FREQuency[:IMMediate]? Return parameter: <NRf> [SOURce:]PHASe:STARt This command is used to set the start phase angle. Command syntax: [SOURce:]PHASe:STARt <NRf> Parameter: MIN TO MAX|MIN|MAX|DEF Unit: °...
Page 17
CONFig[SOURce:]VOLTage[:LEVel]:MINimum This command is used to set the lower limitation (Volt-Min) of the output voltage. Command syntax: CONFig[SOURce:]VOLTage[:LEVel]:MINimum <NRf> Parameter: MIN TO MAX|MIN|MAX| Unit: V Query syntax: CONFig[SOURce:]VOLTage[:LEVel]:MINimum? Return parameter: <NRf> CONFig[SOURce:]VOLTage[:LEVel]:MAXimum This command is used to set the upper limitation (Volt-Max) of the output voltage. Command syntax: CONFig[SOURce:]VOLTage[:LEVel]:MAXimum <NRf>...
Page 18
Query syntax: CONFig:PROToct:CURRent:RMS:MODe? Return parameter: <NRf> CONFig:PROTect:CURRent:PEAK This command is used to set the peak current protection point (Ipeak-Protect). Command syntax: CONFig:PROToct:CURRent:PEAK <NRf> Parameter: MIN TO MAX|MIN|MAX| Unit: A Query syntax: CONFig:PROToct:CURRent:PEAK? Return parameter: <NRf> CONFig:PROTect:CURRent:PEAK:MODe This command is used to set the peak current protection (Ipeak-Protect) delay mode. Command syntax: CONFig:PROToct:CURRent:PEAK:MODe <NRf>...
2.8 MEASURE and FETCH Commands MEASure[:SCALar]:VOLTage[:AC]? This command is used to query the actual output AC voltage. Command syntax: MEASure[:SCALar]:VOLTage[:AC]? Return parameter: <NRf> Return parameter unit: V Example: MEAS:VOLT? FETCh[:SCALar]:VOLTage[:AC]? This command is used to read the output AC voltage which is in the sample cache. After sending the command, the readings will be sent to the computer.
Page 20
FETCh[:SCALar]:POWer[:AC][:REAL]? This command is used to read the output power which is in the sample cache. After sending the command, the readings will be sent to the computer. This command does not affect the instrument settings. This command does not trigger a measurement operation, and queries only the latest available reading.
Page 21
MEASure[:SCALar]:FREQuency? This command is used to query the actual output frequency. Command syntax: MEASure[:SCALar]:FREQuency? Parameter: None Return parameter: <NRf> Return parameter unit: Hz Example: MEAS:FREQ? FETCh[:SCALar]:FREQuency? This command is used to read the output frequency which is in the sample cache. After sending the command, the readings will be sent to the computer.
cache. After sending the command, the readings will be sent to the computer. This command does not affect the instrument settings. This command does not trigger a measurement operation, and queries only the latest available reading. Before reading the new reading, the command returns the old readings.
Page 23
LIST:STEP:VOLTage This command is used to edit the voltage level for a single step in the list file. Command syntax:LIST:STEP:VOLTage <NR1>,<NRf> Parameter 1: 0 ~ 99 Parameter 2: Voltage, unit: V Example: LIST:STEP:VOLT 1, 30 Query syntax: LIST:STEP:VOLTage? <NR1> Query Example: LIST:STEP:VOLT? 1 Return Parameter: <NRf>...
Page 24
Parameter 1: 0 ~ 99 Parameter 2: Dwell time Example: LIST:STEP:DWELl 3, 20 Query syntax: LIST:STEP:DWELl? <NR1> Query Example: LIST:STEP:DWEL? 3 Return Parameter: <NRf> LIST:STEP:SD:STATe This command is used to enable or disable the disturbance simulation status for a single step in the list file.
Command syntax:LIST:STEP:SD:SITe <NR1>,<NRf> Parameter 1: 0 ~ 99 Parameter 2: Time, unit: ms Example: LIST:STEP:SD:SIT 5, 10 Query syntax: LIST:STEP:SD:SITe? <NR1> Query Example: LIST:STEP:SD:SIT? 2 Return Parameter: <NRf> LIST:STEP:SD:TIMe This command is used to set the duration of the disturbance for a single step in the list file. Command syntax:LIST:STEP:SD:SITe <NR1>,<NRf>...
Page 26
Return parameter: <string> SWEep:RECall This command is used to recall a sweep setup file. Command syntax: SWEep:RECall <NR1> Parameter: 0 ~ 9 Example: SWE:REC 4 Query syntax: SWEep:RECall? Return parameter: <NR1> SWEep:STARt:VOLTage This command is used to edit the sweep starting voltage. Command syntax: SWEep:STARt:VOLTage <sNRf>...
Page 27
Return Parameter: <NRf> SWEep:STEP:TIMe This command is used to edit the sweep time for a single step. Command syntax:SWEep:STEP:TIMe <NRf> Parameter 1: MINimum|MAXimum|<NRf> Parameter unit: ms Example: SWE:STEP:TIM 2, 60 Query syntax: SWEep:STEP:TIMe? Return Parameter: <NRf> SWEep:STARt:FREQuency This command is used to edit the sweep starting frequency. Command syntax: SWEep:STARt:FREQuency <NRf>...
Page 28
SWEep:MEASure[:SCALar]:VOLTage[:AC]? This command is used to query the output AC voltage at the sweep maximum power point. Query syntax: SWEep:MEASure[:SCALar]:VOLTage[:AC]? Return parameter: <NRf> Return parameter unit: V SWEep:MEASure[:SCALar]:CURRent[:AC]? This command is used to query the output AC current at the sweep maximum power point. Query syntax: SWEep:MEASure[:SCALar]:CURRent[:AC]? Return parameter: <NRf>...
Need help?
Do you have a question about the 9801 and is the answer not in the manual?
Questions and answers