Multiple Reading Transfer Programs; Bus Message Implementation - HP 3456A Operating And Service Manual

Digital voltmeter
Hide thumbs Also See for 3456A:
Table of Contents

Advertisement

Model 34S6A
A·20. MULTIPLE READING TRANSFER PROGRAMS.
A·2 1 . The rollowing programs show how to transrer
multiple readings rrom the 34S6A to the controller. The
programs are given in the HPL(9825A Controller) and
Enhanced Basic (9835A/B and 9845B Controller)
Language. The programs do the rollowing.
a. The 3456A is set up to do this:
I . Clear the 3456A and set SRQ Mask to bit I (Pro·
gram Memory Execution Complete).
2. Enter into memory
select 10 Number or Readings per Trigger, and
Single Trigger.
3. Execute Program Memory.
b. Read 34S6A Status and remain in a loop until Pro·
gram Memory has completed its execution.
c. Set up the 3456A to enable its System Output
Mode and scroll the internally stored readings starting
with 1110.
d. Store readings into variables.
HPL Program.
c
0 :
dli'l R[ l e ]
I :
w r � 7 2 2 , "HSMee2 L I RS l I 0STNT3QX l "
2 :
i f
r d s ( 7 2 2 ) �66 ; j M�
3 :
7 2 2 , " S O l - 1 0S T R R E R "
� I r t
5 :
4 :
f o r
1 = 1
t o
I
red 7 2 2 , R[ I ]
6 :
next
7 :
f o r
1 = 1
t o
8 :
� I- t
A[ I ]
9 :
ne-xt
1
1 0 :
E'nd
*225 1 4
Enhanced Basic Program
OPTIO�l
213
D I M
1 0
BASE
OUTPUT
A ( 1 0 )
30
7 22 ; " HSM002L
4£1
STATUS 722 ; S
I F S< >66 THEN G O T O 40
5£1
613
OUTPUT 7 2 2 ; " SO I - 1 0STRRER"
P R I N T
EtHER 7 2 2 ; A < < f )
70
80
1'1A T
EtlD
9£1
A·22. BUS MESSAGE IMPLEMENTATION.
A·23. The rollowing figures provide a description on
the implementation or the Bus Messages using the
3456A. The codes used in the figures are:
(0
enable Reading Storage,
£I
l e
l e
1
1
OSTNT3QX 1 "
RS 1 1
A
T
True
=
F
False
=
X
Don't Care
=
Octal Code
OCl
=
To lend OATA Irom the cor1ttoU.r 10 ,"'" 3456A. first:
Univ ... at Unlilt"'
then:
Progrlm Codu
Figure A-2. Data Message (Controller to 3456AJ.
To und 01'1
I,om ,he 3456A 'a 'M controller, first:
Bus Mlnlll8ment llnn
Univ .....
1
Unli.,..,
then:
OutPUt OAT A
hom 3456A
Figure A·3. Data Message (3456A to Controller or Dther
Device(s).
To
.... ge
o
_ the TRIGGER ".
up
IG,
ControH.r
Ta. ACI<I<t ••
Figure A·4. Trigger Message (from Controller to Device(sJ).
, , , '�
.
Unl i a t.n J
.
..
.
Univ
.... . .. .. '" the REMOTE Mode:
TO
A
Figure A-5. Remote Message.
Appendix A
01'1
S.nt on
Lines
.J
L
3456A li.,.n Addr •••
Controller hit Add< ...
Inl1,umem
Sequence on Oltl Unes
..]
Conttolte. Listen Add •• "
3456A hlk AdOt ...
S.." on Olt.line.
hKU1.
Triggerl:
Send on 011. line.
3456A liaten AOdr •••
3456.0. litten A
Controller T e. Address
A·S

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents