IEEE-488 Reference
5-41
where; CME (bit B5) = Decimal 32
QYE (bit B2) = Decimal 4
parameter = 36
If a command error (CME) occurs, bit B5 of the Standard Event Status Register will set. If a
query error (QYE) occurs, bit B2 of the Standard Event Status Register will set. Since both of
these events are unmasked (enabled), the occurrence of any one of them will cause the ESB bit
in the Status Byte Register to set.
The contents of the Standard Event Status Event Register can be read by using the *ESE? query
command (see next paragraph).
OUTPUT 707; “*ESE 24” ! Set bits B3 (DDE) and B4 (EXE) of the Standard Event
Status Enable Register.
Value: 1 = Enable Standard Event
0 = Disable (Mask) Standard Event
Events: PON = Power On
URQ = User Request
CME = Command Error
DDE = Device-dependent Error
EXE = Execution Error
QYE = Query Error
OPC = Operation Complete
Bit Position B7 B6 B5 B4 B3 B2 B1 B0
Event PON URQ CME EXE DDE QYE — OPC
Decimal Weighting 128
(2
7
)
64
(2
6
)
32
(2
5
)
16
(2
4
)
8
(2
3
)
4
(2
2
)
–1
(2
0
)
Value 0/1 0/1 0/1 0/1 0/1 0/1 – 0/1
Programming
example
Figure 5-13
Standard Event Status Enable Register
Artisan Scientific - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisan-scientific.com