Triggermodes; Programmable Terminator (Y) - Keithley 706 Instruction Manual

Table of Contents

Advertisement

+
SRQ Programming
Example-The
bus response mode may
be programmed
as follows:
REMOTE 718 (END LINE)
OUTPUT 718; "Mix"
(END LINE)
The SRQ format is as follows:
Mnnn
Where
M = Bus response mode.
n = 0 to 255 (base lo), in base 2 NNNNNNNN.
SRQ MASK
MSB
LSB
7
6
5
4
3
2
1
1
0
N/A
N/A
1=
l=END
1 =END OF
l&ND
1=
is
BROKEN
OF
INTERVAL
OF
T[MER
IDDW.
SERIAL
SElTLE
TIME
SCAN
ALARM
IDDC
LOOP
TIME
OR NO
REMOTE
SRQ BYTE
MSB
LSB
SRQ Mask -
in order to facilitate
SRQ programming,
the
Model 706 makes use of a mask when generating
a SRQ.
When the appropriate
bit in the mask is set, the instrument gen-
erates a SRQ when those particular conditions exist. The SRQ
mask byte format is shown. Bits within the mask can be con-
trolled by sending the ASCII character "M" followed by a deci-
mal number from 0 to 63. Table 3-9 lists the conditions that
cause a SRQ for each command parameter.
Note that the in-
strument can be programmed
for one or more conditions simul-
taneously.
3.5.6 Trigger
Modes
Triggering
is used to tell the Model 706 to initiate the program
mode sequence (single, continuous or step). The trigger stimu-
lus may come from commands sent over the bus, through the
external input or by the front panel START/STOP
button. Trig-
gering may be either to start the program mode sequence or
stop the sequence. The trigger modes are as follows:
1. TO - In the TO mode (Start on Talk) talk command initiates
the program mode sequence.
2. Tl -
in the Tl mode (Stop on Talk) a talk command stops
the program mode sequence.
3. T2-
In the T2 mode (Start on GET) a GET command initi-
ates the program mode sequence.
4. T3 -
In the T3 mode (Stop on GET) a GET command
stops the program mode sequence.
3-18
+
5. T4-
In tliG T4 mode (Start on X) an execute command "x"
initiates the program mode sequence.
6. T5-
In the T5 mode (Stop on X) an execute command 'X"
stops the program mode sequence.
7. T6-
in the T6 mode (Start on External) an external trigger
initiates the program mode sequence.
8. T7-
In the T7 mode (Stop on External) an external trigger
stops the program mode sequence.
NOTE
The T modes may also be used in the matrix mode
to advance through the matrix set up. One trigger
command sent for every crosspoint.
Programming
Example-Setthe
instrument to its default con-
dition by turning the unit off then on and enter the following
statements into the HP-85 keyboard:
REMOTE 718 (END LINE)
OUTPUT 718; "T2X" (END LINE)
After the END LINE key is pressed the second time, the instru-
ment is placed in the start on GET trigger mode. When a GET
command is sent by the controller the Model 706 triggers. To
send a GET command, enter the following statement into the
HP-85.
TRIGGER 718 (END LINE)
Programming
Note -
If the Model 706 is in the trigger mode
TO (Start on Talk), either of the following HP-85 BASIC state-
ments will initiate a scan:
SEND 7; TALK 18
S=SPOLL (718)
Requesting
data from the Model 706 will stop the scan. The
statement:
ENTER 718; A$
does not initiate a scan since the controller
addresses
the
Model 706 to talk and then requests data in the same state-
ment.
3.5.7 Programmable
Terminator
(Y)
The Model 706 uses special terminator characters to mark the
end of its data string. To allow a wide variety of controllers to be
used, the terminator can be changed by sending the appropri-
ate command over the bus. The power up default value is the
commonly used carriage return, line feed (CR LF) sequence.
The terminator assumes this default value upon power up or af-
ter the instrument receives a DCL (Device Clear) or SDC (Se-
lective Device Clear).
The terminator may be programmed
by sending the ASCII char-
acter Y followed by the desired terminator character. Any ASCII
character except one of the following may be used: all capital
letters, ail numbers, Blank, +, -, 1, (J, ., e, :
Special command characters will program the instrument for

Advertisement

Table of Contents
loading

Table of Contents