Rs232 interface, 2 rs232 interface, Hardware – Ohaus NBF1A2 Navigator Balances User Manual
Page 92: Output formats, Rs232 commands

29
TM
RS232 COMMAND TABLE
5.2 RS232 Interface
Navigator
TM
balances are 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, or by using the Auto Print
feature.
Connecting the balance to a computer enables you to
operate the balance from the 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 9-pin male subminiature
“D” connector is provided for interfacing to other devices.
The pinout and pin connections are shown in the adja-
cent illustration.
The balance will not output any data unless pin 5 (CTS)
is held in an ON state (+3 to +15 V dc). Interfaces not
utilizing the CTS handshake may tie pin 5 to pin 6 to
defeat it.
IMPORTANT:
An Ohaus RS232 cable is required to operate with this
balance. A standard RS232 cable will not work. See
Accessories listed in paragraph 5.7.
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.
The output format is illustrated in the table which follows.
RS232 Connection
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.
1
2
3
4
5
6
7
8
9
PRINT *
TARE *
RS232 Commands
All communication is accomplished using standard ASCII
format. Characters shown in the following table are
acknowledged by the balance. Invalid command re-
sponse "ES" error indicates the balance has not recog-
nized the command. Commands sent to the balance
must be terminated with a carriage return (CR) or
carriage return-line line feed (CRLF). Data output by the
balance is always terminated with a carriage return - line
feed (CRLF).
Rear of Balance
(See rear of balance)
Command
Character
Description
OFF
Turns balance off.
ON
Turns balance on.
AO
Print Auto Shutoff
xAO
Set Auto-shutoff. - Set timer from 0-60 minutes. 0 = timer disabled.
AC
Abort Calibration.
C
Begin span calibration.
L
Begin linearity calibration