ST2515 Operation Manual
82
For example: WrtCmd(“*ESE?”);
The *SRE (Service Request Enable command) command sets each open bit of the service
status byte register. This command returns the current setups for each open bit of the status
byte permission register.
Command syntax: *SRE<value>
Where,
<value> NR1 format: decimal expression for each permission bit of the status byte
register.
Descriptions for each byte of the status byte register are shown as follows:
Query syntax: *SRE?
Return format: <value><NL^END>
For example: WrtCmd(“*SRE?”);
The *ESR? query returns the contents of the standard event status register.
Query syntax: *ESR?
Return format: <value><NL^END>
Where,
<value> NR1 format: decimal expression for contents of the standard event status
register.
Descriptions for each bit of the standard event status register are shown as follows:
For example: WrtCmd(“*ESR?”);
The *STB? query returns contents of the standard service status byte register. The execution
of this command will not affect contents of the standard status byte register.
Query syntax: *STB?
Return format: <value><NL^END>
Where,
<value> NR1 format: decimal expression for contents of the standard status byte
register.
Bit number Desccription
7
6
5
4
3-0
Operation Status Register Summary Bit
RQS(Request Service) Bit
Standard Event Status Register Summary Bit
MAV(Message Available) Bit
Always 0(zero):
Bit number Description
7
6
5
4
3
2
1
0
Power On(PON) Bit
User Request(URQ) Bit
Command Error(EME) Bit
Execution Error(EXE) Bit
Device Dependent Error(DDE) Bit
Query Error(QYE) Bit
Request Control(RQC) Bit
Operation Complete(OPC) Bit