Rs232 interface, Rs232 interface/printing data, 1 rs232 interface – Ohaus Voyager Balances User Manual

Page 226: Hardware, Rs232 commands, Output formats

Advertising
background image

73

RS232 Interface/printing data

8.1 RS232 interface

The balance is equipped with a bi-directional RS232 compatible interface for communication with printers and
computers. When the balance is connected directly to a printer, displayed data can be output at any time by simply
pressing PRINT.

The balance can be operated from a computer, as well as receive data such as displayed weight, weighing
mode, stability status, etc. The following sections describe the hardware and software provided with the balance

Hardware

On the rear of the balance, the right-hand, 9-pin male subminiature “D”
connector is provided for interfacing to other devices.

1

N/C

2

Data Out (TXD)

3

Data In (RXD)

4* Tare (External signal)
5

Clear To Send (CTS)

6

Data Terminal Ready (DTR)

7

Ground

8

Request To Send (RTS)

9* Print (External signal)
*

External PRINT and/or TARE switches

may be installed as shown in the diagram.
Momentary contact switches must be used.

RS232 Commands

All communication is accomplished using standard ASCII format. Only the
characters shown in the following table are acknowledged by the balance.
Invalid command response "ES" error indicates the balance has not
recognized the command. Commands sent to the balance must be termi-
nated with a carriage return (CR) or carriage return-line line feed (CRLF).
For example, a tare command should appear as shown in the adjacent
diagram. Data output by the balance is always terminated with a carriage
return - line feed (CRLF).

Output Formats

Data output can be initiated in one of three ways: 1) By pressing PRINT;
2) Using the Auto Print feature; 3) Sending a print command (“P”) from a
computer.

RS232 Connection

8. RS232 interface/printing data

Advertising