Manual

5
Section 4. Data Communications
Introduction to data communications
Basic understanding of serial data communications is needed when setting up the
DS100 to communicate with a printer or PC.
When setting up a serial communications system, there are two concerns which
affect the configuration of that system. These are:
Baud Rate
Data Bits and Parity
The baud rate determines how fast the data is sent from the scale. The sending
and receiving units must be set to the same baud settings. Typical values are
1200, 2400, 4800 and 9600.
The DS100 is factory set for eight bits, no parity and one stop bit also known as
8n1. The receiving units must be set to 8n1 for proper communications.
See the technical manual for UPS print string configuration.
F0 Example (Negative weight, in motion)
- 2.452 lb MOT.
F0 Print String Definition for Each Weight Unit:
Pounds
STX | POL | WEIGHT| SP | lb | SP | ST | CR | LF
Ounces
STX | POL | WEIGHT| SP | oz | SP | ST | CR | LF
Kiligrams
STX | POL | WEIGHT| SP | kg | SP | ST | CR | LF
Grams
STX | POL | WEIGHT| SP | g | SP | SP ST | CR | LF
Pounds-ounces
STX | POL | WEIGHTLB| SP | lb | POL | WEIGHTOZ | SP | oz | SP | ST | CR | LF
STX () = ASCII 02
POL = minus sign for negative weight or a space for a positive weight
WEIGHT = 6 character field plus decimal if needed
WEIGHTLB = pound portion of lb-oz weight
WEIGHTOZ = ounce portion of lb-oz weight. (WEIGHTLB and WEIGHTOZ total 5 characters
plus decimal)
SP = ASCII space
ST = MOT. if in motion or a space if stable
CR () = Carriage return
LF () = Linefeed