Introduction to Programming - 2

Baud Rate

The front panel Address key lets you select one of the following baud rates, which is stored in non-volatile

memory:

 

 

 

 

 

300

600

1200

2400

4800

9600

RS-232 Flow Control

The RS-232 interface supports several flow control options that are selected using the front panel Address key. For each case, the dc source will send a maximum of five characters after holdoff is asserted by the controller. The dc source is capable of receiving as many as fifteen additional characters after it asserts holdoff.

XON-XOFF

A software handshake that uses the ASCII control code DC3 (decimal code

 

19) to assert hold-off, and control code DC1 (decimal code 17) to release

 

hold-off.

RTS-CTS

The dc source asserts its Request to Send (RTS) line to signal hold-off

 

when its input buffer is almost full, and it interprets its Clear to Send (CTS)

 

line as a hold-off signal from the controller.

DTR-DSR

The dc source asserts its Data Terminal Ready (DTR) line to signal hold-off

 

when its input buffer is almost full, and it interprets its Data Set Ready

 

(DSR) line as a hold-off signal from the controller.

NONE

There is no flow control.

Flow control options are stored in non-volatile memory.

RS-232 Programming Example

The following program illustrates how to program the power supply using RS-232 to set the output voltage and current and to readback the model number and output voltage. The program was written to run on any controller using Microsoft QBasic.

NOTE: The power supply must be configured for RS232 and the same baud rate and parity as the controller.

Program to write and read via RS232.

Configure the power supply for 9600 baud, even parity and RS232

Configure serial port for:”

9600 baud

7 bit data

2 stop bits

Ignore request to send

Ignore carrier detect

Even parity

‘ Needed with Vectra basic, ignored with QBasic

Send line feed

Reserve 1000 character buffer for serial I/O

DECLARE FUNCTION gets$ ()

CLS

 

 

‘ Clears screen

LOCATE 1,

1

 

‘ Position curser at top left

‘ Configure Com Port

 

 

OPEN “com1:9600,e,7,2,rs,cd,pe,lf” FOR RANDOM AS #1 LEN = 1000

PRINT #1, “OUTPUT ON”

‘ Turn on output then set voltage and current

PRINT #1, “VOLT 6”

 

‘ Set voltage to 6 volts

PRINT #1, “CURR .5”

 

‘ Set current to 0.5 amps

PRINT #1, “*IDN?”

 

‘ Query the power supply identification string

PRINT gets$

 

‘ Go to gets$ Function and print data returned

PRINT #1, MEAS”VOLT?”; volt

‘ Query the power supply voltage

Volt = VAL (gets$)

 

‘ Convert gets$ string to a value

PRINT gets$

 

‘ Print the value of the voltage

END

 

 

‘ End of main program

11

Page 11
Image 11
Agilent Technologies 66332A, 6634B, 6633B, 6632B, 6614C, 6613C manual RS-232 Flow Control, RS-232 Programming Example, Baud Rate

6613C, 66312A, 6631B, 6611C, 6614C specifications

Agilent Technologies, a leader in electronic test and measurement solutions, offers a range of power supplies designed to meet various application needs. Notable models include the 6632B, 6634B, 66332A, 6633B, and 6612C. Each of these units provides unique features and technologies that cater to researchers, engineers, and technicians in the industry.

The Agilent 6632B is a single-output DC power supply that delivers up to 30V and 3A. It is known for its excellent load regulation and low noise, making it ideal for sensitive electronic testing. The model includes built-in voltage and current measurement capabilities, allowing users to monitor output conditions in real time. The 6632B is commonly used in laboratory environments, educational institutions, and manufacturing lines.

Moving to the 6634B, this model offers dual-output capabilities with a maximum output of 30V and 6A. This versatility enables simultaneous powering of two different devices or circuit sections. It also features parallel and series operation options, allowing users to create a custom power supply configuration for specific applications. With a programmable interface, the 6634B simplifies test automation, ensuring efficiency in extensive testing scenarios.

The Agilent 66332A stands out with its precision and high performance. This power supply provides three outputs—two programmable and one fixed—yielding flexible power configurations. Its intuitive user interface allows easy adjustment of voltage and current settings. The device is equipped with extensive protection features to safeguard both the power supply and the connected load against faults. It is an excellent choice for complex testing setups that require reliable power.

The 6633B model offers a high-performance power supply with dual outputs, similar to the 6634B but with enhanced specifications. It can provide up to 40V and 2A per channel, delivering precision for demanding applications. This model is particularly suited for industries focused on high-reliability applications, such as telecommunications and aerospace.

Lastly, the Agilent 6612C is a compact and lightweight power supply providing single-output up to 60V and 2A. This model is designed for simplicity and ease of use, making it an excellent choice for portable applications. The 6612C’s unique characteristics include a compact design and user-friendly controls, which facilitate operation in field settings.

In summary, Agilent Technologies’ power supply models—6632B, 6634B, 66332A, 6633B, and 6612C—offer an array of features that cater to a wide range of testing and research needs, ensuring reliable power delivery in various contexts.