Keithley 705 Instruction Manual page 51

Table of Contents

Advertisement

Table 3-10. Digital I/O Port Contact Pin Assignments
16. Program (P)
The letter P is the command to select one of the three scan-
ning modes. The scanning
modes are explained
in detail in
paragraph
2.5.3. The format for each of the program modes
is as follows:
Pin 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 7)
7
Input (Bit 6)
8
Output (Bit 6)
9
input (Bit 5)
IO
Output (Bit 5)
11
Input (Bit 4)
12
Output (Bit 4)
13
input (Bit 3)
14
Output (Bit 3)
15
Input (Bit 2)
16
Output (Bit 2)
17
Input (Bit 1)
18
Output (Bit 1)
19
Input (Bit 0)
20
Output (Bit 0)
Programming Example
-
Enter the following
statements
into
the HP-85 to set the eight output lines high and display the result
on the HP-85 CRT.
PROGRAM
10 REMOTE 717
(END LINE)
COMMENTS
Sets Model 705 to remote mode.
20
CLEAR 7 (END LINE)
Clears Model 705.
30
OUTPUT 717; "0377X"
Sets Digital I/O outputs high.
(END LINE)
40
OUTPUT 717; "G4X"
Sends I/O status port with prefix.
(END LINE)
50
ENTER 717, A$ (END
Obtain data string.
LINE)
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 377,xxx
NOTE
With no connections
on the digital I/O inputs they
are undefined.
PO -
Step Mode
Pi -
Single Mode
P2 -Continuous
Mode
Programming Example
-
Enter the following
statements
into
the HP-85 to program the Model 705 into the continuous mode.
REMOTE 717 (END LINE)
OUTPUT 717; "P2X" (END LINE)
When
the END
LINE
key is pressed
the second
time
the
Model 705 is programmed
into the continuous
program
mode.
Look at the front panel continuous
LED to verify that the continu-
ous 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
example,
if the alarm time is set for 11:30:00 a TTL level
negative going pulse of greater than IOpsec appears at the
SERIAL
OUT output connector
on the rear panel of the
instrument
at 11:30 AM everyday
until changed. This pulse
can be used to inform another
instrument
or device to ini-
tiate a scan sequence
or open a channel on the Model 705.
The format for the alarm time command
is as follows:
Qhh:mm:ss
where
Q = Alarm Time Command
h = Hours
m = Minutes
s = Seconds
Programming Example
-
Enter the following
statements
into
the HP-85 to program the alarm time for 2:15 pm and display the
alarm time on the HP-85 CRT.
PROGRAM
COMMENTS
10
REMOTE 717
Sets Model 705 to remote mode.
(END LINE)
20
CLEAR 7 (END LINE)
Clears Model 705.
30
OUTPUT 717;
Programs alarm time for
Q14:15:00X
(END
2:15 pm.
LINE)
40
OUTPUT 717; A$
Transmits alarm time with prefix.
"G12X" (END LINE)
50
ENTER 717, A$ (END
Obtains data string.
LINE)
60
DISP A$ (END LINE)
Displays data string.
70
END (END LINE)
End of program.
3-20

Advertisement

Table of Contents
loading

Table of Contents