B&K Precision MR25080 Programming Manual

Contents
1 Common Commands 5
1.1 *CLS 5
1.2 *ESE 5
1.3 *ESR? 5
1.4 *IDN? 6
1.5 *OPC 6
1.6 *OPT? 6
1.7 *RCL 6
1.8 *RST 6
1.9 *SAV 7
1.10 *SRE 7
1.11 *STB? 7
1.12 *LRN? 8
1.13 *WAI 8
2 Measurement Commands 9
2.1 MEASure[:SCALar]:CURRent[:DC]? 9
2.2 MEASure[:SCALar]:POWer[:DC]? 9
3 Voltage Commands 10
3.1 [SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude] 10
3.2 [SOURce:]VOLTage:SLEW 10
3.3 [SOURce:]VOLTage:PROTection[:LEVel] 10
3.4 [SOURce:]VOLTage:MAX[:LEVel] 10
3.5 [SOURce:]VOLTage:MIN[:LEVel] 11
3.6 [SOURce:]CVCC:PROTection[:LEVel] 11
4 Current 12
4.1 [SOURce:]CURRent[:LEVel][:IMMediate][:AMPLitude] 12
4.2 [SOURce:]CURRent:SLEW 12
4.3 [SOURce:]CURRent:PROTection[:LEVel] 12
4.4 [SOURce:]CURRent:MAX[:LEVel] 12
4.5 [SOURce:]CURRent:MAX[:LEVel] 13
4.6 [SOURce:]CCCV:PROTection[:LEVel] 13
5 Power Commands 14
5.1 [SOURce:]POWer[:LEVel][:IMMediate][:AMPLitude]? 14
5.2 [SOURce:]POWer:PROTection[:LEVel] 14
6 Timer Commands 15
6.1 [SOURce:]TIMer[:STATe] 15
6.2 [SOURce:]TIMer:COUNt 15
7 Solar Array Simulator Commands 16
7.1 [SOURce:]SASimulator[:STATe] 16
7.2 [SOURce:]SASimulator:CURve 16
7.3 [SOURce:]SASimulator:CURve:REGUlation 16
7.4 [SOURce:]SASimulator:CURve:VMP 16
7.5 [SOURce:]SASimulator:CURve:PMP 17
7.6 [SOURce:]SASimulator:CURve:MATErial 17
7.7 [SOURce:]SASimulator:CURve:PARAMeter 17
7.8 [SOURce:]SASimulator:CONTrol:MODe 17
8 Output 19
8.1 OUTPut[:STATe] 19
8.2 OUTPut:INHibit:MODE 19
8.3 OUTPut:PON:STATe 19
8.4 OUTPut:PROTection:CLEar 19
8.5 [SOURce:]:EXTernal:MODe 20
8.6 [SOURce:]:EXTernal:RANGe 20
9 Status 21
9.1 STATus:OPERation[:EVENt]? 21
9.2 STATus:OPERation:CONDition? 21
9.3 STATus:OPERation:ENABle 21
9.4 STATus:OPERation:NTRansition 22
9.5 STATus:OPERation:PTRansition 22
9.6 STATus:QUEStionable[:EVENt]? 22
9.7 STATus:QUEStionable:CONDition? 22
9.8 STATus:QUEStionable:ENABle 23
9.9 STATus:QUEStionable:NTRansition 23
9.10 STATus:QUEStionable:PTRansiton 23
9.11 STATus:PRESet 23
10 Program 25
10.1 [SOURce:]PROGram[:STATe] 25
10.2 [SOURce:]PROGram[:SELected]:NUMBer 25
10.3 [SOURce:]PROGram[:SELected]:DELete 25
10.4 [SOURce:]PROGram[:SELected]:NEXT 25
10.5 [SOURce:]PROGram[:SELected]:REPeat 25
10.6 [SOURce:]PROGram[:SELected]:STEP 26
10.7 [SOURce:]PROGram[:SELected]:STEP:VOLTage 26
10.8 [SOURce:]PROGram[:SELected]:STEP:CURRent 26
10.9 [SOURce:]PROGram[:SELected]:STEP:TIME 26
3
11 Display 27
11.1 DISPlay[:WINDow][:STATe] 27
12 System 28
12.1 SYSTem:ERRor? 28
12.2 SYSTem:SECurity:IMMediate 28
12.3 SYSTem:VERSion 28
12.4 SYSTem:COMMunicate:LAN|TCPip:MODE 29
12.5 SYSTem:COMMunicate:LAN|TCPip:ADDRess 29
12.6 SYSTem:COMMunicate:LAN|TCPip:GATEway 29
12.7 SYSTem:COMMunicate:LAN|TCPip:MASK 29
12.8 SYSTem:COMMunicate:LAN:RESTart 29
12.9 SYSTem:COMMunicate:PARallel:MODE 30
12.10 SYSTem:COMMunicate:PARallel:ADDRess 30
12.11 SYSTem:COMMunicate:PARallel:TOTal? 30
12.12 SYSTem:COMMunicate:RLSTate 30
12.13 LXI:IDENtify[:STATe] 30
13 Calibration 31
13.1 CALibrate:PASSword 31
13.2 CALibrate:CURRent[:LEVel] 31
13.3 CALibrate:CURRent:PROTection 31
13.4 CALibrate:CURRent:EXTernal 31
13.5 CALibrate:CURRent:EXTernal:CC 32
13.6 CALibrate:VOLTage[:LEVel] 32
13.7 CALibrate:VOLTage:PROTection 32
13.8 CALibrate:VOLTage:EXTernal 32
13.9 CALibrate:VOLTage:EXTernal:CC 33
13.10 CALibrate:STATe? 33
4

1.1 *CLS

Description Clear (1)All event registers(2)Status byte (3)Error queue (4)Output queue (5)MAV bit
Command Syntax *CLS

1.2 *ESE

Description Event status enable
Command Syntax *ESE
Query Syntax *ESE?
Query Example >*ese?

1.3 *ESR?

Description Event status enable register

Common Commands

>0
Query Syntax *ESR?
Event Status Register Bit
Bit Bit Name Decimal Value Denition
0 OPC 1 A 1 in this bit position indicates that all pending signal gen-
1 not used not used
2 QYE 4 A 1 in this bit position indicates that a query error has oc-
3 DDE 8 A 1 in this bit position indicates that a device dependent er-
4 EXE 16 A 1 in this bit position indicates that an execution error has
5 CME 32 A 1 in this bit position indicates that a command error has
6 not used 64
7 PON 128 A 1 in this bit position indicates that the signal generator
erator operations were completed following execution of the *OPC command.
curred. Query errors have instrument error numbers from
-499 to -400.
ror has occurred. Device dependent errors have instrument error numbers from -399 to -300 and 1 to 32767. (1)Self-test error (2)Calibration password is incorrect (3)Calibration error (4)Device-specic error
occurred. Execution errors have instrument error numbers from -299 to -200. (1)Data out of range (2)Too much data (3)Hardware missing(option)
occurred. Command errors have instrument error numbers from -199 to -100.
has been turned o and then on.
Common Commands 6

1.4 *IDN?

Description Query Instrment information
Query Syntax *IDN?
Query Example >*idn?
>B&K PRECISION,MR40003,123456,0.55-7.k7-5.00d-1.H0

1.5 *OPC

Description Set operation complete command and query
Command Syntax *OPC
Query Syntax *OPC?
Query Example >*opc?
>1

1.6 *OPT?

Description Query for installed options. A ``0’’ indicates there are no installed options, ``1’’ indicates a GPIB/LAN
card is installed.
Query Syntax *OPT?
Query Example >*opt?
>1

1.7 *RCL

Description Recalls a saved instrument state
Command Syntax *RCL <NR1>
Command example >*rcl 0

1.8 *RST

Description Reset the power supply to default settings.
Command Syntax *RST
Common Commands 7
Notes Default settings:
Setting Category Setting Value
Output Voltage 10 V
Current 1 A
Protection OVP OVPMax
OCP OCPMax
OPP OPPMax
CV>CV OFF
CC>CV OFF
Limit Vmax VMax
Vmin 0
IMax IMax
IMin 0
Slope Voltage Slope VSRMax
Current Slope ISRMax
Timer Mode O
HHH:MM:SS 000:00:00
Program Mode OFF
Program Number 0
Parallel Mode OFF
Address 0 (Master)
PV Simulation Mode OFF
Curve 1
Control Mode CC
Power-On State Mode Disable
Memory 1
Output State OFF

1.9 *SAV

Description Saves an instrument state
Command Syntax *SAV <1-10>
Command Example >*SAV 1

1.10 *SRE

Description Service request enable register
Command Syntax *SRE
Query Syntax *SRE?

1.11 *STB?

Description Query status byte
Query Syntax *STB?
Common Commands 8
Status ByteRegister Bit
Bit Bit Name Decimal Value Denition
0-1 not used not used
2 ERR 4 Error/Event Queue Summary Bit.
A 1 in this bit position indicates that one or more errors in the Error Queue. Use “SYSTem:ERRor?” to read and delete errors.
3 QUES 8 Data Questionable Status Summary Bit.
4 MAV 16 Message available.
5 ESB 32 Standard Event Status Summary Bit.
6 MSS 64 Request Service (RQS) Summary Bit.
A 1 in this bit position indicates that the signal generator has at least one reason to require service. This bit is also called the Master Summary Status bit (MSS). The indi­vidual bits in the Status Byte are individually ANDed with their corresponding service request enable register, then each individual bit value is ORed and input to this bit.
7 OPER 128 Operation Status Summary Bit.

1.12 *LRN?

Description This command returns the device setup query. It is dened as "Learn Device Setup Query" in
IEEE 488.2. The command returns instrument settings , same as that from Save/Recall state.
Query Syntax *LRN?
Command example >*LRN?
>VOLT 15.0;CURR 8.000;VOLT:PROT 10.0;CURR:PROT 20.000;POW:PROT 5200.5;CVCC:PROT 1;CCCV:PROT 1;VOLT:MAX 200.0;VOLT:MIN 0.0;CURR:MAX 10.000;CURR:MIN 0.000;VOLT:SLEW
16.665;CURR:SLEW 500.0;TIM 1;TIM:COUN 0:0:0;PROG 1;PROG:NUMB 2;SYST:COMM:PAR:MODE 1;SYST:COMM:PAR:ADDR 0;SAS 1;SAS:CUR 1;SAS:CONT:MOD 1

1.13 *WAI

Description This command prohibits the instrument from executing any new commands until all pending over-
lapped commands have been processed.
Command Syntax *WAI

Measurement Commands

2.1 MEASure[:SCALar]:CURRent[:DC]?

Description Retrieve the output current value.
Query Format MEASure[:SCALar]:CURRent[:DC]?
Response Format Decimal number.
Query Example >meas:curr?
>0.996

2.2 MEASure[:SCALar]:POWer[:DC]?

Description Retrieve the output power value.
Query Syntax MEASure[:SCALar]:POWer[:DC]?
Response Format Decimal number.
Query Example >measure:power:dc?
>0.1

2.3 MEASure[:SCALar]:VOLTage[:DC]?

Description Retrieve the output voltage value.
Query Syntax MEASure[:SCALar]:VOLTage[:DC]?
Response Format Decimal number.
Query Example >measure:scalar:voltage?
>10.2

Voltage Commands

3.1 [SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude]

Description Output voltage setting.
Command Syntax [SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude] <voltage>
Command Example >volt 900
Query Syntax [SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude]?
Query Example >volt?
>900.0

3.2 [SOURce:]VOLTage:SLEW

Description Voltage rising slew rate. Falling slew rate is not controlled via command.
Command Syntax [SOURce:]VOLTage:SLEW <slew rate V/ms>
Command Example >volt 9
Query Syntax [SOURce:]VOLTage:SLEW?
Query Example >volt:slew?
>9.0

3.3 [SOURce:]VOLTage:PROTection[:LEVel]

Description Over-voltage protection level.
Command Syntax [SOURce:]VOLTage:PROTection[:LEVel] <voltage>
Command Example >volt:prot 1100
Query Format [SOURce:]VOLTage:PROTection[:LEVel]?
Response Format <voltage>
Query Example >voltage:protection?
>1100.0

3.4 [SOURce:]VOLTage:MAX[:LEVel]

Description Congures the maximum voltage limit.
Command Syntax [SOURce:]VOLTage:MAX[:LEVel] <voltage>
Command Example >volt:max 1100
Query Format [SOURce:]VOLTage:MAX[:LEVel]?
Response Format <voltage>
Query Example >voltage:MAX?
>1100.0
Loading...
+ 23 hidden pages