Agilent Technologies 6633B, 6634B Programming the Status Registers, Power-OnConditions, Rqs ,**$

Models: 6632B 6633B 66332A 6634B

1 103
Download 103 pages 34 Kb
Page 32
Image 32
Programming the Status Registers

3 - Programming the DC Source

Programming the Status Registers

You can use status register programming to determine the operating condition of the dc source at any time. For example, you may program the dc source to generate an interrupt (assert SRQ) when an event such as a current limit occurs. When the interrupt occurs, your program can then act on the event in the appropriate fashion.

Figure 3-7 shows the status register structure of the dc source. Table 3-1 defines the status bits. The Standard Event, Status Byte, and Service Request Enable registers and the Output Queue perform standard GPIB functions as defined in the IEEE 488.2 Standard Digital Interface for Programmable Instrumentation. The Operation Status and Questionable Status registers implement functions that are specific to the dc source.

Power-On Conditions

Refer to the *RST command description in chapter 4 for the power-on conditions of the status registers.

QUESTIONABLE STATUS

 

 

 

 

 

CONDITION

PTR/NTR

EVENT

OV

0

 

1

 

1

 

1

1

 

 

 

OCP

 

 

2

 

2

 

2

 

2

 

 

 

FS

 

 

4

 

4

 

4

 

3

 

 

 

N.U.

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

OT

 

 

16

 

16

 

16

 

5-8

 

 

 

N.U.

 

 

 

 

 

 

 

 

9

 

 

 

 

 

 

RI

 

 

512

 

512

 

512

 

10

 

 

 

Unreg

 

 

1024

 

1024

 

1024

 

11-13

 

 

N.U.

 

 

 

 

 

 

 

14

 

 

 

 

 

 

MeasOvld

 

 

 

16384

 

16384

 

16384

 

15

 

 

 

N.U.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

STANDARD EVENT STATUS

 

ENABLE

1

 

2

 

4

 

16

OR

LOGICAL

512

1024

 

16384

 

OUTPUT QUEUE

OFF

OUTPut:DFI:SOURce

FLT

 

 

SERVICE

 

REQUEST

STATUS BYTE

ENABLE

N.U. 0-2

 

0

OPC

1

N.U.

2

QYE

3

DDE

4

EXE

5

CME

6

N.U.

7

PON

EVENT

1

4

8

16

32

128

ENABLE

1

4

8

16

32

128

LOGICAL OR

DATA

QUEUE

 

NOT

DATA

EMPTY

 

DATA

 

 

 

QUES

3

8

 

 

8

 

MAV

4

 

OR

 

16

16

 

LOGICAL

ESB

5

 

 

32

32

MSS

6

 

 

 

 

64

 

 

OPER

7

128

 

 

128

 

 

 

 

 

 

OPERATION STATUS

 

 

CONDITION

PTR/NTR

 

EVENT

CAL

0

 

 

 

 

 

1

 

1

 

1

1-4

 

 

N.U.

 

 

 

 

 

5

 

 

 

 

 

WTG

32

 

32

 

32

6,7

 

 

N.U.

 

 

 

 

 

8

 

 

 

 

 

CV

256

 

256

 

256

9

 

 

N.U.

512

 

512

 

512

10

 

 

CC+

1024

 

1024

 

1024

11

 

 

CC-

2048

 

2048

 

2048

 

 

 

12-15

 

 

N.U.

 

 

 

 

 

 

 

 

 

 

 

 

 

ENABLE

1

32

 

 

OR

512

LOGICAL

256

 

1024

 

2048

 

RQSPower-On Conditions),*￿￿￿￿*$/

SERVICE

REQUEST

GENERATION

Figure 3-7. DC Source Status Model

32

Page 32
Image 32
Agilent Technologies 6633B, 6634B, 66332A, 6632B, 6614C, 6613C Programming the Status Registers, Power-OnConditions, Rqs ,**$