Appendix b - scpi common command/query definitions, B.1 introduction, Table b-1. ieee 488.2 command/query index – KEPCO TMA VXI-27 User Manual
Page 44: B.2 *cls — clear status command, B.3 *ese — standard event status enable command, B.4 *ese? — standard event status enable query
TMA VXI-27 101602
B-1
APPENDIX B - SCPI COMMON COMMAND/QUERY DEFINITIONS
B.1
INTRODUCTION
This appendix defines the IEEE 488.2 common commands and queries used with the MBT
Power Supply controller. Common commands and queries are preceded by an asterisk (*) and
are defined and explained in Figures A-1 through A-14, arranged in alphabetical order. Table A-
1 provides a quick reference of all IEEE 488.2 common commands and queries used in the
MBT power supply controller.
B.2
*CLS — CLEAR STATUS COMMAND
*CLS
Syntax:
*CLS
Description: Clears status data. Clears the error queue of the instrument. It also clears the following registers
without affecting the corresponding Enable Registers: Standard Event Status Register (ESR), Opera-
tion Status Event Register, Questionable Status Event Register, and Status Byte Register (STB).
Related commands: *OPC *OPC?. (See example, Figure B-1.)
B.3
*ESE — STANDARD EVENT STATUS ENABLE COMMAND
*ESE
Syntax:
*ESE
Default Value: 0
Description: This command programs the standard Event Status Enable register bits. The contents function
as a mask to determine which events of the Event Status Register (ESR) are allowed to set the ESB
(Event Summary Bit) of the Status Byte Register. Enables the Standard events to be summarized in
the Status Byte register (1 = set = enable function, 0 = reset = disable function). All of the enabled
events of the standard Event Status Enable register are logically ORed to cause ESB (bit 5) of the Sta-
tus Byte Register to be set (1 = set = enable, 0 = reset = disable)
.
(See example, Figure B-1.)
B.4
*ESE? — STANDARD EVENT STATUS ENABLE QUERY
*ESE?
Syntax:
*ESE?
Return value: Integer> value per Table B-2.
TABLE B-1. IEEE 488.2 COMMAND/QUERY INDEX
COMMAND
PAR.
COMMAND
PAR.
*CLS
*RST
*ESE, ?
*SRE, ?
*ESR?
*STB?
*IDN?
*TRG
*OPC, ?
*TST?
*OPT
*WAI
TABLE B-2. STANDARD EVENT STATUS ENABLE REGISTER AND
STANDARD EVENT STATUS REGISTER BITS
CONDITION
PON NU
CME
EXE
DDE
QUE
NU
OPC
BIT
7
6
5
4
3
2
1
0
VALUE
128
64
32
16
8
4
2
1
PON
Power On
NU
(Not Used)
CME
Command Error
EXE
Execution Error
DDE
Device Dependent Error
QUE
Query Error
OPC
Operation Complete