Serial Communication - Brecknell LPS Serie Mode D'emploi

Balances postales et d'expédition de colis
Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

5

Serial Communication

RS-232 Connections between scale and host.
Notes:
On the indicator's DB9 female, pins 4 and 6 are shorted and pins 7 and 8 are shorted.
The baud rate and parity are configurable. Parity, start (low) and stop (high) bits will
each be fixed at one. Data bits will be fixed at seven (if no parity bit, the data bit is eight).
Modem lines will not be supported. Baud rates supported will be 1200, 2400, 4800,
9600 and 19200. Responses to serial commands will be immediate, or within one
weight meter cycle of the scale. One second should be more than adequate for use as
a time-out value by the remote (controlling) device.
The length of the weight field will be 10 bytes (for 5 1/2 LCD): one for minus sign, one
for decimal point, two for unit of measure (e.g. "lb", "kg"), six for weight data; The
leading zero in weight data will be suppressed.
SP.X is the serial protocol of RS-232:
24
Indicator
(DB9 female)
(DB9 male)
TXD 2
RXD 3
GND 5
DSR 4
DTR 6
CTS 7
RTS 8
NC 1
NC 9
If the weight is overcapacity, the scale will return eight '^' characters (the field
l
of minus sign, decimal point, weight data is filled by '^').
If the weight is under capacity, it will return eight '_' characters (the field of
l
minus sign, decimal point, and weight data is filled by '_').
If weight is negative, in motion, the scale will still respond with a weight and
l
status string.
If the weight is overcapacity, the scale will return eight '^'. If the weight is
l
under capacity, it will return eight '_'; if the zero point is error, it will return
eight '-'.
Units of measure abbreviations are always lower case.
l
The weight may be negative; therefore a polarity character is present. The
l
character will be '-' for negative weight or a space character for positive
weight.
Weight field is always eight characters (6 for weight, 1 for decimal point, 1 for
l
polarity).
Leading zeroes are suppressed.
l
Cable
(DB9 female)
2
2
3
3
5
5
4
4
6
6
7
7
8
8
1
1
9
9
Host
(DB9 male)
2RXD
3 TXD
5 GND
4 DTR
6 DSR
7 RTS
8 CTS
1
9
LPS Series User Instructions

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Lps-15Lps-150Lps-400

Table des Matières