beautypg.com

Status – Measurement Computing Micro 488/EX rev.2.1 User Manual

Page 149

background image

Section 5

Command Descriptions

5.79

STATUS

STATUS

is a system command which is useful for determining which mode the

Micro488/EX is in, its current address or the type of ERROR that has occurred. At
power-up, issuing the STATUS command will cause the Micro488/EX to return the
string...

CONTROLLER 10

After issuing a PASS CONTROL or PERIPHERAL command the Micro488/EX

will respond with...

PERIPHERAL 10

If PASS CONTROL was issued and the Micro488/EX then receives control again

it will respond with....

CONTROLLER 10

This is useful for checking when control is returned after a PASS CONTROL has

been issued.

If an ERROR has occurred, as indicated on the front panel of the Micro488/EX,

issuing the STATUS command will cause an error message to be returned to the host.
Once the error message is sent by the Micro488/EX the error condition is cleared.
Refer to Appendix B for error message explanations.

The Micro488/EX also includes and extended status command, STATUS 1. The

STATUS

1 command returns various items detailing the current state of the

Micro488/EX. They are returned as one long character string as follows:

Item Starting Col. # Cols.

Values

Operating mode

1

1

C:

Controller

P:

Peripheral

Bus address

3

2

Two-digit decimal number 00 to 30