beautypg.com

Figure a-11. *stb? — status byte register query, Figure a-12. *trg — trigger command – KEPCO BIT 232F User Manual

Page 37

background image

BIT 232 022800

A-7

FIGURE A-11. *STB? — STATUS BYTE REGISTER QUERY

FIGURE A-12. *TRG — TRIGGER COMMAND

Syntax:

*STB?

Response:

value from 0 to 255 per table below

Function:

Read Status Byte Register without clearing it

Description:

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; ands RQS will be reset.)

Example:

*STB?

Power supply responds with 96 (64 + 32) to indicate MSS and the Event Status
Byte summary bit have been set.

STATUS BYTE REGISTER BITS

CONDITION

N#HI

MSS
RQS

ESB

MAV

NODE NUMBERS (ADDRESS)

BIT

7

6

5

4

3

2

1

0

VALUE

128

64

32

16

8

4

2

1

*STB?

N#HI Node number high
MSS

Master Status Summary

RQS

Request for Service

ESB

Event Status Byte summary

MAV

Message available

Syntax:

*TRG

Function:

Triggers the power supply to be commanded to preprogrammed value of output current and voltage.

Description:

This command causes the power supply to be commanded to the output voltage and current levels
specified by VOLT:TRIG and CURR:TRIG commands, respectively (see Figures B-13 and B-9).

Example 1:

VOLT 25

Power supply voltage commanded to 25V.

VOLT:TRIG 15

Programs power supply voltage to 15V when *TRG received.

INIT

Trigger event is initialized.

*TRG

Power supply reverts to commanded output voltage of 15V.

*TRG

This manual is related to the following products: