Keithley 706 Instruction Manual page 65

Table of Contents

Advertisement

nnn = nnnnnnnn if 0, the bit is low.
(octal) binary) if 1, the bit is high.
Example: 077 =OOl 11111
(Octal) = (Binary)
The I/O port command consists of the ASCII 0 character
followed by the decimal number that sets the control bits.
Upon power up, or after a DCL or SDC command, the
eight output lines are set low. Table 3-10 lists all digital
I/O port conact pin assignments. Figure 3-5 shows the
contact pin locations. The maximum current drawn from
the digial I/O port is 350mA. This includes the relay card
and the output. The current limiting resistor is 683.
+I
1 3 5 7 9 11 13 15 17 19
llllon~u~un
i
EVEN NUMBERED
PINS ARE
ON OTHER SIDE OF BOARD.
Figure 3-5. Digital
l/O Port Pin Assignment
Table 3-10. Digital
I/O Port Contact
Pin Assignment
'in Number
Connection
1
+5 Volts (for reference only)
2
+5 Volts (for reference only)
3
IEEE Common
4
IEEE Common
5
Input (Bit 7)
6
Output (Bit 71
7
Input (Bit 6)
8
Output (Bit 6)
3
Input (Bit 5)
10
Output (Bit 51
11
Input (Bit 4)
12
Output (Bit 4)
13
Input (Bit 31
14
Output (Bit 3)
15
Input (Bit 2)
16
Output (Bit 2)
17
Input (Bit I)
18
Output (Bit 11
19
Input (Bit 01
20
Output (Bit 0)
Programming
Example-Enter
the following
statements
into the HP85 to set the eight output lines high and display
the result on the HP85 CRT.
PROGRAM
COMMENTS
10 REMOTE 718 (END
Sets Model 706 to remote
LINE)
mode.
20 CLEAR 7 (END LINE)
Clears Model 706.
30 OUTPUT 718;
"0377X"
(END LINE)
40 OUTPUT 718; "G4X"
(END LINE)
50 ENTER 718; A$ (END
LINE)
Sets Digital I/O outputs
hiah.
S&rds 1/O status port with
prefix.
Obtain data sting.
60 DISP A$ (END LINE)
Display data string.
70 END (END LINE)
End of program.
When the RUN key is pressed the eight output lines will go
high and the following is displayed on the HP-85 CRT.
I/O xxx,377
NOTE
With no connections
on the digital I/O inputs
they are undefined.
16. Program
(PI
The letter P is the command to select one of the three
scanning modes and to enable or disable the inspect
mode. The scanning modes are explained in detail in
paragraph 2.5.4. The format for each of the program
modes is as follows:
PO-Step
Mode
PI -Single
Mode
P2-Continuous
Mode
P3 - Inspect Mode
P4-Disble
Inspect Mode, return to previous P mode.
Programming
Example-Enter
the following
statements
into-the HP-85 to program the Model 706 into the continuous
mode.
REMOTE 718 (END LINE)
OUTPUT 718; "Pw"
(END LINE)
When the END LINE key is pressed the second time the
Model 706 is programmed
into the continuous
program
mode. Look at the front panel continuous LED to verify that
the continuous
scan mode was activated. The continuous
LED should be on.
17. Set Alarm Time (Q)
The letter Q is the command to set the alarm time. For ex-
ample, if the alarm time is set for 11:30:00 a TTL level
negative going pulse of greater than 10~~
appears at
the SERIAL OUT output connector on the rear panel of
the instrument at 1 I:30 AM everyday until changed. This
pulse can be used to inform another instrument or device
to initiate a scan sequence or open a channel on the
Model 706. The format for the alarm time command is as
follows:
3-24

Advertisement

Table of Contents
loading

Table of Contents