HP 3468A Operator's Manual page 86

Hide thumbs Also See for 3468A:
Table of Contents

Advertisement

There
are
5 bytes, each 8 bit wide, which
may be used to determine
the current
state of the 3468A.
lf the multimeter is addressed to talk after reception of the
""B1"
command
it will output the 5 bytes. The meaning of the individual bytes is
given in the table of 3468A
programming commands.
The
first of the following
two
programs
demonstrates
how
to get the
binary
representation of the 5 bytes. The second program shows how the first three bits
of the first byte may be used to indicate the measurement function the 3468A is
set to. Similar steps may be used on the remaining bits and the other 4 bytes.
1 BINARY
STATUS
EXAMPLE
| -HP-
85
VERSION
REMOTE
9
OUTPUT
981
i; "Bi"
ENTER
941
USING
»82,B3, 84,85
DISP
"BYTE
1=";:BIT(B1.?);B81T
CPL. G9; BITAB1,59;B1TC81.4958
ITCBL. 2; BITCE1.
29; BITCB1,. 19
iBITCBL. G3
SP "BYTE
Z2="5BITCB2.79581T
ee Ae ee
2S; BITCB2, 4958
jBITCB2, 29; B1TCBZ, 1)
i
3.43958
3.3; BITCRS,29;BITCBS.
1)
¢
"BYTE
4=";BIT(B4.7);BIT
6; BITCB4, SsBITCB4,. 4958
B4. 2. BITCB4, 29;BITCB4, 1)
ITCB4.@)
DISP
"BYTE
S="sBITCBS. 7>;BIT
CBS. 6°s5BITCBS, S9sBITCBS.
4978
ITCBS. 29; BITCBS, 29; B1ITCBS, 13
sBITCBS. @)
END
a whe
GQ Aegam
"SC1B"
5
BI
n
78
Be
38
SRA
DY AOE
HAD
148
118
18!
STATE
PROGRAM
2B
! -HP-
85
VERSION
@ REMOTE
9
4@
F=a
5@
QUTPUT
9a1
; "Bi"
68
ENTER
961
USING
"Stiga"
=
Bl
Ya
IF
BIT¢B1.7)
THEM
F=4
86
IF BITCR1.6>
THEN
F=F+2
98
IF
BLT Goy S>
THEN
F=F+1
THEN
G#="0C
VOLTS"
THEN
G$="AC
VOLTS"
THEN
G#="2-WIRE
QHMS""
THEN
G#="4-WIRE
CHMS"
THEN
G$="0C
AMPS"
THEN
G#="AC
AMPS"
166
IF
F=7
THEN
G$="EXTENDED
OHM
Se
174
PRINT
18@
PRINT
"FUNCTION:
":G
i938
END
Lines
30
40
50
60-100
Lines
30-60
70-90
100-160
170-180
82
Description
The REMOTE
9 message sets the interface
at select code 9 to the remote mode.
It
also ensures that each device in the loop
has been autoaddressed by the controller.
This line outputs the command
B1 to the
3468A which instructs it to output its five
status bytes,
The five status bytes are input to the con-
troller by this line.
Each line displays a bit by bit representa-
tion of one of the status bytes.
Description
These
lines
perform
the
same
tasks
as
lines 30-50
in the binary status program.
These three lines test the first three bits of
status byte #1 and assign a value to F ac-
cordingly.
The value of F is tested and G$ is assign-
ed accordingly.
The value of G$, which is the function the
3468A
is set to, is displayed on the -hp-
Model
85 display.

Advertisement

Table of Contents
loading

Table of Contents