129
Command Reference
Classication Command Function
Command header
ON/OFF function
:HEADer
Sets response command header
ON/OFF
p. 148
:HEADer?
Queries response command
header ON/OFF
p. 148
Communications
:SYSTem:LOCal
Resets remote state p. 149
Lower-case characters in the commands are technically optional. The commands
are case-insensitive.
*CLS
Clears event status resister (ESR).
Syntax
*CLS
*ESR?
Returns the value of the event status register (ESR) as a decimal notation numerical value in
NR1 format 0 to 7 (<data>) and then clears the event status register status.
No command header is included in response. The register is congured as shown in the table
below. When an error occurs, it returns data as a numerical value calculated in decimal notation
based on each error.
Syntax
*ESR?
Response
<data>0 to 7
(NR1 numerical data)
Example When all of bit0 (Command error), bit1 (Execution error), bit2 (Query error)
are set as 1.
PC>
*ESR?
ST5520>
7
Event status register
Decimal
notation
– – – – – 4 2 1
Bit bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
Status Unused Unused Unused Unused Unused QYE EXE CME
QYE: Query error, EXE: Execution error, CME: Command error
10
9
8
7
6
5
4
3
2
1
Appx. Ind.