0% found this document useful (0 votes)
54 views

Switching DC Power Supplies: Model: 9103, 9104

The document provides instructions for connecting and programming a DC power supply via USB interface and virtual COM port. It lists commands for setting output voltage and current, getting readings, and configuring protection limits.

Uploaded by

Arturo Perdomo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views

Switching DC Power Supplies: Model: 9103, 9104

The document provides instructions for connecting and programming a DC power supply via USB interface and virtual COM port. It lists commands for setting output voltage and current, getting readings, and configuring protection limits.

Uploaded by

Arturo Perdomo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Model: 9103, 9104

Switching DC Power Supplies


PROGRAMMING MANUAL
Table of Contents
1. USB Interface Connection........................................................................................................ 3
Connecting Instrument to PC ...................................................................................................... 3
USB (Virtual COM) Configuration ............................................................................................... 3
2. Command Set .......................................................................................................................... 4
SOUT< Output > [CR] .................................................................................................................. 5
GOUT[CR] .................................................................................................................................... 5
VOLT< preset0/1/2/3><Voltage>[CR] ......................................................................................... 5
CURR< preset0/1/2/3><Current> [CR] ....................................................................................... 5
SOVP<voltage >[CR] .................................................................................................................... 5
GETD[CR] ..................................................................................................................................... 5
SOCP<Current>[CR]..................................................................................................................... 5
GOVP[CR] .................................................................................................................................... 5
GOCP[CR] .................................................................................................................................... 5
SETD<preset0/1/2/3><VOLTAGE> .............................................................................................. 6
<CURRENT>[CR] .......................................................................................................................... 6
GETS<preset0/1/2/3>[CR] .......................................................................................................... 6
GABC[CR] ..................................................................................................................................... 6
SABC< preset0/1/2/3>[CR] ......................................................................................................... 6
GDLT<{0-5}>[CR] ......................................................................................................................... 6
SDLT <location {0-5}; time {00-20}>[CR] ..................................................................................... 6
GSWT<location {0-2}> ................................................................................................................. 6
SSWT<location {0-2} time {000-600}> [CR] ................................................................................. 6
RUNP< first {0-2}; end {0-2}>[CR] ............................................................................................... 6
STOP[CR] ..................................................................................................................................... 7
SESS[CR] ...................................................................................................................................... 7
ENDS[CR] ..................................................................................................................................... 7
GALL[CR]...................................................................................................................................... 7
SETM ........................................................................................................................................... 8
1. USB Interface Connection

Users can remotely control the power supply via PC over the USB interface. Upon installation of
the USB driver, the PC can control the instrument over virtual COM.

Connecting Instrument to PC

a) Download the USB drivers from www.bkprecision.com .


b) Connect the included USB cable to the power supply and the USB port on the PC.
c) When Windows recognizes the USB connection, do not follow the default Windows driver
installation wizard. Simply run the setup file from the downloaded USB drivers and follow
the prompt to install drivers.
d) The computer will recognize the instrument as a USB (virtual COM) device, it will be
detected as a serial COM port. Windows will automatically assign a COM port to the
instrument. Please verify which COM port Windows has assigned by going into Device
Manager.

USB (Virtual COM) Configuration

The following serial port settings are used by the power supply.

 Baudrate: 9600
 Data bits: 8
 Parity: None
 Stop bits: 1
 Flow Control: None
2. Command Set

In order to use remote commands, please make sure to use the following communication
settings:
1. Baud rate: 9600
2. Data bits: 8
3. Parity: none
4. Stop bits: 1

If you are using HyperTerminal, make sure to check your ASCII setup to not append line feeds.

Command line format: COMMAND<parameter1><parameter2>…[CR]


# Input Command and Return Description Example
1 SOUT< Output > [CR] Set Output on/off. Input Command: SOUT0[CR]
Set Output off: < Output > =0 Return Value: [OK] [CR]
Return Value: [OK] [CR] Set Output on: < Output > =1 Result: Set Output off

2 GOUT[CR] Get Output Status. Input Command: GOUT [CR]


Output off: < Output > = 0 Return Value: 0 [CR] [OK] [CR]
Return Value:<Output> [CR] [OK] [CR] Output on: < Output > = 1 Result: Output is off

3 VOLT< preset0/1/2/3><Voltage>[CR] Set output Voltage. Input Command:


*Set-Volt value relevance to preset Current VOLT 01000[CR]
Return Value: [OK] [CR] value total power<160W .Max-Volt value Return Value: [OK] [CR]
refer to product specification Result: Set Memory preset 1
voltage value is 10.00V
4 CURR< preset0/1/2/3><Current> [CR] SET output Current. Input Command:
* Set-Cur value relevance to preset Volt value CURR 00100[CR]
total power<160W .Max- Current value refer Return Value: [OK] [CR]
Return Value: [OK] [CR] to product specification Result: Set preset 1 Current
value is 1.00A
5 SOVP<voltage >[CR] Set Over Voltage value. Input Command: SOVP4200[CR]
<voltage> = ???? Return Value: [OK] [CR]
[Return Value:[OK] [CR] Result: Set upper limit of output
Voltage 42.00V
6 GETD[CR] Get Reading Volt & Curr mode. Input Command: GETD [CR]
<voltage> = ???? Return Value: 050001000[CR]
Return Value: <Voltage ><Current> < Current > = ???? [OK] [CR]
<CV/CC Mode> [CR] [OK] [CR] <CV Mode> =0 CV Mode Result: The Display value is
<CV Mode> =1 CC Mode 5.00V and 1.00A.
It is in CV mode.
7 SOCP<Current>[CR] Set Over current value. Input Command: SOCP1000[CR]
< Current > = ???? Return Value: [OK] [CR]
Return Value: [OK] [CR] Result: Set upper limit of output
Current 10.00A
8 GOVP[CR] Get upper limit of output Voltage. Input Command: GOVP [CR]
<voltage>=???? Return Value: 4220 [CR] [OK]
Return Value: <Voltage>[CR] [OK] [CR] [CR]
Result: upper limit of output
Voltage is 42.40V
9 GOCP[CR] Get upper limit of output Current. Input Command: GAGA [CR]
< Current >=???? Return Value: 1020 [CR] [OK]
Return Value:<Current>[CR] [OK] [CR] [CR]
Result: upper limit of output
Current is 10.20A
10 SETD<preset0/1/2/3><VOLTAGE> SET preset0/1/2/3 Voltage and Current. Input Command:
<CURRENT>[CR] <preset0/1/2/3> =0 preset1 SETD 005001000 [CR]
<preset0/1/2/3> =1 preset2 Return Value: [OK] [CR]
Return Value: [OK] [CR] <preset0/1/2/3> =2 preset3 Result: Set preset1 voltage
<preset0/1/2/3> =3 Normal Mode 5.00V Current 10.00A
<voltage> = ????
< Current > = ????

11 GETS<preset0/1/2/3>[CR] Get settings of preset0/1/2/3 Volt & Curr Input Command: GETS0[CR]
SET preset0/1/2/3 Voltage and Current Return Value: 05000100[CR] [OK]
Return Value: <Voltage><Current>[CR] <preset0/1/2/3> =0 preset1 [CR]
[OK] [CR] <preset0/1/2/3> =1 preset2 Result: The Memory preset 1
<preset0/1/2/3> =2 preset3 voltage value is 5.00V and
<preset0/1/2/3> =3 Normal Mode Current is 1.00A.
<voltage> = ????
< Current >=????
12 GABC[CR] Get preset selection Input Command: GABC [CR]
< preset0/1/2/3> =0 preset1 Return Value: 0 [CR] [OK] [CR]
Return Value: < preset0/1/2/3> [CR] < preset0/1/2/3> =1 preset2 Result: Preset Mode is Preset1
[OK] [CR] < preset0/1/2/3> =2 preset3
< preset0/1/2/3> =3 Normal Mode
13 SABC< preset0/1/2/3>[CR] Set ABC select Input Command: SABC 2[CR]
< preset0/1/2/3>=0 preset1 Return Value: [OK] [CR]
Return Value: [OK] [CR] < preset0/1/2/3>=1 preset2 Result: Preset Mode is set to
< preset0/1/2/3>=2 preset3 Preset3
< preset0/1/2/3>=3 Normal Mode
14 GDLT<{0-5}>[CR] Get delta time setting value Input Command: GDLT 0[CR]
DeltaTime{0} : Time of Preset1 to Preset2 Return Value: 10 [CR] [OK] [CR]
Return Value: delta time [00-20] [CR] DeltaTime{1} : Time of Preset2 to Preset1 Result: DeltaTime[1] is 10S
[OK] [CR] DeltaTime{2} : Time of Preset1 to Preset3
DeltaTime{3} : Time of Preset3 to Preset1
DeltaTime{4} : Time of Preset2 to Preset3
DeltaTime{5} : Time of Preset3 to Preset2
*Set- DeltaTime <=20S
15 SDLT <location {0-5}; time {00-20}>[CR] Set delta time. Input Command: SDLT 205[CR]
*Set- DeltaTime <=20S Return Value: 1 [CR] [OK] [CR]
Return Value: [OK] [CR] Result: DeltaTime[3] is set to 20S
16 GSWT<location {0-2}>[CR] Get SW time Input Command: GSWT [CR]
SwTime[1]: Time of Preset1 Return Value: 0100 [CR] [OK] [CR]
Return Value: SW time [000-600] [CR] SwTime[2]: Time of Preset2 Result: SwTime[1] is 100S
[OK] [CR] SwTime[3]: Time of Preset3
*Set- SwTime <=600S
17 SSWT<location {0-2} time {000-600}> Set SW time Input Command: SSWT0100[CR]
[CR] *Set- SwTime <=600S Return Value: [OK] [CR]
Result: SwTime[0] is set to 100S
Return Value: [OK] [CR]
18 RUNP< first {0-2}; end {0-2}>[CR] Run SW running Input Command: RUNP 01[CR]
Select what sequence will start running first and Return Value: [OK] [CR]
Return Value: [OK] [CR] which one will be the last one to be run. Result: start running SW run A_B
19 STOP[CR] Stop SW running Input Command: STOP [CR]
Return Value: [OK] [CR]
Return Value: [OK] [CR] Result: Stop SW running
20 SESS[CR] Disable Keyboard Input Command: SESS [CR]
Return Value: [OK] [CR]
Return Value: [OK] [CR] Result: Disable Keyboard
21 ENDS[CR] Enable Keyboard Input Command: ENDS [CR]
Return Value: [OK] [CR]
Return Value: [OK] [CR] Result: Enable Keyboard
22 GALL[CR] Get information from Power Supply Input Command: GALL[CR]
Return Value:
Return Value: <AbcSele> = ? 3
<AbcSele> <Get Channel> = ? 0
<Get Channel> <Get UVL> = ???? 4220
<Get UVL> <Get UCL> = ???? 1020
<Get UCL> <Get Output > = ? 1
<Get Output > <Swtime[1]> = ??? 350
<Swtime[1]> <Swtime[2] > = ??? 001
<Swtime[2] > <Swtime[3] > = ??? 001
<Swtime[3] > <Deltatime[1-6]>= ???????????? 00 00 00 00 00 00
<Deltatime[1-6]> <mode> = ???? 8160
<mode> <Setv[1]> = ???? 1000
<Setv[1]> <Seti[1] > = ???? 0100
<Seti[1] > <Setv[2] > = ???? 2000
<Setv[2] > <Seti[2] > = ???? 0200
<Seti[2] > <Setv[3]> = ???? 3000
<Setv[3]> <Seti[3] > = ???? 0300
<Seti[3] > <Setv[4] > = ???? 4000
<Setv[4] > <Seti[4]> = ???? 0400 [CR]
<Seti[4]> [CR] [OK] [CR] * Setv[4] Normal Mode Voltage [OK] [CR]
Seti[4] Normal Mode Current Result:
<AbcSele> =3 Normal Mode
<Get Channel> =0
<Get UVL> =4220
<Get UCL> =1020
<Get Output > =1
<Swtime[1]> = 350
<Swtime[2] > = 001
<Swtime[3] > =001
<Deltatime[1]> =00
<Deltatime[2]> =00
<Deltatime[3]> =00
<Deltatime[4]> =00
<Deltatime[5]> =00
<Deltatime[6]> =00
<mode> = 8160
<Setv[1]> = 1000
<Seti[1] > =0100
<Setv[2] > =2000
<Seti[2] > =0200
<Setv[3]> =3000
<Seti[3] > =0300
<Setv[4] > =4000
<Seti[4]> =0400
23 SETM[CR] Configure Preset1/2/3 Input Command: SETM
<Setv[1] ><Seti[1] ><Swtime[1]><Setv[2] <Setv[1] > =???? 05001000010
><Seti[2]><Swtime[2]><Setv[3] > <Seti[1] > =???? 13801000015
<Seti[3] ><Swtime[3]> [CR] <Swtime[1]>=??? 40000200020
<Setv[2] > =???? [CR]
Return Value: [OK] [CR] <Seti[2] > =???? Return Value: [OK] [CR]
<Swtime[2]>=??? Result:
<Setv[3] > =???? preset1voltage is set to 5.00V
<Seti[3] > =???? Current10.00A SwTime 10S
<Swtime[3]>=??? preset2voltage is set to 13.80V
Current10.0A SwTime 15S
preset3voltage is set to 40.00V
Current2.0A SwTime 20S
22820 Savi Ranch Parkway

Yorba Linda, CA 92887

www.bkprecision.com

© 2015 B&K Precision Corp.

V121015

You might also like