beautypg.com

A.7 *opc — operation complete command, A.8 *opc? — operation complete query, A.7, a.8 – KEPCO KLP Series Developers Guide, Rev 3 User Manual

Page 103

background image

KLP 041213

A-3

The character string for E-Series models with RODC contains the following fields:
, LAN RODC,,,-

where:

= KEPCO

= KLP V-C (V is E

oMAX

, C is I

oMAX

= KLP (2V-C (2V is E

oMAX

x 2, C is I

oMAX

= KLP V-2C (V is E

oMAX

, 2C is I

oMAX

x 2

LAN = E-Series model (ethernet-enabled with LAN port conforming to LXI protocols

RODC = Rapid Output Discharge Circuit option installed

= DDMMYYYY-Axxxxxx (DD=day, MM=month, and YYYY=year of manu-

facture, Axxxxxx=unit serial number)

= Vn.m (original factory firmware) or vn.m (updated or secondary firmware)

(n.m revision, e.g, V1.01 or v4.00)

[E-Series models only] = Vn.m (original factory LAN firmware) or vn.m

(updated or secondary LAN firmware) (n.m revision, e.g, V1.01 or v4.00)

(See example, Figure A-1.)

A.7

*OPC — OPERATION COMPLETE COMMAND

*OPC

Syntax:

*OPC

Description: Causes power supply to set status bit 0 (Operation Complete) when pending operations are

complete. This command sets Standard Event Status Register bit 0 (see Table A-2) to “1” when all
previous commands have been executed and changes in output level have been completed. 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 = disable function). (See
example, Figure A-1.) As an example, the controller sends command(s), then sends *OPC. If control-
ler then sends *ESR?, the power supply responds with either a “0” (if the power supply is busy execut-
ing the programmed commands), or a “1” (if the previously programmed commands are complete).
(See example, Figure A-1.)

A.8

*OPC? — OPERATION COMPLETE QUERY

*OPC?

Syntax:

*OPC?
Return value: <1> (ASCII) placed in output queue when power supply has completed operation.

Description: Indicates when pending operations have been completed.When all pending operations are com-

plete (all previous commands have been executed and changes in output level have been completed)
a “1” is placed in the Output Queue. Subsequent commands are inhibited until the pending operations
are completed. *OPC? is intended to be used at the end of a command line so that the application pro-
gram can monitor the bus for data until it receives the “1” from the power supply Output Queue. (See
example, Figure A-1.)