4 scpi command description, Common ieee488.2 commands – B&K Precision 9150-9153 - Manual User Manual
Page 32

32
4.4 SCPI Command Description
Common IEEE488.2 Commands
*CLS
This command clears the following registers:
Standard event status register
Quest condition register
Operation event register
Status byte register
Error code
Command syntax: *CLS
Parameter: None
*ESE
This command sets the parameter of the standard event enable register. The value determines which bit value of
the standard event register is set to 1. The ESB bit in of status byte register will change to 1 to reflect the
changes.
Command syntax: *ESE <NRf>
Parameter: 0~255
Reset value: Consult *PSC command
Example: *ESE 128
Query syntax: *ESE?
Return parameter: <NR1>
Reference command: *ESR? *PSC *STB?
Bit map of standard event status enable register
Bit position
7
6
5
4
3
2
1
0
Bit Name
PON Not used
CME
EXE
DDE
QYE
Not used
OPC
Bit Weight
128
32
16
8
4
PON Power-on
CME Command error
EXE Execution error
DDE Device-dependent error
QYE Query error
OPC Operation complete
*ESR?
This command queries the standard event status register. After executing this command, the standard event status
register is reset. The bit definition of the standard event status register is identical to the standard event status
enable register
Query syntax: *ESR?
Parameter: None
Return parameter: <NR1>
Reference command: *CLS *ESE *ESE? *OPC
*IDN?
This command reads information about the power supply. The return value contains 4 segments divided by a
comma.
Query syntax: *IDN?
Parameter: None
Return parameter: <AARD> segment description