Common Commands

*STB (Status Byte)

Table 9-5

 

HP 16500C Service Request Enable Register

 

 

 

 

 

 

Bit Position

Bit Weight

Enables

 

15-8

 

not used

 

7

128

not used

 

6

64

MSS - Master Summary Status (always 0)

 

5

32

ESB - Event Status

 

4

16

MAV - Message Available

 

3

8

LCL- Local

 

2

4

not used

 

1

2

not used

 

0

1

MSB - Module Summary

 

*STB (Status Byte)

Query

*STB?

 

The *STB query returns the current value of the instrument’s status byte.

 

The MSS (Master Summary Status) bit, not the RQS (Request Service) bit, is

 

reported on bit 6. The MSS indicates whether or not the device has at least

 

one reason for requesting service. Refer to table 9-6 for the meaning of the

 

bits in the status byte.

Returned Format

<value><NL>

<value>

An integer from 0 through 255

 

 

Example

OUTPUT XXX;"*STB?"

 

 

See Also

Refer to chapter 7, "Status Reporting" for a complete discussion of status.

9–16

Page 128
Image 128
HP Sander 16500C manual Stb?, STB Status Byte HP 16500C Service Request Enable Register, Bits in the status byte