beautypg.com

Figure a-9. *sre — service request enable command, Figure a-10. *sre? — service request enable query – KEPCO BIT 232F User Manual

Page 36

background image

A-6

BIT 232 022800

FIGURE A-9. *SRE — SERVICE REQUEST ENABLE COMMAND

FIGURE A-10. *SRE? — SERVICE REQUEST ENABLE QUERY

Syntax:

*SRE
= value from 0 - 255 per

SERVICE REQUEST ENABLE REGISTER

table below, except bit 6

cannot be programmed.

Function:

Programs the Service Enable Register to determine which events of the Status Byte Register will
cause the power supply to generate a service request

Description:

When a Service Request Enable Register bit is set (“1”), the corresponding Status Byte Register bit
(set to “1”) causes the RQS and MSS bits to be set (1 = set = enable function, 0 = reset = disable func-
tion). All enabled Service Request Enable Register bits are logically ORed to set bit 6 (MSS/RQS) of
the Status byte register. Bit 6 is also set by the power supply to request service (RQS). (See also Fig-
ure 3-12, *STB?)

Example:

*SRE112

Power supply will set bit 6 (MSS/RQS) if any event status register bit is set (ESB = 1),
or any message is available (MAV = 1)

SERVICE REQUEST ENABLE REGISTER BITS

CONDITION

NU

MSS
RQS

ESB

MAV

NU

BIT

7

6

5

4

3

2

1

0

VALUE

128

64

32

16

8

4

2

1

*SRE

MSS

Master Status Summary

RQS

Request for Service

ESB

Event Status Byte summary

MAV

Message available

NU

(Not Used)

Syntax:

*SRE?

Response:

= value from 0 - 255 per

SERVICE REQUEST ENABLE REGISTER

table below,.

Function:

Reads the Service Enable Register to determine which events of the Status Byte Register are pro-
grammed to cause the power supply to generate a a service request (1 = set = function enabled, 0 =
reset = function disables).

Description:

See *SRE command (Figure 3-11) and *STB? command (Figure 3-13).

Example:

*SRE?

Power supply responds with 32 to indicate that the power supply will request service
if the Event Status Byte summary bit is set.

SERVICE REQUEST ENABLE REGISTER BITS

CONDITION

NU

MSS
RQS

ESB

MAV

NU

BIT

7

6

5

4

3

2

1

0

VALUE

128

64

32

16

8

4

2

1

*SRE?

MSS

Master Status Summary

RQS

Request for Service

ESB

Event Status Byte summary

MAV

Message available

NU

(Not Used)

This manual is related to the following products: