What Happens When I Switch To Local; Summary Of Bus Commands - Fluke PM 6666 Operator's Manual

Timer / counter
Table of Contents

Advertisement

Page: 32
000000000683 is the hex-contents of register 3. The regis-
ter contents must be converted to a decimal number and
entered in the formula;
= ×
+ ×
+ =
2
683
6 16
8 16 3 1667
Hex
–7
The result is 1667
10
. which you must multiply by "Multi-
*
plier P", which is 1, to get the measuring result.
×
× =
×
7
1667 10
1 1667 10
.
EXAMPLE 2:
The following HP-85 program sets up a High-Speed dump
Frequency A measurement with 1 s Measuring-time.
OUTPUT 710;"FREQ A,MTIME 1"
ENTER 710;A$
A$
FREQ
006.000006E3
OUTPUT 710;OUTM 4
ENTER 710;A$
A$
CO98555B000257
×
7
Reg.
2 10
Reg.
1
Formula 'C' is:
98555B is the hex-contents of register 1, and 000257 is
the hex-contents of register 2. Both register contents must
be converted to decimal numbers and put into the formula;
×
+ ×
2
(
2 16
5 16 7
×
+ ×
+ ×
5
4
3
9 16
8 16
5 16
=
600 0006209
.
...
This number is multiplied by multiplier 'O' to get the meas-
uring result:
×
=
600 0006209 10
.
6000 006209
.
How many digits are significant?
Select the formula for 'LSD displayed'in the 'Specifications'.
There are different formulas for different measurements.
Frequency:
×
7
2 5 10
.
LSD displayed :
1
LSD = 0.001 Hz
3
The result is 6.000006 10
Bus Learn
Set the counter to LOCAL and select the functions you
want from the front panel.
If required, set the counter to Remote and program spe-
cial bus-functions from the controller.
PM 6666 - OPERATORS MANUAL
GPIB-INTERFACE OPERATION
Decimal
=
µ
4
s
s
166 7
.
+
×
7
)
10
=
+ ×
+ ×
+
2
5 16
5 16 11
=
×
3
6 000006209 10
.
Hz
×
6000
...
=
0 0015
.
Hz
Check that the counter/controller performs the intended
functions.
If it does, send the five queries from the controller to the
counter and store the responses in the controller for later
use.
These are the five queries:
Query Response
FNC?
Functions setting; e.g. FREQ A9 9
MEAC? Measurement control;
MTIME <number>,FRUN ON20
TOUT <number>
INPA?
Input A settings;
TRGSLP POS,ATT OFF
COUPL AC,AUTO OFF
TRGLVL <number>,SENS 1
INPB?
Input settings;
TRGSLP POS,ATT OFF B
COUPL DC,COM OFF
TRGLVL <number>,SENS 1
BUS?
Bus interface commands;
MSR <number>,OUTM
<number>
EOI OFF,SPR <number>
As you can see, the responses are the same commands
as you use for normal programming. So if you have to
change anything in a program made using bus learn, or
add functions which are not selectable from the front
panel, these program messages can easily be edited in
the controller.
NOTE:
MEAC? and BUS? result in a response sent as two
lines, each terminated by the selected separator.
INPA? and INPB? result in a response sent as a
three line messages.
NOTE:
The counter will stop measuring until all lines of the
response have been read or the response has
been terminated.
NOTE:
The query command must always be the last com-
mand in a program message.
If AUTO or COM is switched ON, the responses to INPA?
*
and INPB? must be interpreted in a different way, see 'Se-
lecting Input settings'.
Terminating a Response
It is not necessary to read all output lines. Any program
message will terminate the response.
Programming Data Out
Any one of the queries used for Bus Learn can be used to ask
the counter about its current setting, see 'Bus Learn' above.
Max No.
of
characters
20
9
18
17
*
19
18
16
*
19
16
15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents