Using The Rs-232 Uut Port To Control An Instrument; Input Buffer Operation - Fluke 5522A Operator's Manual

Multi-product calibrator
Hide thumbs Also See for 5522A:
Table of Contents

Advertisement

5522A
Operators Manual

Using the RS-232 UUT Port to Control an Instrument

The SERIAL 2 TO UUT RS-232 port is used to pass commands on to another instrument.
For example, a meter that is being calibrated can have its RS-232 port connected the
Calibrator SERIAL 2 TO UUT serial port. Commands sent from a controller can be
routed through the Calibrator's UUT port and received by the meter or UUT. There are
seven special UUT_* commands incorporated into the Calibrator for passing commands
on to an instrument connected to the UUT port. Refer to Chapter 6.

Input Buffer Operation

As the Calibrator receives each data byte from the controller, it places the bytes in a
portion of memory called the input buffer. The input buffer holds up to 350 data bytes
and operates in a first in, first out fashion.
IEEE-488 The Calibrator treats the EOI IEEE-488 control line as a separate data byte
and inserts it into the input buffer if it is encountered as part of a message terminator.
Input buffer operation is transparent to the program running on the controller. If the
controller sends commands faster than the Calibrator can process them, the input buffer
fills to capacity. When the input buffer is full, the Calibrator holds off the IEEE-488 bus
with the NRFD (Not Ready For Data) handshake line. When the Calibrator has processed
a data byte from the full input buffer, it then completes the handshake, allowing the
controller to send another data byte. The calibrator clears the input buffer on power-up
and on receiving the DCL (Device Clear) or SDC (Selected Device Clear) messages from
the controller.
RS-232 Under RS-232-C serial port remote control using ^S (<Cntl> S) XOFF protocol,
the Calibrator issues a ^S XOFF when the input buffer becomes 80 % full. The calibrator
issues a ^Q (<Cntl> Q) when it has read enough of the input buffer so that it is less than
40 % full. When using RTS (Request to Send) protocol (selected as part of the "RS-232
Host Port Setup Procedure"), the serial interface asserts and unasserts RTS in response to
same conditions as for XON/XOFF protocol.
5-46
250 INPUT @6, M,U$
260 GOTO 200

Advertisement

Table of Contents
loading

Table of Contents