U8480 Series Remote Operation 1
U8480 Series Programming Guide 61
The status byte enable register (SRE, service request enable) is cleared when you:
– cycle the U8480 Series power.
–execute a *SRE 0 command.
Using *STB? to read the status byte
The *STB? (status byte query) is similar to a serial poll except it is processed like
any other U8480 Series command. *STB? returns the same result as an IEEE-488
serial poll except that the request service bit (bit 6) is not cleared if a serial poll
has occurred. *STB? is not handled automatically by the IEEE-488 bus interface
hardware, and the query is executed only after previous commands have
completed. Using *STB? does not clear the status byte summary register.
Standard event register
The standard event register reports the following types of instrument events:
power-on detected, command and syntax errors, command execution errors,
self-test or calibration errors, query errors, or when an overlapped command
completes following an *OPC command. Any or all of these conditions can be
reported in the standard event summary bit through the enable register. You must
write a decimal value using the *ESE (event status enable) command to set the
enable register mask.
Table 1-5 Bit definitions - Standard event register
Bit number Decimal value Definition
0 1 Operation Complete
All overlapped commands following an *OPC command have been completed
1 2 Not Used (always set to 0)
24 Query Error
A query error occurred, refer to error numbers 410 to 440 in Error message list
3 8 Device-Dependent Error
A device error occurred, refer to error numbers 310 to 350 in Error message list