beautypg.com

ETS-Lindgren 2090 Controller User Manual

Page 135

background image

Model 2090 Multi-Device Controller


*SRE?

Description:

Query Service Request Enable Register. Prepares controller to respond
with the contents of the Service Request Enable Register when queried.
The value returned is a decimal number in the range of 0 to 255. This
value when expressed in binary form, represents the value of the eight bit
Standard Event Status Enable Register.

Devices:

Towers, Turntables

Syntax:

*SRE?

Response:

XXX

Integer value representing the setting of the Service
Request Enable Register

Example:

CALL ibwrt (TableUD%, "*SRE?")

' Query the value of the SRE

CALL ibrd (TableUD%, rdbuf$)

' Read response

See Also:

*SRE


*STB?

Description:

Query Status Byte. Prepares the controller to respond to the contents of the
Status Byte Register when queried. The value returned is a decimal in the
range of 0 to 255. This value, when expressed in binary form, represents the
eight bit value of the Status Byte Register. The value of this register is also
returned in response to a serial poll, with the exception that the MSS bit is
replaced by the value of the Request For Service (RQS) flag. The bit pattern
of this register is as follows:

Dependent

Devices:

Towers, Turntables

Syntax:

*STB?

Response:

XXX

Integer value representing the bits of the Status Byte
Register. The bit pattern is as follows.

0

-

Device

Error (DDE)

Set when the logical AND of the Device Dependent
Error Register and the Device Dependent Error
Enable Register is non-zero. This is a 2090/2190
specific status bit. (See ERR?)

1

-

Undefined

2

-

Undefined

3

-

Undefined

4

-

Message
Available
(MAV)

Set when there is data in the device output queue
waiting to be read over the GPIB.

5

-

Event

Status

Bit (ESB)

Set when the logical AND of the Event Status
Register and the Event Status Enable Register is
non-zero.

6

-

Master
Summary
Status
(MSS)

Set when the logical AND of the remaining bits of
the Status Byte Register and the Status Byte
Enable Register is non-zero.

7

-

Undefined

Example:

CALL ibwrt (TowerUD%, "STB?")

' Query status byte

CALL ibrd (TowerUD%, rdbuf$)

' Read response

See Also:

ERR?, *ESR?, *SRE, *SRE?

©ETS-Lindgren, April 2006

135

Revision G– P#399199