Keithley 6512 Instruction Manual page 73

Programmable electrometer
Table of Contents

Advertisement

IEEE-488 Programming
Error
Conditions
3-18
Note that all returned values except for those associated with the terminator correspond to the pro-
grammed numeric values. For example, if the instrument is presently on the R3 range, the R bytes in the
status word will correspond to an ASCII 03. The returned terminator characters are derived by ORing
the actual terminator byte values with 30
which equals 0D
. ORing this value with 30
H
sign (=). This terminator conversion step is necessary to convert the standard terminators into display-
able form, as they will not normally print out on a computer CRT.
The U1 command allows access to Model 6512 error conditions in a similar manner. Once the sequence
U1X is sent, the instrument will transmit the error conditions with the format shown in Figure 3-4 the
next time it is addressed to talk in the normal manner. The error condition word will be sent only once
each time the U1 command is transmitted. Note that the error condition wor id actually a string of ASCII
characters representing binary bit positions. An error condition is also flagged in the status (serial poll)
byte, and the instrument can be programmed to generate an SRQ when an error condition occurs. (See
paragraph 3.2.8). Note that all bits in the error condition (U1) word and the status byte error bit will be
cleared when the U1 word is read. In addition, SRQ operation will be restored after an error condition by
reading U1.
6512
0/1
MODEL
NUMBER
PREFIX
1 = IDDC
1 = IDDCO
1 = NO REMOTE
1 = TRIGGER OVERRUN
1 = NUMBER ERROR
Figure 3-4
U1 status (error condition) format
The various bits in the error condition word are described as follows:
IDDC—Set when an illegal device dependent command (IDDC) such as H1X is received ("H" is ille-
gal).
IDDCO—Set when an illegal device-dependent command option (IDDCO) such as T9X is received ("9"
is illegal).
No Remote—Set when a programming command is received when REN is false.
The complete command string will be ignored if an IDDC, IDDCO or No Remote
error occurs.
. For example, a <CR> character has a decimal value of 13,
H
yields 3D
H
0/1
0/1
0
0/1
NOTE
, or 61
, which prints out as an ASCII equal
H
10
0/1
000
<CR LF>
ALWAYS
ZEROES
TERMINATOR
(DEFAULT
SHOWN)

Advertisement

Table of Contents
loading

Table of Contents