beautypg.com

Measurement Computing Micro 488/EX rev.2.1 User Manual

Page 151

background image

Section 5

Command Descriptions

5.81

The Addressed State is the current talker/listener state of the Micro488/EX. As a

Peripheral, the Micro488/EX can check this status to see if it has been Addressed to
Talk or Addressed to Listen by the Active Controller. In this way the desired direction
of data transfer can be determined.

The Service Request indicator reflects the external SRQ status. If the SRQ line is

asserted, S1 will be reported. If it is un-asserted, S0 will be reported.

The Error Code is 00 when no error has occurred. If it is non-zero, then the

appropriate error message is appended to the STATUS 1 response. For more details
about the individual errors, refer to Appendix B. The Error Code is reset to 00 when
STATUS

is read.

The Triggered (T0, T1) and Cleared (C0, C1) indicators are set when, as a

Peripheral, the Micro488/EX has received a GET (Group Execute Trigger) or
SDC/DCL (Selected Device Clear/Device Clear) bus command. These two indicators
are cleared when STATUS1 is read.

By issuing the STATUS 2 command, only the numeric error value is returned to

the serial output port. If no error has occurred, the value sent is 0. The error condition
is clear when reported.

SYNTAX

STATUS

[;][number]

or
ST

[;][number]

number

is 0 to 2. If not specified, 0 is assumed.

RESPONSE

Character string as described previously

MODE Any

BUS STATES

None

EXAMPLES

PRINT#1,"STATUS"

Read the Micro488/EX status

INPUT#1,A$
PRINT A$

and display it.

CONTROLLER 10

Example of displayed STATUS 0

PRINT#1,"STATUS1"

Read the Micro488/EX extended