Specifications
22
Appendix IV
RS-232 Serial Data Communications
Setra Models 12000L, 5000L, 2000L and 500L come equipped with a bidirectional RS-
232 interface. Users who have purchased a Setra printer may simply follow the
directions under “Printing Out Information.” It may be necessary to read this section to
connect the balance to another device. The RS-232 software interface is discussed in
the first portion of this appendix. The RS-232 hardware interface is discussed in the last
portion of this appendix. For information on connection and data type, consult the
hardware section.
INTERFACING TO A COMPUTER
The bidirectional RS-232 interface not only allows the balance to transmit data to a
computer, but also enables the use of a computer to control the balance. Since the baud
rate of this interface is selectable (see Appendix I- “BAUD RATE”), virtually any
computer or terminal with an RS-232 interface can be connected to the balance. This
section describes the conventions and formats used to communicate with a Setra
balance.
SENDING COMMANDS TO THE BALANCE
All functions which exist on the keyboard may also be accessed by a computer or
terminal using the RS-232 port. Simply send the ASCII character which corresponds to
a function. These characters are shown in the following table:
Function ASCII Hexadecimal Function ASCII Hexadecimal
CAL F46 0 030
CLEAR K 4B 1 1 31
CONV U 55 2 2 32
INT I 49 3 3 33
% % 25 4 4 34
PRINT P 50 5 5 35
SAMPLE NO. S 53 6 6 36
TARE T 54 7 7 37
X10 X 58 8 8 38
--2D9939
. 2E VERIFY V 56