Standard status data structure – EXFO PM-1600 High-Speed Power Meter User Manual

Page 80

Advertising
background image

Controlling the PM-1600 Automatically or Remotely

70

PM-1600

Standard Status Data Structure

Standard Status Data Structure

The figures below illustrate the four common Status and Enable registers
as defined by IEEE 488.2. These diagrams are a useful aid in understanding
the general commands and how a service request (SRQ) is generated. The
four registers are

➤

Standard Event Status Register (ESR)

➤

Standard Event Status Enable Register (ESE)

➤

Status Byte Register (STB)

➤

Service Request Enable Register (SRE)

Bit

ESR

ESE

STB

SRE

0

Operation

Complete

Operation

Complete

Source Status

Source Status

1

Request Control Request Control N/A

N/A

2

Query Error

Query Error

Error Bit

Error Summary

Bit

3

Device

Dependent Error

Device

Dependent Error

Questionable

Status

Questionable

Status

4

Execution Error

Execution Error

Message
Available

Event Status
Summary Bit

5

Command Error Command Error Event Status

Summary Bit

Message

Available

6

User Request

User Request

Master Summary

Status

Request Service/

Master Summary

Status

7

Power On

Power On

Operation Status Operation Status

Controlling the PM-1600 Automatically or Remotely

70

PM-1600

Standard Status Data Structure

Standard Status Data Structure

The figures below illustrate the four common Status and Enable registers
as defined by IEEE 488.2. These diagrams are a useful aid in understanding
the general commands and how a service request (SRQ) is generated. The
four registers are

➤

Standard Event Status Register (ESR)

➤

Standard Event Status Enable Register (ESE)

➤

Status Byte Register (STB)

➤

Service Request Enable Register (SRE)

Bit

ESR

ESE

STB

SRE

0

Operation

Complete

Operation

Complete

Source Status

Source Status

1

Request Control Request Control N/A

N/A

2

Query Error

Query Error

Error Bit

Error Summary

Bit

3

Device

Dependent Error

Device

Dependent Error

Questionable

Status

Questionable

Status

4

Execution Error

Execution Error

Message
Available

Event Status
Summary Bit

5

Command Error Command Error Event Status

Summary Bit

Message

Available

6

User Request

User Request

Master Summary

Status

Request Service/

Master Summary

Status

7

Power On

Power On

Operation Status Operation Status

Advertising