IEEE-488 Reference
3-32
1. IEEE-488.2 syntax error: Model 2002 received a message that does not follow the defined
syntax of the IEEE-488.2 standard.
2. Semantic error: Model 2002 received a command that was misspelled, or received an
optional IEEE-488.2 command that is not implemented.
3. The instrument received a Group Execute Trigger (GET) inside a program message.
Bit B6, User Request (URQ) —
Set bit indicates that the LOCAL key on the Model 2002 front
panel was pressed.
Bit B7, Power On (PON) —
Set bit indicates that the Model 2002 has been turned off and
turned back on since the last time this register has been read.
PRINT #1, "output 16; *esr?"
' Query register
PRINT #1, "enter 16"
' Get response message from 2002
*IDN? — identification query
Read the identification code
The identification code includes the manufacturer, model number, serial number, and firmware
revision levels, and is sent in the following format:
KEITHLEY INSTRUMENTS INC., MODEL 2002, xxxxxxx, yyyyy/zzzzz
where; xxxxxxx is the serial number
yyyyy/zzzzz is the firmware revision levels of the
digital board ROM and display board ROM.
PRINT #1, "output 16; *idn?"
' Query ID code
PRINT #1, "enter 16"
' Get response message from 2002
Program fragment
Figure 3-15
Standard Event Status Register
B7
B6
B5
B4
B3
B2
B1
B0
0/1
0/1
0/1
Bit Position
Event
Decimal Weighting
Value
Value : 1 = Event Bit Set
0 = Event Bit Cleared
Events : PON = Power On
URQ = User Request
CME = Command Error
EXE = Execution Error
DDE = Device-dependent Error
QYE = Query Error
OPC = Operation Complete
PON URQ CME EXE
DDE QYE
OPC
0/1
0/1
0/1
0/1
(2 )
7
(2 )
6
(2 )
5
(2 )
4
(2 )
3
(2 )
2
(2 )
0
64
32
1
128
16
8
4
Note : Bits B8 through B15 are not shown since they are not used.
3.10.4
Description
Program fragment
Summary of Contents for 2002
Page 123: ...Front Panel Operation 2 106...
Page 145: ...IEEE 488 Reference 3 22...
Page 167: ...IEEE 488 Reference 3 44...
Page 284: ...A Specifications A 1...
Page 362: ......
Page 364: ...This page left blank intentionally...
Page 365: ......