Model 6220/6221 Reference Manual
Common Commands
12-3
Return to
A) *IDN? — identification query
Reads 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 622x,xxxxxxx,yyyyy/zzzzz/w
Where:
xxxxxxx is the serial number.
yyyyy/zzzzz is the firmware revision levels of the digital board ROM and
display board ROM. Note that yyyyy also provides build date and time
information. w is the board revision level.
B) *OPC — operation complete
Sets OPC bit
*OPC? — operation complete query
Places a “1” in output queue
When *OPC is sent, the OPC bit in the standard event register will set after all
pending command operations are complete. When *OPC? is sent, an ASCII “1” is
placed in the output queue after all pending command operations are complete.
Typically, either one of these commands is sent after the INITiate command. The
INITiate command is used to take the instrument out of idle in order to perform
measurements. While operating within the trigger model layers, all sent com-
mands (except DCL, SDC, IFC, SYSTem:PRESet, *RST, GET, and ABORt) will
not execute.
After all programmed operations are completed, the instrument returns to the idle
state at which time all pending commands (including *OPC and/or *OPC?) are
executed. After the last pending command is executed, the OPC bit and/or an
ASCII “1” is placed in the output queue.
Programming example
— Assuming the Models 622x and 2182A are configured
to perform Delta measurements (as explained in
), the following com-
mand sequence will arm Delta and start Delta measurements. After all Delta mea-
surements are completed, an ASCII “1” will be placed in the output queue.
NOTE
For RS-232 operation (and in some cases, GPIB operation),
*OPC or *OPC? should be used with SYST:PRES, which is a slow
responding command.
SOUR:DELTa:ARM
‘ Arms Delta.
INIT:IMM
‘ Starts Delta measurements.
*OPC?
‘ Sends *OPC?
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176 - TestEquipmentDepot.com
Summary of Contents for 6220
Page 16: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 24: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 453: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...