beautypg.com

Appendix a - scpi common command/query definitions, Table a-1. ieee 488.2 command/query index, A.2 *cls — clear status command – KEPCO KLN 750W Series, Firmware Version 1.60 to 1.6x User Manual

Page 73: A.3 *idn? — identification query, A.4 *opc — operation complete command

background image

KLN 750W 032614

A-1

APPENDIX A - SCPI COMMON COMMAND/QUERY DEFINITIONS

A.1

INTRODUCTION

This appendix defines the SCPI common commands and queries used with the KLN 750W power
supply. Common commands and queries are preceded by an asterisk (*) and are defined and
explained in paragraphs A.2 through A.7, arranged in alphabetical order. Table A-1 provides a quick
reference of all SCPI common commands and queries used in the Interface Card.

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.

A.3

*IDN? — IDENTIFICATION QUERY

*IDN?

Syntax:

*IDN?
Return value: Character string

Description: Identifies the instrument. This query requests identification. The power supply returns a string

which contains the manufacturer name, the model, the serial number and the firmware level. The
character string contains the following fields: , , , revision> where: = KEPCO, = KLN 750W model number,
= SSSSSS

A.4

*OPC — OPERATION COMPLETE COMMAND

*OPC

Syntax:

*OPC

Description: Causes power supply to set status bit 0 (Operation Complete) to “0” indicating the unit is busy.

When pending operations are complete this status bit is set to “1.” This command sets Standard
Event Status Register bit 0 to “0.” Subsequent *OPC? commands return “0” until all previous com-
mands have been executed and changes in output level have been completed. When all microproces-
sors are idle, *OPC? return “1.”

*OPC? must be proceeded by *OPC to first clear status bit 0, otherwise the *OPC? will return a “1”
that has no meaning. This command does not prevent processing of subsequent commands, but bit 0
will not be set until all pending operations are completed. (1 = set = enable function, 0 = reset = dis-
able function). As an example, the controller sends command(s), then sends *OPC. If controller then
sends *ESR?, the power supply responds with either a “0” (if the power supply is busy executing the
programmed commands), or a “1” (if the previously programmed commands are complete).

TABLE A-1. IEEE 488.2 COMMAND/QUERY INDEX

COMMAND

PAR.

COMMAND

PAR.

*CLS

A.2

*RST

A.6

*IDN?

A.3

*TST?

A.7

*OPC, ?

A.4, A.5