beautypg.com

Salter Brecknell LPS30 User Manual

Page 12

background image

x=6:

120%FS

x=7:

150%FS

x=8:

200%FS

x=9:

No

limitation

========================================================



. The detail about RS232:

1. RS-232 connects between scale and Host:

Scale -----------------------Cable---------------------------Host

(DB9 female)--------(DB9 male)----(DB9 female)--------(DB9 male)

TXD 2 --------------- 2 ------------------------ 2 --------------2 RXD

RXD 3 --------------- 3 ------------------------ 3 --------------3 TXD

GND 5 --------------- 5 ------------------------ 5 --------------5 GND

DSR 4 --------------- 4 ------------------------- 4 --------------4 DTR

DTR 6 --------------- 6 ------------------------- 6 --------------6 DSR

CTS 7 --------------- 7 -------------------------- 7 --------------7 RTS

RTS 8 --------------- 8 -------------------------- 8 --------------8 CTS

NC 1 -------------- 1 -------------------------- 1 --------------1

NC 9 -------------- 9 -------------------------- 9 --------------9

Note: The indicator DB9 female’s pin4 and pin6 is shorted, pin7 and

pin8

is

shorted!


2. When P4 is set to 7: the protocol of RS232 is compatible to with NCI-SP1,

here is the details:

2.1) The baud rate and data format is fixed as per P5 and P6 setting.
Responses to serial commands will be immediate, or within one weight
measure cycle of the scale. One second should be more than adequate for use
as a time-out value by remote (controlling) device.

18

2.2) The length of the weight field will be 7 digit weight data, one for minus
sign, one for decimal point, two for measure unit (e.g. “lb”, “kg”). If the unit
is lb:oz, another two for “lb” and one for a space () after lb. Units of
measure abbreviations are always lower case.

a) If the weight is overcapacity, the scale will return nine ‘^’ characters

(the field of minus sign, decimal point, weight data is filled by ‘^’).

If the weight is under capacity, it will return nine ‘_’ characters (the field

of minus sign, decimal point, and weight data is filled by ‘_’).

If the zero point is error, it will return nine ‘_’ characters.

b) The character will be ‘-’ for negative weight or a space character for
positive weight. Minus sign follows after the first digit.
c) Useless leading zero before digits is suppressed.


2.3) Key to symbols used

Line Feed character (hex 0AH)

Carriage Return character (hex 0DH)

End of Text character (hex 03)

Space (hex 20H)

H1H2H3 Three status bytes

Polarity character including minus sign for negative weight and a

space character for positive weight

W1-W7 weight data

decimal point

U1U2: measure units, kg, lb, or oz

2.4) Commands and response

(1) Command: W (57h 0dh)

Response:

^^^^^^^^^u1u2H1H2H3---over capacity

________u1u2 H1H2H3 ---under capacity

---------u1u2 H1H2H3---zero-point error

Note: If the weight unit is lb: oz, U1U2= oz in above item ①②③.

19