User Manual 3153
SCPI Command Reference 4-15
IEEE-STD-488.2
Common
Commands and
Queries
Since most instruments and devices in an ATE system use similar
commands, which perform similar functions, the IEEE-STD-488.2
document has specified a common set of commands and queries, which
all compatible devices must use. This avoids situations where devices
from various manufacturers use different sets of commands to enable
functions and report status. The IEEE-STD-488.2 treats common
commands and queries as device dependent commands. For example,
*TRG is sent over the bus to trigger the instrument. Some common
commands and queries are optional, but most of them are mandatory.
The following is a complete listing of all common commands and queries,
which are used in the Model 3153.
*CLS
- Clear the Status Byte summary register and all event registers.
*ESE
<enable_value> - Enable bits in the Standard Event enable
register. The selected bits are then reported to the status byte.
*ESE?
- Query the Standard Event enable register. The generator
returns a decimal value, which corresponds to the binary-weighted sum
of all bits, set in the register.
*ESR?
- Query the Standard Event register. The generator returns a
decimal value, which corresponds to the binary-weighted sum of all bits,
set in the register.
*IDN?
- Query the generator’s identity. The returned data is organized
into four fields, separated by commas. The generator responds with its
manufacturer and model number in the first two fields, and may also
report its serial number and options in fields three and four. If the latter
information is not available, the device must return an ASCII 0 for each.
A sample Model 3153 response to *IDN? is:
RACAL INSTRUMENTS,3153,0,1.0.
*OPC
- Set the "operation complete" bit (bit 0) in the Standard Event
register after the previous commands have been executed.
*OPC?
- Returns "1" to the output buffer after all the previous commands
have been executed. *OPC? is used for synchronization between a
controller and the instrument using the MAV bit in the Status Byte or a
read of the Output Queue. The *OPC? query does not affect the OPC
Event bit in the Standard Event Status Register (ESR). Reading the
response to the
*OPC?
query has the advantage of removing the
complication of dealing with service requests and multiple polls to the
instrument. However, both the system bus and the controller
handshake are in a temporary hold-off state while the controller is
waiting to read the *OPC? query response.
*OPT?
- Returns the value “0” for a Model 3153 with 512k/2Meg/2Meg
of memory. Returns a “1” for a Model 3153 with 2Meg/4Meg/4Meg of
memory. Returns a “2” for a Model 3153 with 2Meg/8Meg/8Meg of
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com