beautypg.com

A.13 *sre — service request enable command, A.14 *sre? — service request enable query, A.15 *stb? — status byte register query – KEPCO BOP 1KW-MG Operator Manual, Firmware Ver.2.38 to 2.47 User Manual

Page 149: A.16 *trg — trigger command, A.13, A.14, A.15, A.16

background image

BIT 4886 080709

A-5

A.13 *SRE — SERVICE REQUEST ENABLE COMMAND

*SRE

Syntax:

*SRE where = value from 0 - 255 per Table A-3, except bit 6 cannot be pro-
grammed.

Description: Sets the condition of the Service Request Enable register.

The Service Request Enable register

determines which events of the Status Byte Register are summed into the MSS (Master Status Sum-
mary) and RQS (Request for Service) bits. RQS is the service request bit that is cleared by a serial
poll, while MSS is not cleared when read. A "1" (1 = set = enable, 0 = reset = disable) in any Service
Request Enable register bit position enables the corresponding Status Byte bit to set the RQS and
MSS bits. All the enabled Service Request Enable register bits then are logically ORed to cause Bit 6
of the Status Byte Register (MSS/RQS) to be set. Related Commands: *SRE?, *STB?. (See exam-
ple, Figure A-1.)

A.14 *SRE? — SERVICE REQUEST ENABLE QUERY

*SRE?

Syntax:

*SRE?

Response: = value from 0 - 255 per Table A-3.

Description: Reads the Service Enable Register. Used to determine which events of the Status Byte Register are

programmed to cause the power supply to generate a service request (1 = set = function enabled, 0 =
reset = function disabled). Related Commands: *SRE, *STB? (See example, Figure A-1.)

A.15 *STB? — STATUS BYTE REGISTER QUERY

*STB?

Syntax:

*STB?

Response: value from 0 to 255 per Table A-3.

Description: Reads Status Byte Register without clearing it. This Query reads the Status Byte Register (bit 6 =

MSS) without clearing it (1 = set = function enabled, 0 = reset = function disabled). The register is
cleared only when subsequent action clears all set bits. MSS is set when the power supply has one
ore more reasons for requesting service. (A serial poll also reads the Status Byte Register, except that
bit 6 = RQS, not MSS; and RQS will be reset.) Related Commands: *SRE, *SRE?. (See example, Fig-
ure A-1.)

A.16 *TRG — TRIGGER COMMAND

*TRG

Syntax:

*TRG

Description: Triggers the power supply to be commanded to preprogrammed values of output current and

voltage. When the trigger is armed, *TRG generates a trigger signal if TRIG:SOUR is set to BUS and
the WTG bit in Status Operational Condition register (bit 5, Table B-3) is asserted. The trigger is armed
by sending a) INIT:CONT ON to continuously arm the trigger and allow subsequent *TRG commands
to generate the trigger signal or b) if INIT:CONT is set to OFF, sending INIT arms the system and
allows a *TRG to generate a single trigger. If *TRG is received while the trigger is not armed, the trig-
ger is not produced and no error is generated.

The trigger will change the output of the power supply to the output voltage and current levels speci-
fied by VOLT:TRIG and CURR:TRIG commands and clear the WTG bit in the Status Operation Condi-
tion register. If INIT:CONT 1 (ON) has been issued, the trigger subsystem is immediately rearmed for
subsequent triggers, and the WTG bit is again set to 1. *TRG or GET are both addressed commands
(only devices selected as listeners will execute the command). If output is set to OFF, *TRG is ignored.
Related Commands: ABOR, INIT, TRIG, CURR:TRIG, VOLT:TRIG. (See example, Figure A-1.

)

TABLE A-3. SERVICE REQUEST ENABLE AND STATUS BYTE REGISTER BITS

CONDITION

OPER

MSS
RQS

ESB

MAV

QUES

ERR
QUE

LIST
RUN

BUSY

BIT

7

6

5

4

3

2

1

0

VALUE

128

64

32

16

8

4

2

1

BUSY

Busy

LIST RUN List is running
OPER Operation

Status

Summary

MSS

Master Status Summary

RQS

Request for Service

ESB

Event Status Byte summary

MAV

Message available

QUES

QUEStionable Status Summary

ERR QUE

1 or more errors occurred (see
PAR. B.130)