Programming The Sro Mask; Ascii Format; Overload Output Statement; Packed Format - HP 3456A Operating And Service Manual

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

Advertisement

Model 3456A
3·169. Programming the SRO Mask.
3·170. Program codes are used
Use the programming procedure in Paragraph 3-165 to
send the codes. Remember, the 3456A has to be in
"remote" and "listen" to receive the codes. Since the
Status Byte Message is in octal, the mask is programmed
in octal by using the corresponding octal codes of the
message. For example, bit 2 (Data Ready) is to be set
and is done by sending its octal code, 004. The following
example ittustrates this.
a. Hp·IB Format.
CMO MOO!;
1
U
6
unli"<n
J"
rommond
).aSM
conUo"., .... ," .. odd,m
"""<n" odd
b . HPL (9825A Controller Language).
wrl 722. "SMOO4"
c. Enhanced
Basic
(9835A/B.
Language).
OUTPUT 722; "SMOO4"
3 - 1 7 1 . Any, all, or combinations of the Require Service
condilions can be set by programming the SRQ mask.
All the bits can be disabled by programming the mask to
" 000 " .
3·172. 3456A's Measurement DATA (Data sent by the
3456A).
3-173. 3456A measurement data can be senl to the con­
troller in two different formats, ASCII or Packed For­
mat. The following explains the formats.
3·1 74. ASCII Format.
Output Statement.
3·175.
the ASCII Format consists of 14 bytes and is in this
form:
NOTE
The decimal point in the output statemenl is
' 'free f ield" and can move to any place on
the l e f t side o f the "E" and the right o f the
overrrange digit.
Each character in the output statement is one byte and
adds up to 14 bytes (the Carriage Return and Line Feed
set the SRQ Mask.
[0
OATA MOO!;
SMOO4
mo<� ��«. 02 I, ,he
�""
,od<
01 ,he
"",.1
r.,. bi, I
S,.,,,, Hy" M<>'"II<
98458
Controller
The 3456A's output data in
are one character each). The first digit (D) is the over·
range digit and is either
" I "
can be anywhere between the right of the overrange digit
(shown in this example) and the left of the exponent
("E"). The Carriage Return and Line Feed are used to
terminate the output statement. The End or Identify
(EOI) line is normally set by the 3456A prior to the Line
Feed if enabled. The EOI statement can be disabled over
the HP-IB (see Paragraph 3-186).

Overload Output Statement.

3·176.
ment from an overload condition is in this form:
� I_.H eR EOI
P"' ilj, y
Of (hC' lIoo d
�Iood Indic",.,.
" + "
The overload polarlity depends on the type of overload
condition. A
is normally output when a measure­
ment overload is presenl. A "." can be output when a
math overload condition is present.
Multiple Reading Output.
3-1'77.
for multiple readings (Number of Readings per Trigger
feature) is similar to the normal output statement. The
only difference is that no Carriage Return (CR). Line
Feed (LF), and End or Identify (EOI) is output until all
readings are taken. A comma (,) is used in their place to
separate the readings. An example for 3 multiple
readings is as follows:
+
D. DDDDDDE
D,-DD.DDDDE
+
DDD.DDDDE-D CR EOI LF
+
3·178. Packed Format.
3-179. Unlike the ASCII Format. the Packed Format
outputs 4 bytes instead of 14. A faster reading transfer
is possible using the Packed Format. Before the 3456A
can output readings in the packed mode, it must be
remotely programmed. The codes are " P I " (see Table
3-9) to enable and "PO" to disable the Packed Format.
The ASCII Format is automatically selected at turn-on.
Output Statement.
3-180.
med to output data in the Packed Format, each
measurement is output in 4 bytes. Each byte shows a
certain part of the measurement data. Here is a graphic
description of the packed mode.
First Byte
NOTE
The decimal point in the Packed F ormat is
impJied to the Overrange Digit's l e f t.
Operation
or " 0" . The decimal point
The output state­
IF
.. F ..
L
Id<."ry <,0' <n.bl«ll
d
I.;
0,
C." .
Eod
.
" �""'"
The OUtput statement
+
D.
Once the 3456A is program­
3·25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents