beautypg.com

Appendix a - ieee 488.2 command/query definitions, A.1 introduction, Table a-1. ieee 488.2 command/query index – KEPCO KLR Series Developers Guide User Manual

Page 97: A.2 *cls — clear status command, A.3 *ese — standard event status enable command, Ported (see appendix a), R. a.3)

background image

KLR-DEV 060713

A-1

APPENDIX A - IEEE 488.2 COMMAND/QUERY DEFINITIONS

A.1

INTRODUCTION

This appendix defines the IEEE 488.2 commands and queries used with the KLR Power Supply
These commands and queries are preceded by an asterisk (*) and are defined and explained in
PAR. A.2 through A.17, arranged in alphabetical order. Table A-1 provides a quick reference of all
IEEE 488.2 commands and queries supported in the KLR Power Supply.

A.2

*CLS — CLEAR STATUS COMMAND

*CLS

Syntax:

*CLS

Description: Clears status data. Clears the following registers without affecting the corresponding Enable Regis-

ters: Standard Event Status Register (ESR), Operation Status Event Register, Questionable Status
Event Register, and Status Byte Register (STB). Also clears the Error Queue. Related commands:
*OPC, *OPC?. (See example, Figure A-1.)

A.3

*ESE — STANDARD EVENT STATUS ENABLE COMMAND

*ESE

Syntax:

*ESE where = positive whole number: 0 to 255 per Table A-2.
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 A-1.)

TABLE A-1. IEEE 488.2 COMMAND/QUERY INDEX

COMMAND

PAR.

COMMAND

PAR.

*CLS

A.2

*RST

A.13

*ESE, ?

A.3, A.4

*SAV

A.13

*ESR?

A.5

*SRE, ?

A.13, A.14

*IDN?

A.6

*STB?

A.15

*OPC, ?

A.7, A.8

*TRG

A.16

*OPT?

A.13

*TST?

A.17

*RCL

A.13

*WAI

A.18

TABLE A-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