Status Reporting - ILX Lightwave MPS-8033 Series User Manual

Precision fiber optic sources
Table of Contents

Advertisement

R E M O T E O P E R A T I O N
3
C H A P T E R

Status Reporting

Status Reporting
Internal registers are used to inform the control program of events and conditions. The status of the
MPS−8033 is held within these four internal registers:
Condition:
Event:
Standard Event: The Standard Event Register is defined by the IEEE−488.2 standard and is responsible for monitor
Status Byte:
Each register has an ENABLE register associated with it. The enable register works like a mask or
filter when updating that register's contents to the Status Byte. For example, the Condition Register
is filtered (logically ANDed) with the Condition ENABLE Register. If the result is non−zero then Bit
#1 in the Status Byte is set to one. The Enable registers are set via unique GPIB commands. For
each register there is a corresponding enable register. Use the enable register as a mask so only the
conditions you want to check are reported in the status byte register. This diagram illustrates the
concept of enable registers:
26
!
MPS-8033
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
The Condition Register monitors the state of the device. For example, if the output is on, bit #0 in
the Condition Register is set.
The Event Register watches for changes in the device condition. For example, if the laser output is
switched (on or off), bit #0 in the Event Register is set.
ing GPIB events such as Operation Complete and Command Errors.
The Status Byte is also defined by the IEEE−488.2 standard. The status byte contains the summary
of the other registers as well as reporting if the error and message available queues are active.
Status Register
7
6
5
4
3
AND
AND
AND
AND
AND
7
6
5
4
3
Enable Register
2
1
0
AND
AND
AND
OR
2
1
0
Summary Bit

Advertisement

Table of Contents
loading

Table of Contents