Direct connection to a printer, Connection to a computer – Ohaus CT Series ELECTRONIC BALANCE User Manual
Page 38
7
DIRECT CONNECTION TO A PRINTER
DIRECT CONNECTION TO A PRINTER
DIRECT CONNECTION TO A PRINTER
DIRECT CONNECTION TO A PRINTER
DIRECT CONNECTION TO A PRINTER
The balance can be connected directly to a printer using the RS-232 Interface. Display
data can be sent to the printer in the format shown below, using one of three methods:
•
using the Auto Print feature
•
using the UNITS button (balances with version 2.0 software or later)
•
using an external print switch
To send data to the printer using the UNITS button, press and hold the button for at least
three seconds. The word “Print” will be displayed and the current display data will be
sent. If only one weighing unit is enabled (in the Setup Menu), the UNITS button
becomes a dedicated PRINT button and does not have to be held for three seconds.
An external print switch may be connected between pins 9 (PRINT) and 7 (GND) of the
9-pin connector. This must be a normally open switch. When the switch is closed, the
current display data will be sent.
CONNECTION TO A COMPUTER
CONNECTION TO A COMPUTER
CONNECTION TO A COMPUTER
CONNECTION TO A COMPUTER
CONNECTION TO A COMPUTER
The balance can be connected to a computer using the RS-232 Interface. This
configuration enables full control of balance functions from the computer, except for
switching the scale ON and OFF. The balance will respond to commands sent as ASCII
characters followed by a Carriage Return (CR) or Carriage Return Line Feed (CRLF)
character. The following table defines the accepted commands. Any other control
characters or commands will be ignored.
COMMAND SENT
BY COMPUTER
DESCRIPTION
BALANCE RESPONSE
P
Print Display Data
The balance responds by sending the
displayed data in the format illustrated in
“DIRECT CONNECTION TO PRINTER”.
This includes Polarity, Displayed Value,
Weighing Units, Stability Status followed by
a CRLF.
COMMAND SENT
POLARITY
Field is Blank if
positive.
DISPLAYED VALUE
Number is right justified
padded with zeroes.
UNITS
G
OZ
OZT
DWT
LBS
PCS
USR
CT
STABILITY
Blank if stable.
? if unstable.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
±
X
X
X
.
X
X
Sp
X
X
X
Stb. Cr
Lf