Measurement Computing Serial488/4 User Manual

Page 62

Advertising
background image

Section 3

Command Descriptions

3.23

The format of the status byte returned by the Serial488/4 after receiving a

U1

through U4 command is as follows:

*.*A#B#C#D###G#I#####L#N#O#####Q#T###U#

where each # equals the number corresponding to that command. The leading

information *.* is the revision level of the Serial488/4 firmware.

Example 1: Read Serial488/4 command status using secondary addressing mode.

DIM A$(50)

dimension A$

PRINT#1,"OUTPUT0800;S0X"

restore Serial488/4 defaults

PRINT#1,"CLEAR0800"

reset the Serial488/4

PRINT#1,"OUTPUT0800;U1X"

send U1 to the Serial488/4

PRINT#1,"ENTER0800"
INPUT#2,A$

read the port 1 status message

PRINT A$

shows

1.0A0B009C0D1G0I00000L1N0O00000Q0T010U1

Below is a summary of the Command Status (U0) information.

E#

Error Message

E0

No error

E1

Unrecognized command (ex. W3)

E2

Illegal command option (ex. F8)

E3

Conflict (handshake type, handshake control, baud select)

K#

End Or Identify

K0

EOI enabled on last byte of status message

K1

EOI disabled

M###

Service Request

M0

SRQ is disabled

M1

SRQ on serial port #1 data in

M2

SRQ on serial port #2 data in

M4

SRQ on serial port #3 data in

Advertising
This manual is related to the following products: