Opc? - Operation Complete Query; A.8 *Opc? — Operation Complete Query - KEPCO BOP 1000W Operator's Manual

High power bipolar power supply
Hide thumbs Also See for BOP 1000W:
Table of Contents

Advertisement

A.8
*OPC? — OPERATION COMPLETE QUERY
Syntax:
*OPC?
Return value: <1 or 0> (ASCII)
0 placed in output queue if power supply has not completed operation after prior *OPC command.
1 placed in output queue when power supply has completed operation.
Description: Indicates when pending operations have been completed. *OPC command must be sent to first to
clear status bit 0 (Operation Complete). *OPC? will return "0" until all pending operations are complete
(all previous commands have been executed and changes in output level have been completed) At
that time *OPC? will return "1." Unlike the *WAI command (see PAR. A.18), subsequent commands
are not inhibited while status bit 0 is "0." *OPC? is intended to be used at the end of a command line
so that the application program can monitor the bus for data until it receives the "1" from the power
supply Output Queue. (See example, Figure A-1.)
*CLS
*ESE 60
*ESE?
*ES
*ESR?
*IDN?
*OPC
OUTP ON;:VOLT 21;CURR 3;*WAI ;*OPC?
*ESR?
*ESR?
VOLT 15;CURR 5;*OPC? Sets output voltage to 15V, output current protection limit to 5A, puts "1" on
*RST
*SRE 40
*SRE?
*STB?
OUTP ON
VOLT 25
*WAI
TRIG:SOUR BUS
VOLT:TRIG 12
INIT
*TRG
*TST?
BIT 4886 080709
Power supply clears status data.
Power supply enables bits 5, 4, 3 and 2, allowing command error, execution
error, device dependent error and query error to set the Event Status
Summary bit when an STB command is executed.
Returns 60, (value of the mask) verifying that bits 5, 4, 3 and 2 are enabled.
Unknown command will set command error (Bit 5).
Returns 33 (bit 5 set), indicating Command Error has occurred since the last
time the register was read. Bit 1 indicates operation complete (OPC).
Power supply returns: KEPCO, BOP_1000W 36-28 123456 1.43.
Allows status bit 0 to be set when pending operations complete.
If unit is in voltage mode, sets output voltage to 21V, output current protection
limit to 3A. *OPC? will return a 1 indicating the command has been processed.
by the BOP.
Returns 1, (operation complete, bit 1 = 1).
Returns 0 (event status register cleared by prior *ESR?).
output bus when command operations are complete.
Power supply reset to power on default state including TRIG:SOUR IMM.
When ESB or QUES bits are set (Table A-3), the Request for Service bit will
be set.
Returns the value of the mask (40).
For example, the Power supply responds with 96 (64 + 32) if MSS and the
Event Status Byte (Table A-3) summary bit have been set. The power
supply returns 00 if no bits have been set.
Programmed voltage will be applied to output terminals.
Power supply voltage commanded to 25V.
Next command (VOLT:TRIG 12) cannot be executed until VOLT 25
is complete.
Selects *TRG commands to be used to trigger the unit.
Programs power supply voltage to 12V when *TRG received.
Trigger event is initialized.
Power supply reverts to commanded output voltage of 12V.
** LOAD DISCONNECTED
Power supply executes self test and responds with 0 if test completed
successfully, with 1 if test failed.
FIGURE A-1.
GPIB COMMANDS
*OPC?
A-3

Advertisement

Table of Contents
loading

Table of Contents