Keithley 706 Instruction Manual page 55

Table of Contents

Advertisement

The ASCII message is of course limited to the display of the
seven segment LEDs on the front panel of the Model 706.
The messages may be controlled with the following
com-
mands:
1.
2.
D4aaaaaaX-The
command is D4 while the letter "a"
represents an ASCII character (up to 7 characters may be
sent),
DO, Dl, D2 or D3-Takes
the Model 706 out of the display
message mode. The Model 706 is placed into the display
mode that is programmed.
NOTE
For the following
notes, refer to the display
numbering sequence shown:
NOTES
1.
2.
3.
The first character must be a plus ( + 1, minus (-1, decimal
point or a 1 or it will be ignored.
Characters 2 through 7 will accept any displayable ASCII
character. Any character not displayable will appear as a
"d" segment. A "d" segment is shown as follows:
$/
7 segment
The maximum number of characters that can be sent is 7.
Programming
Example-To
display the message "use
single scan" enter the following program into the HP-85.
10 REMOTE 718 (END LINE)
PROGRAM
COMMENTS
Set the Model 706 to
remote.
Clears the Model 706.
Displays USE on 706.
20 CLEAR 7 (END LINE)
30 OUTPUT 718; "D4 USE
X" (END LINE)
40 WAIT 1000 (END LINE)
50 OUTPUT 718; "D4
SINGLE X" (END LINE)
60 WAIT 1000 (END LINE)
70 OUTPUT 718; "D4 SCAN
X" (END LINE)
80 WAIT 2000 (END LINE)
90 GO TO 30 (END LINE)
Wait one second.
Displays SINGLE on 706.
Wait one second.
Displays SCAN on 706.
Wait two seconds.
Go to line 30.
100 END (END LINE)
End of program.
NOTE
Make sure there is a space in the program bet-
ween D4 and the message. Otherwise, an erratic
display will result.
When the RUN key is pressed the Model 706 displays the
following
message:
u 5E
i 5fRn
/
,
Display operation may be restored by entering the following
statement into the HP-85:
OUTPUT 718; "DOX" (END LINE)
3.5.2 Program
(Scan1 Mode
The following
three commands set the Model 706 to the
Single, Continuous or Step mode.
1
2.
3.
4.
PO-The PO command sets the Model 706 to the step scan
mode. The step scan mode permits the user to scan
through the programmed channels one at a time upon sen-
ding the PO command (one channel scanned per PO com-
mand). in using the step scan mode over the bus the inter-
val time must be greater than 70msec.
Pl -The
Pl command sets the Model 706 to the single
scan mode. The single scan mode permits one complete
scan of the programmed channels.
P2-The
P2 command sets the Model 706 to the con-
tinuous scan mode. The continuous scan mode permits a
continuous scan of the programmed channels.
P3- The P3 command sets the Model 706 to the inspect
mode. The inspect mode is a convenient mode that allows
the user to examine the closed channels of a relay set up.
The P3 mode in conjunction with the G2 mode allows all
the closed channels of a relay set up to be outputted (e.g.
displayed on the HP-85's CRT). While the Model 706 is in
the P3 mode the middle decimal point is blinking.
5. P4-The
P4 command takes the Model 706 out of the in-
spect mode and returns to previous P (scan) mode.
P3 Programming
Example-The
following
example il-
lustrates the P3 (inspect) mode. Using the front panel con-
trols close the odd channels between 1 and 50. Then store
the set up in location 001. To illustrate this example type in
the following
program into the HP-85:
PROGRAM
10 DIM AS [IO001 (END
LINE)
COMMENTS
Defines AS.
20 REMOTE 718 (END
LINE)
Sets the 706 to remote.
30 OUTPUT 718;"ZOlX"
Recalls relay set up in location
(END LINE)
01.
40 OUTPUT 718:"P3G2X"
Selects the inspect mode and
(END LINE)
the send buffer state with
prefix mode.
50 ENTER 718; AS (END
Obtains data string.
(END LINE)
60 DISP AS (END LINE)
Display data string.
70 END (END LINE1
End of program.
After typing in the program, press the RUN key on the HP-85
3-14

Advertisement

Table of Contents
loading

Table of Contents