Reading Registers; Common Commands - Keithley S46 Instruction Manual

Microwave switch system
Hide thumbs Also See for S46:
Table of Contents

Advertisement

Section 3: Operation
A. Bits 0 through 7
Bit position B15
Binary value 0/1
Decimal weights 32768
B. Bits 8 through 15

Reading registers

Any register in the status structure can be read by using the appropriate query (?) command. The
specific query commands are described later in this section (see
The response message to the query command is a decimal value. To determine which bits in the
register are set, convert that decimal value to its binary equivalent. For example, the binary
equivalent of decimal 48 is 110000. This binary value indicates that bits B5 and B4 are set.

Common commands

NOTE
Common commands are device commands that are common to all devices on the bus. These
commands are designated and defined by IEEE Std 488.2. Common commands are listed in
3-13.
Table 3-13
IEEE Std 488.2 common commands and queries
Mnemonic
*CLS
*ESE <NRf>
*ESE?
*ESR?
*IDN?
*OPC
*OPC?
*RST
*SRE<NRf>
*SRE?
*STB?
*TST?
*WAI
3-20
B14
0/1
16384
15
14
(2
)
(2
)
Each common command is preceded by an asterisk (*).
Name
Clear status
Event enable command
Event enable query
Event status register query
Identification query
Operation complete
command
Operation complete query
Reset command
Service request enable
command
Service request enable
query
Status byte query
Self-test query
Wait-to-continue command
S46/S46T/S46L Microwave Switch System Instruction Manual
B13
B12
B11
0/1
0/1
0/1
8192
4096
2048
13
12
11
(2
)
(2
)
(2
)
Description
Clear the Standard Event Register and error queue.
Program the Standard Event Enable Register.
Read the Standard Event Enable Register.
Read the Standard Event Enable Register and clear it.
Return the manufacturer, model number, serial number,
and firmware revision levels of the instrument.
Set the operation complete bit in the Standard Event
Register after all pending commands have been
executed.
Place an ASCII "1" into the output queue when all
pending selected device operations have been
completed.
Return the relay unit to the *RST default condition.
Program the Service Request Enable Register.
Read the Service Request Enable Register.
Read the Status Byte Register.
Perform a checksum test on ROM and returns the result.
Wait until all previous commands are executed.
Document number: S46-901-01 Rev. F / March 2011
B10
B9
B8
0/1
0/1
0/1
1024
512
256
10
9
8
(2
)
(2
)
(2
)
Table
3-13).
Table

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S46lS46t

Table of Contents