Output Inhibit / Enable

The output of the supply can be inhibited without disturbing other programmed functions by sending the device command "OUT OFF" . While the supply is disabled in this manner, it can still accept new programming commands. The device command "OUT ON" will re-enable the output.

Power Supply Status

The power supply makes available several forms of status information. The present-status register contains continuously updated status information. The accumulated-status register provides a summary of the conditions which existed, even if only temporarily, since last reading the register.

The fault and mask registers, when used in conjunction with the service request and serial poll functions, allow the user to select which conditions can cause controller interrupts. The fault and mask registers can also be used independent of serial poll or service request in a manner similar to the accumulated-status register as shown in Example 5.

The structure of present-status, mask, fault and accumulated-status registers is as follows:

Condition

RI

ERR

FOLD

AC

OT

OV

OR

CC

CV

Bit position

8

7

6

5

4

3

2

1

0

Bit Weight

256

128

64

32

16

8

4

2

1

Where CV - Constant Voltage Mode

CC- Constant Current Mode CR - Overrange Mode

OV - Overvoltage Tripped OT - Overtemperature Tripped AC - AC Line overage/Dropout

FOLD - Foldback Tripped

ERR - Programming Error

RI - Remote INH Tripped

Present Status

When a status condition is true, the appropriate bit in the present status register will be set.

The device query "STS?" will instruct the supply to output the present status. The query response will consist of the sum of the bit weights of the true conditions. For example, if the supply is operating in CV mode and a programming error was detected and not cleared, the status returned will be 128 + 1 = 129.

EXAMPLE 3: Function to check ’OR’ bit in pre-sent status register. In the example, the calling program references the function as a Boolean variable in a conditional execution statement. In an application program a line such as line 30 could be used to branch in the event that the supply is in ’OR’ mode.

10ASSIGN @Ps T0 705

20COM /Ps /@Ps

30IF FNOr_mode THEN

40

PRINT "SUPPLY IS IN 0R MODE'‘

50

END IF

60END

70!

118 Programming the Agilent 603xA Power Supplies Using Basic

Page 118
Image 118
Agilent Technologies 6031A, 6035A, 6028A, 6033A, 603xA Output Inhibit / Enable, Power Supply Status, Present Status, ERR Fold