User and Programming Manual - Rev H
California Instruments
May 2000
P Series
80
16. Status Registers
You can use status register programming to determine the operating condition of the AC source at any
time. For example, you may program the AC source to generate an MSS bit when an event such as a
current limit occurs. When the MSS bit is set, your program can then act on the event in the
appropriate fashion.
Figure 16-1: AC Source Status System Model
Service
Standard event status
Status request
Event
Enable
Logic
Output
Byte
enable
Logic
*ESR? *ESE
*STB? *SRE
n.u.
0
Queue
n.u.
0
n.u.
1
Data
n.u.
1
QYE
2
4
4
Data
n.u.
2
DDE
3
8
8
Data
n.u.
3
EXE
4
16
16
OR
MAV 4
16
16
OR
CME
5
32
32
ESB 5
32
32
n.u.
6
MSS 6
64
64
PON
7 128
128
n.u.
7
Figure 16-1 shows the status register structure of the AC source.
The Standard Event, Status Byte, and Service Request Enable registers and the Output Queue
perform standard IEEE-488 functions as defined in the IEEE 488.2 Standard Digital Interface
for Programmable Instrumentation.
16.1 Power-On Conditions
Refer to the *RST command description in paragraph 14.4.5 for the power-on conditions of the
status registers.
16.2 Standard Event Status Group
This group consists of an Event register and an Enable register that are programmed by
Common commands. The Standard Event register latches events relating to interface
communication status. It is a read-only register that is cleared when read. The Standard Event
Enable register functions similarly to the enable registers of the Operation and Questionable
status groups.
Command
Action
*ESE
programs specific bits in the Standard Event Enable register.
*ESR?
reads and clears the Standard Event Event register.