Remote Commands
SCPI Commands Command Tables
MAP-200 Optical Switch mOSW-C1 Installation and User Guide
Standard
June 2016
Document Number 22112369-120 R000
Page 61
*STB?
Description
Returns the contents of the SCPI status byte register as an integer that, when converted to
a binary number, represents the bit values of the register. The bit value for Bit 6 of the
register is the MSB bit value, not the SRQ bit value.
Input format
*STB?
Output format
<Register Value>
Parameter
Type
Value
Register
Numeric
0 <= value <= 255
Status Byte Register
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Not used
Request for service
(SRQ) or Master
summary (MSS)
Event
summary
(ESB)
Message
available
(MAV)
Not
used
Errors
Available
(EAV)
Not
used
Not used
Bit 0 -- 3 is not used.
Bit 4: message available. it is set to 1 when a response message is available in the output queue.
Bit 5: event summary bit. it is the summary bit for the standard event status structure. The ESB summary message bit is set if any bit
in the standard event status register is set while its corresponding bit in the standard event status enable register is set.
Bit 6: SRQ. as the service request bit, is set to 1 if a service request has been generated. The SRQ bit is set internally and is not
visible to the user.
Bit 6, as the master summary bit (MSS), is set when there is at least one reason for the MAP-200 unit to request service from the
controller. That is, the master summary bit is set if any summary bit in the status byte register is set and if the corresponding bit in
the service request enable register is also set. The MSS is returned as bit 6 when the status register is queried or the MAP-200 unit is
serial polled.
Bit 7 is not used.
Default
00000000 on *CLS, and power cycle.
Example
The following example queries the status byte register value.
Terminal input:
*STB?
Terminal response:
80