Using GPIB, RS-232

query command. The GB1400 responses commands will be either character mnemonics (for example, INT or EXT) or numerics (Example: 200.0).

GPIB Numeric Responses

When responding with a numeric, the receiver specifies it as one of the following types:

<NR1 Numeric>:

decimal integer

<NR2 Numeric>:

decimal real number without exponent

<NR3 Numeric>:

decimal real number with exponent

<Non-decimal Numeric>:

non-decimal number with leading #H (Hex), #Q

 

(Octal), #B (Binary) and always in the range of 0

 

to 255 decimal (for example, #H55)

GPIB Status Reporting

There is a status reporting function provided for the GPIB interface, which is based on the SRQ (Service Request) and is defined in the ANSI/IEEE standard 488.2-1987. The implementation used by GB1400 for status reporting includes one additional register from what is specified within the IEEE-488.2 standard.

Status Byte

There is a status byte which is used to define the SRQ status. The individual bits within the status byte represent the different conditions which might cause the request for service defined as follows:

Bits 1 to 3

Unused

 

Bit 4

(TSB) Test

This is a summary of Test Event Status

 

Event Status

Byte. It will be set whenever an enabled

 

Bit

Test event condition occurs

Bit 5

(MAV)

Set whenever there is output available for

 

Message

the controller

 

Available Bit

 

Bit 6

(ESB)

This is the summary of the Standard Event

 

Standard

Status Byte. It will be set whenever an

 

Event Status

enabled standard event condition occurs

 

Bit

 

Bit 7

(MSS) Master

This is the Master Summary Status. It is a

 

Summary

summary of the status byte, so that

 

Status Bit

whenever one of the bits (TSB, MAV or

 

 

ESB) is set and it is also enabled (by the

 

 

Service Request Enable byte), the MSS bit

 

 

will set

Bit 8

Unused

 

GB1400 User Manual

D-3

Page 323
Image 323
Tektronix 071-0590-00 user manual Gpib Numeric Responses, Gpib Status Reporting, Status Byte