User manual

RIGOL Chapter 3 Application Instances
3-2 DP700 Programming Guide
Constant Voltage Output
Requirement
Functions to be realized: constant voltage output, the output voltage is 30 V, the output current is 2 A, the
overcurrent protection function is enabled and the overcurrent protection value is 2 A.
Method 1:
(1)
*IDN?
/*Queries the identification string of the power supply to test
whether the remote communication works normally*/
(2)
:APPLy CH1,30,2 /*Sets the channel output voltage to 30 V, the output current 2 A*/
(3)
:OUTPut:OCP:VALue 2 /*Sets the channel overcurrent protection value to 2 A*/
(4)
:OUTPut:OCP:STATe CH1,ON /*Enables the overcurrent protection function*/
(5)
:OUTPut:STATe CH1,ON /*Turns on the channel output*/
Method 2:
(1)
*IDN?
/*Queries the identification string of the power supply to test
whether the remote communication works normally*/
(2)
:SOURce1:VOLTage:LEVel:IMMediate:AMPLitude 30
/*Sets the channel output voltage to 30 V*/
(3)
:SOURce1:CURRent:LEVel:IMMediate:AMPLitude 2
/*Sets the channel output current to 2 A*/
(4)
:SOURce1:CURRent:PROTection:LEVel 2
/*Sets the channel overcurrent protection
value to 2 A*/
(5)
:SOURce1:CURRent:PROTection:STATe ON
/*Enables the overcurrent protection
function*/
(6)
:OUTPut:STATe CH1,ON /*Turns on the channel output*/
Timing Output
Requirement
Functions to be realized:
1. Timing parameters: Output Groups is 3, Cycles is 2, Trig Mode is Auto, End State is Last. The three
groups of timing parameters are as follows:
Group ID
Output Voltage
Output Current
Duration Time
1 10 V 1 A 3 s
2
12 V
1.2 A
5 s
3 18 V 1.8 A 3.5 s
2. Save the edited timing parameters.
3. Enable the timing output.
Method
(1)
*IDN?
/*Queries the identification string of the power supply to test
whether the remote communication works normally*/
(2)
:TIMEr:GROUPs 3
/*Sets the number of output groups to 3*/
(3)
:TIMEr:CYCLEs N,2
/*Sets the number of cycles for the timer to 2*/
(4)
:TIMEr:TRIGer DEFault
/*Sets the trigger mode of the timer to "Auto"*/
(5)
:TIMEr:ENDState LAST
/*Sets the end state of the timer to "Last"*/
(6)
:TIMEr:PARAmeter 1,10,1,3 /*Sets the first group of timing parameters to 10 V, 1 A, and 3
s*/
(7)
:TIMEr:PARAmeter 2,12,1.2,5 /*Sets the second group of timing parameters to 12 V, 1.2 A,
and 5 s*/
(8)
:TIMEr:PARAmeter 3,18,1.8,3.5
/*Sets the third group of timing parameters to 18 V, 1.8 A, and
3.5 s*/
(9)
:MEMory:STATe:STORe RTF,1
/*Saves the current timer parameters to the state file storage
location Timer1, with the file name Rigol1*/
(10)
:TIMEr:STATe ON
/*Enables the timing output*/