Martel Electronics 3001 User Manual

Page 74

Advertising
background image

*SRE

IEEE-488

RS-232

Sequential

Overlapped

Service Request Enable command. This command loads a byte into the Service Request
Enable (SRE) register. See the Service Request Enable Register (SRE) description in
section 9.7. Since bit 6 is not used (decimal value 64), the maximum entry is 255 - 64 =
191.

Parameter:

<value>
where <value> is the decimal equivalent of the SRE byte, 0 to 191

Response:

<None>

Example:

*SRE 48

This example enables bits 4 (MAV) and 5 (ESB).

*SRE?

IEEE-488

RS-232

Sequential

Overlapped

Service Request Enable query. This command returns the byte in the Service Request
Enable Register (SRE). See the Service Request Enable Register (SRE) description in
section 9.7.

Parameter:

<None>

Response:

<value>
where <value> is the decimal equivalent of the SRE byte, 0 to 191

Example:

*SRE?

48

This example indicates that bits 4 (MAV), and 5 (ESB) are enabled.

*STB?

IEEE-488

RS-232

Sequential

Overlapped

Status Byte Register query. This command returns the byte in the Status Byte Register.
See the Status Byte Register (STB) description in section 9.7.

Parameter:

<None>

Response:

<value>
where <value> is the decimal equivalent of the STB byte, 0 to 255

Example:

* STB?

96

This example indicates that bits 5 (ESB) and 6 (MSS) are set.

X

X

X

X

X

X

X

X

X

70

Advertising