The Front Panel at a Glance
1 15V/7A range selection key
2 30V/4A range selection key
3 Overvoltage protection key
4 Overcurrent protection key
5 Display limit key
8 Error/Calibrate key
9 I/O Configuration/Secure key
10 Output On/Off key
11 Control knob
12 Resolution selection keys
13 Voltage/current adjust selection key
6 Recall operating state key
7 Store operating state/Local key
2
1 15V/7A range selection key Selects the 15V/7A range and allows the full rated output
to 15V/7A.
2 30V/4A range selection key Selects the 30V/4A range and allows the full rated output
to 30V/4A.
3 Overvoltage protection key Enables or disables the overvoltage protection function,
sets trip voltage level, and clears the overvoltage condition.
4 Overcurrent protection key Enables or disables the overcurrent protection function,
sets trip current level, and clears the overcurrent condition.
5 Display limit key Shows voltage and current limit values on the display and allows
knob adjustment for setting limit values.
6 Recall operating state key Recalls a previously stored operating state from location
‘‘1’’, ‘‘2’’, or ‘‘3’’.
1
7 Store operating state / Local key Stores an operating state in location ‘‘1’’, ‘‘2’’, or
‘‘3’’ / or returns the power supply to local mode from remote interface mode.
2
8 Error / Calibrate key Displays error codes generated during operation, self-test and
calibration / or enables calibration mode (the power supply must be unsecured before
performing calibration). See Service Guide for more details on calibration.
3
9 I/O Configuration / Secure key Configures the power supply for remote interfaces
/ or secure or unsecure the power supply for calibration. See Service Guide for more
details on how to secure or unsecure the power supply.
10 Output On/Off key Enables or disables the power supply output. This key toggles
between on and off.
11 Control knob Increases or decreases the value of the blinking digit by turning
clockwise or counter clockwise.
12 Resolution selection keys Move the blinking digit to the right or left.
13 Voltage/current adjust selection key Selects the knob control function for voltage
or current adjustment.
1
2
3
3
Front-Panel Voltage and Current Limit Settings
You can set the voltage and current limit values from the front panel using the
following method.
Use the voltage/current adjust selection key, the resolution selection keys, and
the control knob to change the voltage and current limit values.
1 Select the desired range using the range selection keys after turning on the power
supply.
Display Limit
2 Press the
key to show the limit values on the display.
3 Move the blinking digit to the appropriate position using the resolution selection keys
and change the blinking digit value to the desired voltage limit by turning the control
Display Limit
knob. If the display limit times out, press the
key again.
4 Set the knob to current control mode using the voltage/current adjust selection key.
5 Move the blinking digit to the appropriate position using the resolution selection keys
and change the blinking digit value to the desired current limit by turning the control
knob.
Output On/Off
6 Press the
key to enable the output. After about 5 seconds, the
display will go to output monitoring mode automatically to display the voltage and
current at the output or the display will go to output monitoring mode immediately by
Output On/Off
pressing the
key again.
N o t e
4
Display Annunciators
Adrs
Rmt
15V
Power supply is addressed to listen or talk over a remote interface.
Power supply is in remote interface mode.
Shows the 15V/7A range is selected.
Shows the 30V/4A range is selected.
30V
OVP
The overvoltage protection function is enabled when the annunciator
turns on or the overvoltage protection circuit has caused the power
supply to shutdown when the annunciator blinks.
OCP
The overcurrent protection function is enabled when the annunciator
turns on or the overcurrent protection circuit has caused the power
supply to shutdown when the annunciator blinks.
CAL
The power supply is in calibration mode.
Limit
The display shows the limit values of voltage and current.
ERROR
Hardware orremote interfacecommand errors are detected and the error
bit has not been cleared.
OFF
The output of the power supply is disabled (See page 52 for more
information).
Unreg
The output of the power supply is unregulated (output is neither CV
nor CC).
CV
CC
The power supply is in constant voltage mode.
The power supply is in constant current mode.
Display Limit
To review the display annunciators, hold down
turn on the power supply.
key as you
5
The Rear Panel at a Glance
1 Power-line voltage setting
2 Power-line fuse-holder assembly
3 AC inlet
4 Power-line module
5 GPIB (IEEE-488) interface connector
6 RS-232 interface connector
I/O Config
Use the front-panel
key to:
•
•
•
Select the GPIB or RS-232 interface (see chapter 3).
Set the GPIB bus address (see chapter 3).
Set the RS-232 baud rate and parity (see chapter 3).
6
In This Book
General Information
Initial Operation
Front-Panel Operation
Remote Interface Reference
Error Messages
Application Programs
Tutorial
Specifications
7
General Information
Safety Considerations
14
Chapter 1 General Information
Options and Accessories
1
Options and Accessories
Option Description
0EM
0E3
115
0E9
1CM
0L2
Agilent No. Description
10833A
10833B
34398A
34399A
15
Chapter 1 General Information
Description
Description
16
Chapter 1 General Information
Description
1
W a r n i n g
Floating the power supply output more than ±60 Vdc from the chassis presents an
electric shock hazard to the operator. Do not float the outputs more than ±60 Vdc
when metal shorting bars without insulation are used to connect the (+) output to the
(+) sense and the (-) output to the (-) sense terminals.
17
Chapter 1 General Information
Description
W a r n i n g
Outputs can be floated to maximum of ±240 Vdc provided that the metal shorting bars
without insulation are either replaced with insulated conductors or they are removed
from the terminals so there is no operator access to the output conductors without
insulation. All field wiring insulation must be adequate for the voltage present.
18
Chapter 1 General Information
Installation
1
Installation
19
Chapter 1 General Information
Installation
Remove the front and rear bumpers before rack-mounting the power supply.
To remove the rubber bumper, stretch a corner and then slide it off.
To rack mount a single instrument, order adapter kit 5063-9243.
20
Chapter 1 General Information
Installation
1
To rack mount two instrument of the same depth side-by-side, order
lock-link kit 5061-9694 and flange kit 5063-9214.
To install two instruments in a sliding support shelf, order support shelf
5063-9256, and slide kit 1494-0015.
21
Chapter 1 General Information
Input Power Requirements
Input Power Requirements
22
Chapter 1 General Information
Input Power Requirements
1
1 Remove the power cord. Remove the
fuse-holder assembly with a flat-blad
screwdriver from the rear panel.
2 Install the correct line fuse. Remove
the power-line voltage selector from the
power-line module.
100 or 115 Vac, 4 AT fuse
230 Vac, 2.5 AT fuse
4 Replace the power-line voltage selector
and the fuse-holder assembly in the rear
panel.
3 Rotate the power-line voltage selector
until the correct voltage appears.
100, 115, or 230 Vac
23
Chapter 1 General Information
Input Power Requirements
24
Chapter 1 General Information
Input Power Requirements
1
25
Chapter 2 Initial Operation
Preliminary Checkout
Preliminary Checkout
1
2
2
3
27
Chapter 2 Initial Operation
Power-On Checkout
Power-On Checkout
1 All segments of the display including all annunciators will turn on for about one
second.
Display Limit
2 The GPIB address or RS-232 message will then be displayed for about one
second.
ADDR 05 (or RS-232)
3 The “15V”, “OVP”, “OCP” and “OFF” annunciators are on. All others are off.
OFF
OVP
15V
OCP
Output On/Off
4
Enable the outputs.
Output On/Off
15V OVP OCP
OFF
CV
N o t e
ERROR
28
Chapter 2 Initial Operation
Output Checkout
Output Checkout
2
Power
1 Turn on the power supply.
OFF
15V
Output On/Off
2 Enable the outputs.
OFF
15V OVP OCP
CV
3
4
15.0
29
Chapter 2 Initial Operation
Output Checkout
Power
1
OFF
OFF
15V
2
3
Output On/Off
15V OVP
OCP
CV
CC
Display Limit
4
5
Limit
CC
Volt/Curr
Limit
30
Chapter 2 Initial Operation
Output Checkout
6
2
N o t e
ERROR
31
Chapter 2 Initial Operation
Output Checkout
32
Front-Panel Operation
N o t e
34
Chapter 3 Front-Panel Operation
Front-Panel Operation Overview
Front-Panel Operation Overview
Local
3
15V
30V
Display Limit
Limit
Display Limit
Limit
Output On/Off
OFF
CV
15V
Rmt
Adrs
35
Chapter 3 Front-Panel Operation
Constant Voltage Operation
Constant Voltage Operation
1
2
Power
OFF
15V
30V,4A
30V
Display Limit
3
Limit
Volt/Curr
4
Limit
36
Chapter 3 Front-Panel Operation
Constant Voltage Operation
Volt/Curr
5
Limit
Display Limit
Output On/Off
6
7
Display Limit
Limit
3
OFF
15V
30V OVP OCP
CV
OVP
OCP
8
CV
CC
N o t e
CURRent {<current>|MIN|MAX}
VOLTage {<voltage>|MIN|MAX
OUTPut ON
Set the current
Set the voltage
Enable the output
37
Chapter 3 Front-Panel Operation
Constant Current Operation
Constant Current Operation
1
2
Power
OFF
15V
30V,4A
30V
Display Limit
3
Limit
4
Limit
38
Chapter 3 Front-Panel Operation
Constant Current Operation
Volt/Curr
5
Limit
Display Limit
Output On/Off
6
7
Display Limit
Limit
15V
3
OFF
30V OVP OCP
CC
OVP
OCP
8
CC
CV
N o t e
VOLTage {<voltage>|MIN|MAX}
CURRent {<current>|MIN|MAX}
OUTPut ON
Set the voltage
Set the current
Enable the output
1
39
Chapter 3 Front-Panel Operation
Storing and Recalling Operating States
Storing and Recalling Operating States
*RST
1
2
Store
STORE 1
STORE 3
3
Store
40
Chapter 3 Front-Panel Operation
Storing and Recalling Operating States
Store
4
DONE
Recall
5
6
3
RECALL 1
RECALL 3
Recall
Recall
7
DONE
*SAV {1|2|3}
*RCL {1|2|3}
Store an operating state to a specified location
Recall a previously stored state from a specified location
41
Chapter 3 Front-Panel Operation
Programming Overvoltage Protection
Programming Overvoltage Protection
Power
1
power-on / reset
OFF
15V
voltage
Output On/Off
Over Voltage
2
3
OFF
LEVEL 32.0 V
N o t e
Over Voltage
4
OVP ON
Over Voltage
42
Chapter 3 Front-Panel Operation
Programming Overvoltage Protection
Over Voltage
5
CHANGED
OVP
3
OVP
CC
OVP
Over Voltage
Display Limit
or
1
2
Display Limit
Over Voltage
Over Voltage
ovp on
Over Voltage
Over Voltage
43
Chapter 3 Front-Panel Operation
Programming Overvoltage Protection
Over Voltage
3
Over Voltage
OVP
VOLT:PROT {<voltage>|MIN|MAX}
VOLT:PROT:STAT {OFF|ON)
VOLT:PROT:CLE
Set the OVP level
Disable or enable the OVP circuit
Clear the tripped OVP circuit
N o t e
Figure 3-1. Recommended Protection Circuit for Battery Charging
44
Chapter 3 Front-Panel Operation
Programming Overcurrent Protection
Programming Overcurrent Protection
3
Power
1
OFF
OFF
15V
Output On/Off
Over Current
2
3
LEVEL 7.5 A
Over Current
4
OCP ON
Over Current
45
Chapter 3 Front-Panel Operation
Programming Overcurrent Protection
Over Current
5
CHANGED
OCP
OCP
OCP
Over Current
Display Limit
or
1
2
Display Limit
Over Current
ocp on
Over Current
Over Current
46
Chapter 3 Front-Panel Operation
Programming Overcurrent Protection
Over Current
3
Over Current
OCP
CURR:PROT {<current>|MIN|MAX}
CURR:PROT:STAT {OFF|ON}
CURR:PROT:CLE
Set the OCP level
Disable or enable the OCP circuit
Clear the tripped OCP circuit
3
47
Chapter 3 Front-Panel Operation
Remote Voltage Sensing
Remote Voltage Sensing
Ω
Unreg
48
Chapter 3 Front-Panel Operation
Remote Voltage Sensing
3
N o t e
N o t e
Figure 3-2. Remote Voltage Sensing Connections
49
Chapter 3 Front-Panel Operation
Disabling the Output
Disabling the Output
OFF
OFF
Output On/Off
OUTP {OFF|ON}
Disable or enable the output
50
Chapter 3 Front-Panel Operation
Disabling the Output Using an External Relay
Disabling the Output Using an External Relay
OUTPut:RELay{OFF|ON}
OUTPut:RELay
OUTPut:RELay
3
N o t e
N o t e
Knob Locking
51
Chapter 3 Front-Panel Operation
System-Related Operations
System-Related Operations
ERROR
ERROR
Recall
Error
Recall
*TST?
52
Chapter 3 Front-Panel Operation
System-Related Operations
ERROR
ERROR
3
*CLS
*RST
Error
ERROR
ERR -113
SYST:ERR?
Reads and error from the error queue
-113, "Undefined header"
53
Chapter 3 Front-Panel Operation
System-Related Operations
ERROR
Local
DISP {OFF|ON}
Disable / enable the display
DISP:TEXT <quoted string>
DISP:TEXT:CLE
Display the string enclosed in quotes
Clear the displayed message
"DISP:TEXT ‘HELLO’ "
54
Chapter 3 Front-Panel Operation
System-Related Operations
3
*IDN? Returns "HEWLETT-PACKARD,E3632A,0,X.X-X.X-X.X"
Be sure to dimension a string variable with at least 40 characters.
SYST:VERS?
Query the SCPI version
55
Chapter 3 Front-Panel Operation
Remote Interface Configuration
Remote Interface Configuration
The remote interface can be selected from the front-panel only.
on connecting the power supply to a computer over the GPIB interface.
2
on connecting the power supply to a computer over the RS-232 interface.
56
Chapter 3 Front-Panel Operation
Remote Interface Configuration
The GPIB address can be set from the front-panel only.
3
The baud rate can be set from the front-panel only.
9600
The parity can be set from the front-panel only.
None
57
Chapter 3 Front-Panel Operation
Remote Interface Configuration
I/O Config
1
GPIB / 488
I/O Config
2
ADDR 05
3
4
I/O Config
CHANGE SAVED
N o t e
58
Chapter 3 Front-Panel Operation
Remote Interface Configuration
I/O Config
1
GPIB / 488
3
2
3
RS-232
I/O Config
9600 BAUD
9600
9600
I/O Config
4
NONE 8 BITS
None 8 Bits
59
Chapter 3 Front-Panel Operation
Remote Interface Configuration
I/O Config
5
CHANGE SAVED
N o t e
60
Chapter 3 Front-Panel Operation
GPIB Interface Configuration
GPIB Interface Configuration
3
N o t e
61
Chapter 3 Front-Panel Operation
RS-232 Interface Configuration
RS-232 Interface Configuration
I/O Config
62
Chapter 3 Front-Panel Operation
RS-232 Interface Configuration
3
5182-4794
Cable
Instrument
PC
DCD
RX
TX
1
2
3
4
1
2
3
4
DCD
RX
TX
DTR
DTR
GND
DSR
RTS
CTS
RI
GND
DSR
RTS
CTS
RI
5
6
7
8
9
5
6
7
8
9
DB9
DB9
DB9
DB9
Female Male
Male
Female
63
Chapter 3 Front-Panel Operation
RS-232 Interface Configuration
5182-4794
Cable
5181-6641
Adapter
Instrument
PC
DCD
1
2
3
4
5
TX
RX
RTS
1
2
3
4
1
2
3
4
RX
2
TX
3
DTR
4
CTS
DSR
GND
DCD
DTR
6
7
8
20
5
6
7
8
9
5
6
7
8
9
GND
DSR
RTS
CTS
RI
5
6
7
8
9
DB25
Female
DB25
Male
DB9
Female
DB9
Female
DB9
Male
DB9
Male
1
64
Chapter 3 Front-Panel Operation
RS-232 Interface Configuration
2
3
SYSTem:REMote
65
Chapter 3 Front-Panel Operation
Calibration Overview
Calibration Overview
66
Chapter 3 Front-Panel Operation
Calibration Overview
SECURED
Calibrate
3
Secure
Secure
000000 CODE
Secure
UNSECURED
CAL:SEC:STAT {OFF|ON},<code> Secure or unsecure the power supply
"CAL:SEC:STAT OFF, HP003632"
67
Chapter 3 Front-Panel Operation
Calibration Overview
UNSECURED
Calibrate
Secure
Secure
000000 CODE
Secure
SECURED
CAL:SEC:STAT {OFF|ON},<code> Secure or unsecure the power supply
"CAL:SEC:STAT ON, HP003632"
68
Chapter 3 Front-Panel Operation
Calibration Overview
Secure
Secure
3
CAL:SEC:CODE <new code>Change the security code
"CAL:SEC:STAT OFF, HP003632*"
"CAL:SEC:CODE ZZ001443"
Unsecure with old code
Enter new code
"CAL:SEC:STAT ON, ZZ00143"
Secure with new code
69
Chapter 3 Front-Panel Operation
Calibration Overview
CAL:COUN?
Query the number of times of calibration
CAL:STR <quoted string> Store the cal message
"CAL:STR ‘CAL 05-1-97’ "
70
Chapter 3 Front-Panel Operation
Calibration Overview
3
71
4
Remote Interface Reference
Remote Interface Reference
SCPI
SCPI
SCPI
72
Chapter 4 Remote Interface Reference
SCPI Command Summary
SCPI Command Summary
4
SCPI
73
Chapter 4 Remote Interface Reference
SCPI Command Summary
Output Setting and Measurement Commands
APPLy {<voltage>|DEF|MIN|MAX}[,{<current>|DEF|MIN|MAX}]
APPLy?
[SOURce:]
CURRent[:LEVel][:IMMediate][:AMPLitude]{<current>|MIN|MAX|UP|DOWN}
CURRent[:LEVel][:IMMediate][:AMPLitude]? [MIN|MAX]
CURRent[:LEVel][:IMMediate]:STEP[:INCRement]
{<numeric value> |DEFault}
CURRent[:LEVel][:IMMediate]:STEP[:INCRement]? {DEFault}
CURRent[:LEVel]:TRIGgered[:AMPLitude] {<current>|MIN|MAX}
CURRent[:LEVel]:TRIGgered[:AMPLitude]? [MIN|MAX]
CURRent:PROTection[:LEVel] {<current>|MIN|MAX}
CURRent:PROTection[:LEVel]? {MIN|MAX}
CURRent:PROTection:STATe {0|1|OFF|ON}
CURRent:PROTection:STATe?
CURRent:PROTection:TRIPped?
CURRent:PROTection:CLEar
VOLTage[:LEVel][:IMMediate][:AMPLitude]{<voltage>|MIN|MAX|UP|DOWN}
VOLTage[:LEVel][:IMMediate][:AMPLitude]? [MIN|MAX]
VOLTage[:LEVel][:IMMediate]:STEP[:INCRement]
{<numeric value>|DEFault}
VOLTage[:LEVel][:IMMediate]:STEP[:INCRement]? {DEFault}
VOLTage[:LEVel]:TRIGgered[:AMPLitude] {<voltage>|MIN|MAX}
VOLTage[:LEVel]:TRIGgered[:AMPLitude]? [MIN|MAX]
VOLTage:PROTection[:LEVel] {<voltage>|MIN|MAX}
VOLTage:PROTection[:LEVel]? {MIN|MAX}
VOLTage:PROTection:STATe {0|1|OFF|ON}
VOLTage:PROTection:STATe?
VOLTage:PROTection:TRIPped?
VOLTage:PROTection:CLEar
VOLTage:RANGe {P15V|P30V|LOW|HIGH}
VOLTage:RANGe?
MEASure
:CURRent[:DC]?
[:VOLTage][:DC]?
74
Chapter 4 Remote Interface Reference
SCPI Command Summary
Triggering Commands
INITiate[:IMMediate]
TRIGger[:SEQuence]
:DELay {<seconds>|MIN|MAX}
:DELay?
:SOURce {BUS|IMM}
:SOURce?
*TRG
System-Related Commands
DISPlay[:WINDow]
[:STATe] {OFF|ON}
[:STATe]?
4
:TEXT[:DATA] <quoted string>
:TEXT[:DATA]?
:TEXT:CLEar
SYSTem
:BEEPer[:IMMediate]
:ERRor?
:VERSion?
OUTPut
:RELay[:STATe] {OFF|ON}
:RELay[:STATe]?
[:STATe] {OFF|ON}
[:STATe]?
*IDN?
*RST
*TST?
*SAV {1|2|3}
*RCL {1|2|3}
75
Chapter 4 Remote Interface Reference
SCPI Command Summary
Calibration Commands
CALibration
:COUNt?
:CURRent[:DATA] <numeric value>
:CURRent:LEVel {MIN|MID|MAX}
:CURRent:PROTection
:DAC:ERRor
:SECure:CODE <new code>
:SECure:STATe {OFF|ON},<code>
:SECure:STATe?
:STRing <quoted string>
:STRing?
:VOLTage[:DATA] <numeric value>
:VOLTage:LEVel {MIN|MID|MAX}
:VOLTage:PROTection
Status Reporting Commands
STATus:QUEStionable
:CONDition?
[:EVENt]?
:ENABle <enable value>
:ENABle?
SYSTem:ERRor?
*CLS
*ESE <enable value>
*ESE?
*ESR?
*OPC
*OPC?
*PSC {0|1}
*PSC?
*SRE <enable value>
*SRE?
*STB?
*WAI
76
Chapter 4 Remote Interface Reference
SCPI Command Summary
RS-232 Interface Commands
SYSTem
:LOCal
:REMote
:RWLock
IEEE-488.2 Common Commands
*CLS
*ESE <enable value>
*ESE?
*ESR?
*IDN?
*OPC
*OPC?
4
*PSC {0|1}
*PSC?
*RST
*SAV {1|2|3}
*RCL {1|2|3}
*SRE <enable value>
*SRE?
*STB?
*TRG
*TST?
*WAI
77
Chapter 4 Remote Interface Reference
Simplified Programming Overview
Simplified Programming Overview
APPLy
‘‘APPL 3.0, 1.0’’
APPLy
‘‘VOLT 3.0’’
‘‘CURR 1.0’’
Set output voltage to 3.0 V
Set output current to 1.0 A
78
Chapter 4 Remote Interface Reference
Simplified Programming Overview
dimension statement
‘‘SYST:ERR?’’
Dimension string array (80 elements)
Read error queue
bus enter statement
print statement
Enter error string into computer
Print error string
4
‘‘VOLT:TRIG 3.0’’
‘‘CURR:TRIG 1.0’’
‘‘TRIG:SOUR IMM’’
‘‘INIT’’
Set the triggered voltage level to 3.0 V
Set the triggered current level to 1.0 A
Select the immediate trigger as a source
Cause the trigger system to initiate
79
Chapter 4 Remote Interface Reference
Simplified Programming Overview
SOURce
Refer to this table to identify programming values when programming the power
supply.
Table 4-1. Agilent E3632A Programming Ranges
0 - 15V/7A Range
0 - 30V/4A Range
Voltage
Programming Range 0 V to 15.45V
0 V to 30.9 V
30.9 V
0 V
MAX Value
MIN Value
15.45 V
0 V
DEFault Value
*RST Value
0 V
0 V
0 V
Current
Programming Range 0 A to 7.21 A
0 A to 4.12 A
4.12 A
0 A
MAX Value
MIN Value
DEFault Value
*RST
7.21 A
0 A
7 A
4 A
7 A
80
Chapter 4 Remote Interface Reference
Using the APPLy Command
Using the APPLy Command
APPLy
APPLy {<voltage>| DEF | MIN | MAX}[,{<current>| DEF | MIN | MAX}]
VOLTage CURRent
APPLy
4
APPLy
APPLy?
"15.00000,4.00000"
81
Chapter 4 Remote Interface Reference
Output Setting and Operation Commands
Output Setting and Operation Commands
APPLy
CURRent{<current>|MINimum | MAXimum|UP|DOWN}
CURRent
CURRentSTEP
CURRent
Example
CURRUP CURRDOWN
CURRSTEP
"CURR:STEP 0.01"
"CURR UP"
Set the step size to 0.01 A
Increase the output current
"CURR:STEP 0.02"
"CURR DOWN"
Set the step size to 0.02 A
Decrease the output current
82
Chapter 4 Remote Interface Reference
Output Setting and Operation Commands
CURRent? [MINimum | MAXimum]
CURR?MAX
CURR? MIN
CURRent:STEP {<numeric value>|DEFault}
UP CURRentDOWN
CURRent
CURR:STEP? DEF
*RST
4
CURRent:STEP? {DEFault}
CURRent:TRIGgered {<current>| MINimum | MAXimum}
CURRent
CURRent:TRIGgered? [MINimum | MAXimum]
CURRent
CURR:TRIG?
MAX
CURR:TRIG? MIN
83
Chapter 4 Remote Interface Reference
Output Setting and Operation Commands
CURRent:PROTection {<current>|MINimum|MAXimum}
CURR:PROT:CLE
CURRent:PROTection? {MINimum|MAXimum}
CURR:PROT? MAX CURR:PROT? MIN
CURRent:PROTection:STATe {0|1|OFF|ON}
CURR:PROT:CLE
*RST
CURRent:PROTection:STATe?
CURRent:PROTection:TRIPped?
CURRent:PROTection:CLEar
84
Chapter 4 Remote Interface Reference
Output Setting and Operation Commands
VOLTage {<voltage>| MINimum | MAXimum|UP|DOWN}
VOLTage
MAX
VOLTage:STEP
VOLTage
Example
VOLT UP
VOLT DOWN
VOLT:STEP
4
"VOLT:STEP 0.01"
"VOLT UP"
Set the step size to 0.01 V
Increase the output voltage
"VOLT:STEP 0.02"
"VOLT DOWN"
Set the step size to 0.02 V
Decrease the output voltage
VOLTage? [MINimum | MAXimum]
VOLT? MAX VOLT? MIN
85
Chapter 4 Remote Interface Reference
Output Setting and Operation Commands
VOLTage:STEP {<numeric value>|DEFault}
VOLT UP
VOLT DOWN
VOLT:STEP? DEF
*RST
VOLTage:STEP? {DEFault}
VOLTage:TRIGgered {<voltage>| MINimum | MAXimum}
VOLTage
VOLTage:TRIGgered? [MINimum | MAXimum]
VOLT
VOLT:TRIG? MAX
VOLT:TRIG? MIN
VOLTage:PROTection {<voltage>|MINimum|MAXimum}
VOLT:PROT:CLE
86
Chapter 4 Remote Interface Reference
Output Setting and Operation Commands
VOLTage:PROTection? {MINimum|MAXimum}
VOLT:PROT? MAX VOLT:PROT? MIN
VOLTage:PROTection:STATe {0|1|OFF|ON}
VOLT:PROT:CLE
*RST
VOLTage:PROTection:STATe?
VOLTage:PROTection:TRIPped?
VOLTage:PROTection:CLEar
4
VOLTage:RANGe {P15V|P30V||LOW|HIGH}
*RST
VOLTage:RANGe?
87
Chapter 4 Remote Interface Reference
Output Setting and Operation Commands
MEASure:CURRent?
MEASure[:VOLTage]?
88
Chapter 4 Remote Interface Reference
Triggering Commands
Triggering Commands
Notice that the time delay is valid for only the bus trigger source.
INITiate
IMMediate
*TRG
4
TRIG:SOUR BUS
*TRG
*TRG
89
Chapter 4 Remote Interface Reference
Triggering Commands
TRIGGER 705(group execute trigger)
*WAI
*WAI
*OPC
TRIG:SOUR BUS;*TRG;*WAI;*TRG;*WAI
*OPC?
*OPC?
*OPC
TRIG:SOUR IMM
IMMediate
INITiate
VOLT:TRIG CURR:TRIG
VOLT CURR
90
Chapter 4 Remote Interface Reference
Triggering Commands
INITiate
TRIGger:DELay {<seconds>| MINimum | MAXimum}
*RST
TRIGger:DELay?
TRIGger:SOURce {BUS | IMMediate}
4
*RST
TRIGger:SOURce?
*TRG
(TRIG:SOUR BUS)
SYST:REM
91
Chapter 4 Remote Interface Reference
System-Related Commands
System-Related Commands
DISPlay {OFF | ON}
ERROR
Local
DISPlay?
DISPlay:TEXT <quoted string>
DISPlay:TEXT?
DISPlay:TEXT:CLEar
OUTPut {OFF | ON}
*RST
OUTPut?
92
Chapter 4 Remote Interface Reference
System-Related Commands
OUTPut:RELay {OFF | ON}
OUTPut:RELay
OUTPut:RELay
*RST
OUTPut:RELay
N o t e
N o t e
OUTPut:RELay?
4
OUTP:REL
SYSTem:BEEPer
SYSTem:ERRor?
ERROR
ERROR
*CLS
*RST
93
Chapter 4 Remote Interface Reference
System-Related Commands
SYSTem:VERSion?
*IDN?
HEWLETT-PACKARD,E3632A,0,X.X-X.X-X.X
*RST
CURR
CURR:STEP
CURR:TRIG
CURR:PROT
CURR:PROT:STAT
DISP
OUTP
OUTP:REL
TRIG:DEL
TRIG:SOUR
VOLT
VOLT:STEP
VOLT:TRIG
VOLT:PROT
VOLT:PROT:STAT
VOLT:RANG
94
Chapter 4 Remote Interface Reference
System-Related Commands
*TST?
*SAV { 1 | 2 | 3 }
CURR, CURR:STEP, CURR:TRIG, CURR:PROT, CURR:PROT:STAT DISP,
OUTP, OUTP:REL, TRIG:DEL, TRIG:SOUR, VOLT, VOLT:STEP, VOLT:TRIG,
VOLT:PROT, VOLT:PROT:STAT, and VOLT:RANG
*RCL { 1 | 2 | 3 }
4
N o t e
DISP {OFF|ON}
95
Chapter 4 Remote Interface Reference
Calibration Commands
Calibration Commands
N o t e
CALibration:COUNt?
CALibration:CURRent <numeric value>
CAL:CURR:LEV
MIN
CAL:CURR:LEV MID CAL:CURR:LEV MAX
CALibration:CURRent:LEVel {MINimum | MIDdle|MAXimum}
CAL:CURR
CALibration:CURRent:PROTection
96
Chapter 4 Remote Interface Reference
Calibration Commands
CALibration:DAC:ERRor
CALibration:SECure:CODE <new code>
CALibration:SECure:STATe {OFF | ON},<code>
CALibration:SECure:STATe?
4
CALibration:STRing <quoted string>
CALibration:STRing?
CALibration:VOLTage[:DATA] <numeric value>
CAL:VOLT:LEV
CAL:VOLT:LEV MID CAL:VOLT:LEVMAX
MIN
97
Chapter 4 Remote Interface Reference
Calibration Commands
CALibration:VOLTage:LEVel {MINimum | MIDdle|MAXimum}
CAL:VOLT
CALibration:VOLTage:PROTection
98
Chapter 4 Remote Interface Reference
RS-232 Interface Commands
RS-232 Interface Commands
SYSTem:LOCal
SYSTem:REMote
SYST:REM
4
SYSTem:RWLock
Ctrl-C
SYST:REM
99
Chapter 4 Remote Interface Reference
The SCPI Status Registers
The SCPI Status Registers
*ESR?
STAT:QUES:EVEN?
*RST
*CLS
*CLS
100
Chapter 4 Remote Interface Reference
The SCPI Status Registers
4
Binary Weight
0
2 = 1
1
2 = 2
2
2 = 4
3
2 = 8
4
2 = 16
5
2 = 32
6
2 = 64
7
2 = 128
8
2 = 256
9
2 = 512
10
2
2
2
2
2
2
= 1024
= 2048
= 4096
= 8192
= 16384
= 32768
11
12
13
14
15
101
Chapter 4 Remote Interface Reference
The SCPI Status Registers
STATus:QUEStionable?
Table 4-2. Bit Definitions - Questionable Status Register
Bit
Decimal Definition
Value
0
Voltage
Current
1
The power supply is/was in the constant current
mode.
1
2
The power supply is/was in the constant voltage
mode.
2-3 Not Used
0
Always set to 0.
4
16
The fan has a fault condition.
Overtemperature
5-8 Not Used
0
Always set to 0.
9
Over Voltage
Over Current
512
The overvoltage protection circuit has tripped.
10
1024 The overcurrent protection circuit has tripped.
Always set to 0.
11-15 Not Used
0
*CLS
STAT:QUES?
STAT:QUES:ENAB 0
102
Chapter 4 Remote Interface Reference
The SCPI Status Registers
*OPC
*ESE
SYST:ERR?
Table 4-3. Bit Definitions – Standard Event Register
Bit
Decimal
Value
Definition
4
0
OPC
Operation Complete. All commands prior to and
including an *OPC command have been executed.
1
0
1
2
Not Used
QYE
Always set to 0.
Query Error. The power supply tried to read the output
buffer but it was empty. Or, new command line was
received before a previous query had been read. Or,
both the input and output buffers are full.
4
3
4
5
DDE
EXE
CME
Device Error. A self-test or calibration error occurred
(see error numbers 601 through 750 in chapter 5).
8
Execution Error. An execution error occurred (see error
numbers -211 through -224 in chapter 5).
16
Command Error. A command syntax error occurred
(see error numbers -101 through -178 in chapter 5).
32
0
6
7
Not Used
PON
Always set to 0.
Power On. Power has been turned off and on since the
last time the event register was read or cleared.
128
103
Chapter 4 Remote Interface Reference
The SCPI Status Registers
*CLS
*ESR?
*ESE 0
*PSC 1
*PSC 0
Table 4-4. Bit Definitions – Status Byte Summary Register
Bit
Decimal
Value
Definition
0-2 Not Used
0
8
Always set to 0.
3
QUES
One or more bits are set in the questionable status
register (bits must be “enabled” in the enable
register).
4
5
MAV
ESB
16
32
Data is available in the power supply output buffer.
One or more bits are set in the standard event
register (bits must be “enabled” in the enable
register).
6
7
RQS
64
0
The power supply is requesting service (serial poll).
Always set to 0.
Not Used
104
Chapter 4 Remote Interface Reference
The SCPI Status Registers
*CLS
*ESR?
*SRE 0
*PSC 1
*PSC 0
4
*SRE
105
Chapter 4 Remote Interface Reference
The SCPI Status Registers
C a u t i o n
*OPC?
*RST, *CLS,
*STB?
*STB?
*STB?
*STB?
*STB?
1
CLEAR 705
2
3
*CLS
*SRE
*ESE
4
5
*OPC?
106
Chapter 4 Remote Interface Reference
The SCPI Status Registers
1
CLEAR 705
2
3
*CLS
*ESE 1
*OPC?
4
5
*OPC
6
*SRE 32
4
*OPC
*OPC
*OPC
107
Chapter 4 Remote Interface Reference
Status Reporting Commands
Status Reporting Commands
SYSTem:ERRor?
ERROR
ERROR
*CLS
*RST
STATus:QUEStionable:CONDition?
STATus:QUEStionable?
108
Chapter 4 Remote Interface Reference
Status Reporting Commands
STATus:QUEStionable:ENABle <enable value>
STATus:QUEStionable:ENABle?
*CLS
*ESE<enable value>
*ESE?
*ESR?
*OPC
4
*OPC?
*PSC { 0 | 1 }
*PSC 1
*PSC
0
109
Chapter 4 Remote Interface Reference
Status Reporting Commands
*PSC?
(*PSC 0
*SRE <enable value>
*PSC 1
*SRE?
*STB?
*STB?
*STB?
*WAI
110
Chapter 4 Remote Interface Reference
An Introduction to the SCPI Language
An Introduction to the SCPI Language
SOURce
[SOURce:]
CURRent {<current>|MIN|MAX|UP|DOWN}
CURRent? [MIN|MAX]
CURRent:
4
TRIGgered {<current>|MIN|MAX}
TRIGgered?{MIN|MAX}
VOLTage {<voltage>|MIN|MAX|UP|DOWN}
VOLTage? [MIN|MAX]
VOLTage:
TRIGgered {<voltage>|MIN|MAX}
TRIGgered? {MIN|MAX}
SOURce
CURRent
VOLTage
TRIGgered
111
Chapter 4 Remote Interface Reference
An Introduction to the SCPI Language
CURRent {<current>|MINimum|MAXimum|UP|DOWN}
CURR
CURRENT
CURRENT curr
CURREN
Curr
CUR
CURR
0.1
SOURce:CURRent:TRIGgered
APPLy 3.5,1.5
112
Chapter 4 Remote Interface Reference
An Introduction to the SCPI Language
"SOURce:CURRent:TRIGgered"
"SOUR:VOLT MIN;CURR MAX"
"SOUR:VOLT MIN"
"SOUR:CURR MAX"
DISP:TEXT:CLE;:SOUR:CURR MIN
4
MINimum MAXimum
CURRent {<current>|MIN|MAX}
MAXimum
MINimum
113
Chapter 4 Remote Interface Reference
An Introduction to the SCPI Language
CURR 5
CURR?
CURR? MAX
CURR? MIN
C a u t i o n
*RST; *CLS; *ESE 32; *OPC?
114
Chapter 4 Remote Interface Reference
An Introduction to the SCPI Language
MINimum MAXimum
DEFault
CURR {<current>|MIN|MAX|UP|DOWN}
BUS IMM
4
TRIG:SOUR {BUS|IMM}
DISP {OFF|ON}
DISP:TEXT <quoted string>
115
Chapter 4 Remote Interface Reference
Halting an Output in Progress
Halting an Output in Progress
CLEAR 705
IEEE-488 Device Clear
IOCLEAR (705)
N o t e
116
Chapter 4 Remote Interface Reference
SCPI Conformance Information
SCPI Conformance Information
DISPlay
[:WINDow][:STATe] {OFF|ON}
[:WINDow][:STATe]?
[:WINDow]:TEXT[:DATA] <quoted string>
[:WINDow]:TEXT[:DATA]?
[:WINDow]:TEXT:CLEar
4
INITiate[:IMMediate]
MEASure
:CURRent[:DC]?
[:VOLTage][:DC]?
OUTPut
[:STATe] {OFF|ON}
[:STATE]?
[SOURce]
:CURRent[:LEVel][:IMMediate][:AMPLitude] {<current>|MIN|MAX|UP|DOWN}
:CURRent[:LEVel][:IMMediate][:AMPLitude]? [MIN|MAX]
:CURRent[:LEVel][:IMMediate]:STEP[:INCRement] {<numeric value>|DEFault}
:CURRent[:LEVel][:IMMediate]:STEP[:INCRement]? {DEFault}
:CURRent[:LEVel]:TRIGgered[:AMPLitude] {<current>|MIN|MAX}
:CURRent[:LEVel]:TRIGgered[:AMPLitude]?[MIN|MAX]
:CURRent:PROTection[:LEVel] {<current>|MIN|MAX}
:CURRent:PROTection[:LEVel]? {MIN|MAX}
:CURRent:PROTection:STATe {0|1|OFF|ON}
:CURRent:PROTection:STATe?
:CURRent:PROTection:TRIPped?
:CURRent:PROTection:CLEar
117
Chapter 4 Remote Interface Reference
SCPI Conformance Information
(continued)
[SOURce]
:VOLTage[:LEVel][:IMMediate][:AMPLitude] {<voltage>|MIN|MAX|UP|DOWN}
:VOLTage[:LEVel][:IMMediate][:AMPLitude]?[MIN|MAX]
:VOLTage[:LEVel][:IMMediate]:STEP[:INCRement] {<numeric value>|DEFault}
:VOLTage[:LEVel][:IMMediate]:STEP[:INCRement]? {DEFault}
:VOLTage[:LEVel]:TRIGgered[:AMPLitude] {<voltage>|MIN|MAX}
:VOLTage[:LEVel]:TRIGgered[:AMPLitude]?[MIN|MAX]
:VOLTage:PROTection[:LEVel] {<voltage>|MIN|MAX}
:VOLTage:PROTection[:LEVel]? {MIN|MAX}
:VOLTage:PROTection:STATe {0|1|OFF|ON}
:VOLTage:PROTection:STATe?
:VOLTage:PROTection:TRIPped?
:VOLTage:PROTection:CLEar
:VOLTage:RANGe {P15V|P30V|LOW|HIGH}
:VOLTage:RANGe?
STATus
:QUEStionable:CONDition?
:QUEStionable[:EVENt]?
:QUEStionable:ENABle <enable value>
:QUEStionable:ENABle?
SYSTem
:BEEPer[:IMMediate]
:ERRor?
:VERSion
TRIGger
[:SEQuence]:DELay {<seconds>|MIN|MAX}
[:SEQuence]:DELay?
[:SEQuence]:SOURce{BUS|IMM}
[:SEQuence]:SOURce?
118
Chapter 4 Remote Interface Reference
SCPI Conformance Information
APPLy {<voltage>|DEF|MIN|MAX>}[,{<current>|DEF|MIN|MAX}]
APPLy?
CALibration
:COUNt?
:CURRent[:DATA] <numeric value>
:CURRent:LEVel {MIN|MID|MAX}
:CURRent:PROTection
:DAC:ERRor
:SECure:CODE <new code>
:SECure:STATe {OFF|ON},<code>
:SECure:STATe?
:STRing <quoted string>
:STRing?
4
:VOLTage[:DATA] <numeric value>
:VOLTage:LEVel {MIN|MID|MAX}
:VOLTage:PROTection
OUTPut
:RELay[:STATe] {OFF|ON}
:RELay[:STATE]?
SYSTem
:LOCal
:REMote
:RWLock
119
Chapter 4 Remote Interface Reference
IEEE-488 Conformance Information
IEEE-488 Conformance Information
Dedicated Hardware Lines
IEEE-488 Common Commands
ATN
IFC
REN
SRQ
Attention
Interface Clear
Remote Enable
*CLS
*ESE <enable value>
*ESE?
Service Request Enable *ESR?
*IDN?
*OPC
Addressed Commands
*OPC?
*PSC {0|1}
*PSC?
*RST
*SAV {1|2|3}
*RCL {1|2|3}
*SRE <enable value>
*SRE?
DCL
EOI
GET
GTL
LLO
SDC
SPD
SPE
Device Clear
End or Identify
Group Execute Trigger
Go To Local
Local Lockout
Selected Device Clear
Serial Poll Disable
Serial Poll Enable
*STB?
*TRG
*TST?
*WAI
120
Error Messages
ERROR
ERROR
*CLS
*RST
Error
ERROR
error -113
SYSTem:ERRor?
Reads one error from the error queue
-113, "Undefined header"
122
Chapter 5 Error Messages
Execution Errors
Execution Errors
-101
-102
-103
OUTP:STAT #ON
VOLT:LEV ,1
TRIG:SOUR,BUS
APPL 1.0 1.0
-104
5
-105
-108
APPL? 10
-109
APPL
123
Chapter 5 Error Messages
Execution Errors
-112
-113
TRIGG:DEL 3
-121
*ESE #B01010102
-123
-124
-128
-131
DISP:TEXT 123
TRIG:DEL 0.5 SECS
-134
-138
STAT:QUES:ENAB 18 SEC
124
Chapter 5 Error Messages
Execution Errors
-141
-144
-148
DISP:TEXT ON
DISP:TEXT ON
TRIG:DEL‘zero’
-151
-158
5
-160 to -168
-170 to -178
-211
*TRG
INIT[:IMM]
-213
INITiate
125
Chapter 5 Error Messages
Execution Errors
-221
-222
TRIG:DEL -3
-223
-224
CALibration:STRing
DISP:STAT XYZ XYZ
-330
-350
*TST?
*CLS
-410
-420
*RST
APPLy
ENTER
126
Chapter 5 Error Messages
Execution Errors
-430
-440
*IDN?
*IDN?;:SYST:VERS?
501
502
511
512
513
514
SYSTem:LOCal SYSTemREMote
SYSTem:RWLock
5
521
522
550
SYSTem:REMote
127
Chapter 5 Error Messages
Self-Test Errors
Self-Test Errors
601
602
603
604
605
606
607
608
624
625
626
630
631
632
128
Chapter 5 Error Messages
Calibration Errors
Calibration Errors
701
702
703
704
705
5
708
712
OUTP OFF
CAL:VOLT CAL:CURR
713
CAL:VOLT CAL:CURR
129
Chapter 5 Error Messages
Calibration Errors
714
715
716
717
740
741
742
743
744
745
746
747
748
749
750
130
Application Programs
visa.dll
windows/system
132
Chapter 6 Application Programs
C++ Example for GPIB(IEEE 488)
C++ Example for GPIB(IEEE 488)
visa.lib
visa.h
c:\vxipnp\win\lib\msc\
c:\vxipnp\win\include
Diode.c
/*Diode.C
This example program steps the E3632A DC Power Supply through 10 voltages and measures the
current response. It prints the voltage step and the current response as a table. Note that
the GPIB address is the default address from the factory for the E3632A.*/
#include <visa.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
/* Provides a delay of the specified time wait in milliseconds*/
void delay( clock_t wait );
void main ()
{
ViSession defaultRM;
ViSession power_supply; /* session id to an instrument
char reply_string [256]; /* string returned from instrument
char GPIB_address [3];
char Visa_address[40];
double voltage;
/* resource manager id
*/
*/
*/
*/
*/
*/
/* GPIB address of instrument
/* Complete VISA address send to card
/* value of voltage sent to power supply
6
double current;
/* value of current output of power supply */
/* build the address needed to open communication with GPIB card */
/* address format looks like this; GPIB0::5::INSTR */
/*
*/
strcpy(GPIB_address, "5"); /****** Change GPIB address here *****/
strcpy(Visa_address, "GPIB0::");
strcat(Visa_address, GPIB_address);
133
Chapter 6 Application Programs
C++ Example for GPIB(IEEE 488)
...continued
/* Open communication (session) with power supply */
viOpenDefaultRM (&defaultRM);
viOpen (defaultRM, Visa_address, 0,0, &power_supply);
/* Query the power supply id, read response and print */
viPrintf (power_supply, "*IDN?\n");
viScanf (power_supply, "%s", &reply_string);
printf ("Instrument identification string:\n
%s\n\n", reply_string);
/* Initialize Power Supply */
viPrintf (power_supply, "*RST\n");
viPrintf (power_supply, "Current 2\n"); /* Set Current limit to 2A
viPrintf (power_supply, "Output on\n"); /* Turn output on
/* Set power on condition
*/
*/
*/
printf("Voltage Current\n\n");
/* Print heading
*/
/* Step from 0.6v to 0.8 volt in .02volt steps */
for(voltage =.6;voltage <<=.8001;voltage +=.02)
{
viPrintf (power_supply, "Volt %f\n",voltage);
printf("%.3f",voltage);
delay(500);
/*set voltage
/* print power supply setting */
/* allow output to settle for 500 msec */
*/
viPrintf(power_supply,"Measure:Current?\n");
viScanf (power_supply, "%lf",¤t);
/*measure output current
/* retrieve reading
/* print reading
*/
*/
*/
printf("
}
%.3lf\n",current);
viPrintf (power_supply, "Output Off\n");
/* turn off output
*/
/* Close communication session */
viClose (power_supply);
viClose (defaultRM);
}
/* Pauses for a specified number of milliseconds. */
void delay( clock_t wait )
{
clock_t goal;
clock_t delay;
wait = wait/1000;
delay = (clock_t)wait * CLOCKS_PER_SEC;
goal = delay + clock();
while( goal > clock() );
}
End of Program
134
Chapter 6 Application Programs
Excel 5.0 Example for Windows 3.1 and GPIB
Excel 5.0 Example for Windows 3.1 and GPIB
6
135
Chapter 6 Application Programs
Excel 5.0 Example for Windows 3.1 and GPIB
Diode bas Macro
Option Explicit
'"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
' This is the subroutine first executed. Modify this routine
' to suit your needs. To change the GPIB address, go to the module GPIB,
' Sub OpenPort(), and change the variable VISAaddr = "5" to the
' required GPIB address
'"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Sub Diode()
Range("B5:B15").ClearContents
Dim I As Integer
OpenPort
SendSCPI "*RST"
SendSCPI "Output ON"
For I = 5 To 15
'Reset E3632A to power on condition
'Turn on the output
' Convert the worksheet value to a string, add to SCPI command
SendSCPI "Volt" & Str$(Cells(I, 1))
' Request a current measurement, put response in worksheet
Cells(I, 2) = Val(SendSCPI("meas:current?"))
Next I
SendSCPI "Output OFF"
ClosePort
End Sub
'Turn off the output
136
Chapter 6 Application Programs
Excel 5.0 Example for Windows 3.1 and GPIB
GPIB bas Macro
Option Explicit
' - Declarations for VISA.DLL, additional declarations are usually in the
' directory c:\vxipnp\win\include in file visa.bas, also see the VISA manual
Declare Function viOpenDefaultRM Lib "VISA.DLL" Alias "#141" (sesn As Long) As Long
Declare Function viOpen Lib "VISA.DLL" Alias "#131" (ByVal sesn As Long, _
ByVal desc As String, ByVal mode As Long, ByVal TimeOut As Long, vi As Long) As Long
Declare Function viClose Lib "VISA.DLL" Alias "#132" (ByVal vi As Long) As Long
Declare Function viRead Lib "VISA.DLL" Alias "#256" (ByVal vi As Long, _
ByVal Buffer As String, ByVal Count As Long, retCount As Long) As Long
Declare Function viWrite Lib "VISA.DLL" Alias "#257" (ByVal vi As Long, _
ByVal Buffer As String, ByVal Count As Long, retCount As Long) As Long
' Error Codes and other global variables
Global Const VI_SUCCESS = &h0&
Global videfaultRM As Long
Global vi As Long
Dim errorStatus As Long
' resource manager id for VISA GPIB
' stores the session for VISA
' VTL error code
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' This routine requires the file VISA.dll. It typically resides under
' the directory c:\windows\system. This routine uses the VTL Library to
' send commands to an instrument. A description of these and additional
' VTL commands are contained in the Hewlett Packard Visa Transition
' Library book Agilent PN E2094-90002.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Function SendSCPI(SCPICmd As String) As String
' This function will send a SCPI command string to the
' GPIB port. If the command contains a question mark,
' the response is read, and returned.
Dim readbuf As String * 512
Dim crlfpos As Integer
Dim cmdString As String
Dim ReturnString As String
Dim actual As Long
' buffer used for returned string
' location of CR's and LF's in readbuf
' command passed to instrument
' string returned from instrument
' number of characters send/returned
6
'Set up an error handler within this subroutine that will get
'called if an error occurs.
On Error GoTo VIerrorHandler
'Write the command to the instrument terminated by a linefeed.
cmdstring = SCPICmd & Chr$(10)
errorStatus = viWrite(vi, ByVal commandstr, Len(commandstr), actual)
137
Chapter 6 Application Programs
Excel 5.0 Example for Windows 3.1 and GPIB
...continued
If InStr(SCPICmd, "?") Then
'If a query read the response string
errorStatus = viRead(vi, ByVal readbuf, 512, actual)
ReturnString = readbuf
'Strip out any nul's from the response string.
crlfpos = InStr(ReturnString, Chr$(0))
If crlfpos Then
ReturnString = Left(ReturnString, crlfpos - 1)
End If
SendSCPI = ReturnString
End If
'return the remaining string
' end of query to instrument for a response
Exit Function
VIerrorHandler:
'Display the error message in the txtResponse TextBox
MsgBox " I/O Error: " & Error$()
'Close the device session
errorStatus = viClose(vi)
Exit Function
End Function
Sub OpenPort()
Dim VISAaddr As String
'****************************
'Change the GPIB address here
'****************************
VISAaddr = "5"
errorStatus = viOpenDefaultRM(videfaultRM)
'open the visa session
'Open communication to instrument
errorStatus = viOpen(videfaultRM, "GPIB0::" & VISAaddr & "::INSTR",0, 1000, vi)
If errorStatus < VI_SUCCESS Then
Cells(1, 1) = "Unable to Open port"
End If
' on error give message
End Sub
Sub ClosePort()
errorStatus = viClose(vi)
'close the session
errorStatus = viClose(videfaultRM)
End Sub
End of Program
138
Chapter 7 Tutorial
Overview of Agilent E3632A Operation
Overview of Agilent E3632A Operation
Figure 7-1. Diagram of Simple Series Power Supply with Tap Selection
7
141
Chapter 7 Tutorial
Overview of Agilent E3632A Operation
Figure 7-2. Block Diagram of the Power Supply Showing the Optical Isolation
142
Chapter 7 Tutorial
Output Characteristics
Output Characteristics
Figure 7-3. Ideal Constant Voltage
Power Supply
Figure 7-4. Ideal Constant Current
Power Supply
7
143
Chapter 7 Tutorial
Output Characteristics
L
C
L
C
C
Figure 7-5. Output Characteristics
L
C
144
Chapter 7 Tutorial
Output Characteristics
7
145
Chapter 7 Tutorial
Output Characteristics
Figure 7-6. Simplified Diagram of Common Mode and Normal Mode Sources of Noise
146
Chapter 7 Tutorial
Connecting the Load
Connecting the Load
Table 7-1. Wire Rating
AWG
10
12
14
20
16
13
18
10
20
7
22
5
24
26
28
Suggested
40
25
3.5
2.5
1.7
maximum
Current(amps)*
mΩ/ft
1.00
3.3
1.59
5.2
2.53
8.3
4.02
13.2
6.39
21.0
10.2
33.5
16.1
52.8
25.7
84.3
40.8
64.9
mΩ/m
133.9 212.9
7
*Single conductor in gree air at 30 °C with insulation
147
Chapter 7 Tutorial
Connecting the Load
W a r n i n g
Figure 7-7. Regulated Power Supply with Remote Sensing
148
Chapter 7 Tutorial
Connecting the Load
Table 7-2. Slew Rate
Internal
Capacitance
Internal Bleed Slew Rate at No Load and
Resistor
Full Scale Currnet Setting
470 μF
5 KΩ
1.5 V/msec
7
149
Chapter 7 Tutorial
Connecting the Load
150
Chapter 7 Tutorial
Extending the Voltage and Current Range
Extending the Voltage and Current Range
7
151
Chapter 7 Tutorial
Remote Programming
Remote Programming
Figure 7-8. Speed of Response - Programming Up (Full Load)
152
Chapter 7 Tutorial
Remote Programming
Figure 7-9. Speed of Response - Programming Down
7
153
Chapter 7 Tutorial
Reliability
Reliability
154
Chapter 8 Specifications
Performance Specifications
Performance Specifications
Output Ratings(@0°C - 40°C)
Low range
High range
0 to +15 V/0 to 7 A
0 to +30 V/0 to 4 A
[1]
Programming Accuracy 12 months(@25°C ± 5°C), ±(% of output + offset)
Voltage
Current
0.05% + 10 mV
0.2% + 10 mA
[1]
Readback Accuracy 12 months(over GPIB and RS-232 or front panel with respect
to actual output @25°C ± 5°C), ±(% of output + offset)
Voltage
Current
0.05% + 5 mV
0.15% + 5 mA
Ripple and Noise (with outputs ungrounded, or with either output terminal grounded,
20 Hz to 20 MHz)
Normal mode voltage
Normal mode current
Common mode current
<0.35 mV rms and 2 mV p-p
<2 mA rms
<1.5 μA rms
Load Regulation, ±(% of output + offset)
Change in output voltage or current for any load change within ratings with remote
sensing connected
Voltage
Current
<0.01% + 2 mV
<0.01% + 250 μA
Line Regulation, ±(% of output + offset)
Change in output voltage and current for any line change within ratings
Voltage
Current
<0.01% + 2 mV
<0.01% + 250 μA
[1]
Accuracy specifications are after an 1-hour warm-up with no load and calibration at
25 °C.
8
157
Chapter 8 Specifications
Performance Specifications
Programming Resolution
Voltage
Current
1 mV
0.5 mA
Readback Resolution
Voltage
Current
0.5 mV
0.1 mA
Front Panel Resolution
Voltage
Current
1 mV
1 mA
Transient Response Time
Less than 50 μsec for output to recover to within 15 mV following a change in output
current from full load to half load or vice versa
Command Processing Time
Average time for output voltage to begin to change after receipt of digital data when
the power supply is connected directly to the GPIB or RS-232 is less than 100 msec
OVP and OCP Accuracy, ±(% of output + offset)
OVP
OCP
0.5% + 0.5 V
0.5% + 0.5 A
Activation time : Average time for output to start to drop after OVP or OCPcondition
occurs.
OVP
<1.5 msec when the trip voltage is equal or greater than 3 V
<10 msec when the trip voltage is less than 3 V
OCP
<10 msec
158
Chapter 8 Specifications
Supplemental Characteristics
Supplemental Characteristics
Output Programming Range (maximum programmable values)
Low range
High range
OVP
0 to 15.45 V/0 to 7.21A
0 to 30.9 V/0 to 4.12 A
1 V to 32 V
OCP
0 A to 7.5 A
Remote Sensing Capability
Voltage drop
Up to 1 V per each lead
Load regulation Add 5 mV to spec for each 1-volt change in the + output
lead due to load current changes.
Load voltage
Subtract voltage drop in load leads from specified output
voltage rating.
Temperature Coefficient, ±(% of output + offset)
Maximum change in output/readback per °C after a 30-minute warm-up
Voltage
Current
0.01% + 3 mV
0.02% + 3 mA
Stability, ±(% of output + offset)
Following 1 hour warm-up, change in output over 8 hours under constant load, line,
and ambient temperature
Voltage
Current
0.02% + 1 mV
0.1% + 1 mA
Voltage Programming Speed
Maximum time required for output voltage to settle within 1% of its total excursion (for
resistive load). Excludes command processing time.
Full load
No laod
Up
Down
50 msec
45 msec
20 msec
400 msec
8
159
Chapter 8 Specifications
Supplemental Characteristics
Output Terminal Isolation (maximum, from chassis ground)
±60 Vdc when connecting shorting conductors without insulation to the (+) output to
the (+) sense and the (-) output and the (-) sense terminals.
±240 Vdc when connecting insulated shorting conductors to the (+) output to the (+)
sense and the (-) output and the (-) sense terminals.
AC Input Ratings (selectable via rear panel selector)
std
opt 0E3
opt 0E9
115 Vac ± 10%, 47 to 63 Hz
230 Vac ± 10%, 47 to 63 Hz
100 Vac ± 10%, 47 to 63 Hz
Maximum Input Power
500 VA with full load
Cooling
Fan cooled
Operating Temperature
0 to 40 °C for full rated output. At higher temperatures, the output current is derated
linearly to 50% at 55 °C maximum temperature.
Output Voltage Overshoot
During turn-on or turn-off of ac power, output plus overshoot will not exceed 1 V if the
output control is set to less than 1 V. If the output control is set to 1 V or higher, there
is no overshoot.
Programming Language
SCPI (Standard Commands for Programmable Instruments)
State Storage Memory
Three (3) user-configurable stored states
Recommended Calibration Interval
1 year
160
Chapter 8 Specifications
Supplemental Characteristics
Dimensions*
213 mmW x 133 mmH x 348 mmD (8.4 x 5.2 x 13.7 in)
*See below for detailed information.
Weight
Net
Shipping
9.5 kg (21 lb)
12 kg (26 lb)
Figure 8-1. Dimensions of Agilent E3632A Power Supply
8
161
Chapter 8 Specifications
Supplemental Characteristics
162
Index
If you have questions relating to the operation of the power supply,
call 1-800-829-4444 in the United States, or contact your nearest
Alient Technologies Sales Office.
A
B
C
163
Index
G
H
I
M
D
N
O
E
K
F
L
164
Index
P
T
U
V
S
Q
R
W
165
©
Warning
Caution
!
Warning
Warning
DECLARATION OF CONFORMITY
According to ISO/IEC Guide 22 and CEN/CENELEC EN 45014
Manufacturer’s Name and Addresss
Responsible Party
Alternate Manufacturing Site
Agilent Technologies (Malaysia) Sdn. Bhd
Malaysia Manufacturing
Bayan Lepas Free Industrial Zone, PH III
11900 Penang,
Agilent Technologies, Inc.
550 Clark Drive, Suite 101
Budd Lake, New Jersey 07828
USA
Malaysia
Declares under sole responsibility that the product as originally delivered
Product Name:
Model Number:
Product Options:
a) Single Output dc Power Supply (dual range)
b) Single Output dc Power Supply (single range)
c) Single Output System Power Supply
d) Multiple Output dc Power Supply
e) Multiple Output System dc Power Supply
a) E3610A, E3611A, E3612A
b) E3614A, E3615A, E3616A, E3617A
c) E3632A
d) E3620A, E3630A
e) E3631A
This declaration covers all options of the above product(s).
Complies with the essential requirements of the Low Voltage Directive 73/23/EEC and the EMC
Directive 89/336/EEC (including 93/68/EEC) and carries the CE Marking accordingly.
EMC Information
ISM Group 1 Class A Emissions
As detailed in
Assessed by:
Electromagnetic Compatibility (EMC), Certificate of Conformance Number
CC/TCF/00/102 based on Technical Construction File (TCF) ANJ12, dated
Dec.20, 2000.
Celestica Ltd, Appointed Competent Body
Westfields House, West Avenue
Kidsgrove, Stoke-on-Trent
Straffordshire, ST7 1TL
United Kingdom
Safety Information
and Conforms to the following safety standards.
IEC 61010-1:2001 / EN 61010-1:2001
CSA C22.2 No. 1010.1:1992
This DoC applies to above-listed products placed on the EU market after:
January 1, 2004
Date
Bill Darcy/ Regulations Manager
For further information, please contact your local Agilent Technologies sales office, agent or distributor, or
Agilent Technologies Deutschland GmbH, Herrenberger Strabe 130, D71034 Böblingen, Germany
Revision: B.00.00
Issue Date: Created on 11/24/2003 3:10
PM
Document No. KIO_10-32.11.24doc.doc
www.agilent.com
Contact us
To obtain service, warranty or technical support
assistance, contact us at the
following phone numbers:
United States:
(tel) 800 829 4444
Canada:
(tel) 877 894 4414
China:
(tel) 800 810 0189
Europe:
(fax) 800 829 4433
(fax) 800 746 4866
(fax) 800 820 2816
(tel) 31 20 547 2111
Japan:
(tel) (81) 426 56 7832 (fax) (81) 426 56 7840
Korea:
(tel) (080) 769 0800
Latin America:
(tel) (305) 269 7500
Taiwan:
(fax) (080) 769 0900
(tel) 0800 047 866
(fax) 0800 286 331
Other Asia Pacific Countries:
(tel) (65) 6375 8100
(fax) (65) 6755 0042
Or visit Agilent worlwide Web at:
www.agilent.com/find/assist
Product specifications and descriptions in this
document are subject to change without notice.
© Agilent Technologies, Inc. 1997-2007
Printed in Malaysia
Third Edition, October 2007
E3632-90001
Agilent Technologies
|