Download Print this page

HP 59501A Operating Manual page 15

D/a-power supply programmer with the hp 85 computer

Advertisement

10
i
BIPOLAR
2 0
!
!•' OWLR:
liUP !■' L Y P
OOI^ AAMLI';
>10
I
LXAMPI.,.I:: PRIJGRAh
4 (I
I
SO
CL.ILAR
6(i DISP
"Ln-ier
the power supply's"
7i) i)I.SF
" p
0
s :i. ■(■ :i, u e full
scale o u
11
;! in'"
80 DISP
"uol'i'ayK , "
9 0 INPUT F'
100 F:!::A8B(F)
110 !
l£0 DISP "Enter the desired outpu'C"
i;'.10 DISP
"uoltaijp (■♦•Of.
140 INPUT U
ISO
!
160
!
Conver't bipolar
uoltage -f o
170 !
it's c or r esp on cl incj
unipol ar
18 0 ! V a 1 u e
190 U-MU'fF )/;,l
;:■ . '()() IF U<() OP U>:^d- TMEM BEEP 8 DISP
"Uol'tacje
■ t oo large. " W GOTO 180
21, 0 !
220
I Calculate percent O'T
2;T0
! Power supply 'rull scale
24 0 p:^UJ/F!til(]0
2S0 IF P>99,9 THEN BEEP » DISP
"Uol'tacje too 1
srqe. ' '
GOTO
120
26!)
'
27 0
1
Belcc •!■ r a n cj e
200
If ■
F> > 9
99
THEN GOTO 3S(!
29 0
!
3 0 0
!
1
...
0
w
r a!! g e c a 1 c u 1 a i t o n
31(1 h:: X N ?■ (P
0 Ot-
5)
32 0 l)^::^H+iO0a
330 GOTO
390
34 0
i
35 0
!
High
rai'ige ca Ic u 1 a f.i. ons
360
(PitilOr.S)
SVC)
D-^Ma'20 0 0
38 0
I
'390 OUTPUT
706 USINO;
"*,40"
)
D
40 0 DISP
"The pr ogr anwecl
data
word
Is",;!)
410 GOTO
120
42!) END
Figure 42.
Bipolar Power Supply Programming Example,
Signal Generation
The 59501A can easily be used to generate repetitive
voltage waveforms. The following example computes
the program data words, then generates a zero to ten
volt sawtooth waveform.
10
! Sawtooth Uaue; Generator
20 !
30 DIM NdOO)
4 0 FOR
1 ■-■■■■ i
TO 10 (j
50 N< J)-( J 'l )*1(!'K;.!0()0
60 NEXT J
711 FOR
TO 100
80 OUTPUT 706 USING ''#,4D"
> N(J')
90 NEXT J
10(1 GOTO 70
110 END
IEEE 488 interface functions
implemented by the 59501 A.'
L2
AH1
Figure 44. HP-iB Capabilities
Figure
43. D/A Mode Programming Example.

Advertisement

loading