87
IEEE 488.2 Commands
The 488.2 specifications include some instrument commands and a status
information scheme.
For more information about SCPI Status Registers, see Status Reporting
Overview section.
*CLS (Clear Status)
This command clears Status Byte Register and all the Event Registers
summarized in Status Byte, such as Questionable Status Event Register and
Standard Event Register.
*ESE <enable value> (Standard Event Status Enable)
This command allows you to set Standard Event Enable Register with a
decimal value between 0 and 255.
If a bit of this register is set, the coresponding bit of Standard Event Register
is reported to Status Byte Register.
*ESE?
This command queries the Standard Event Enable Register value.
The power supply returns a decimal value between 0 and 255, which is the
binary weighted sum of all bits of the register.
*ESR? (Event Status Register)
This command queries the Standard Event Register value.
The power supply returns a decimal value between 0 and 255, which is the
binary weighted sum of all bits of the register.
After sending this value, Standard Event Register is cleared.
*IDN? (Identification)
This command queries the identification string of the power supply.
The identification string has four fields: the first field is manufacturer’s name,
the second field is model number (depending on the model number of the
power supply), the third field is serial number (always 0), the fourth field is
firmware revision level (first number indicates firmware revision number for
main processor and the second number indicates firmware revision number for
communication processor).
For 9121 model, the power supply returns a string with the following format:
S.C. CODEC S.R.L. ROMANIA, 9121 , 0, 1.0_1.0
*OPC (Operation Complete)
This command sets bit 0 (Operation Complete bit) from the Standard Event
Register when the power supply completes all operations, including *OPC
command.