HiWeigh HH User Manual page 9

Physician scale
Table of Contents

Advertisement

Format 1 2 3 4
Communication Protocol
UART signal of EIA-RS232 C
Data Format
1. Baud Rate : 2400 / 4800 / 9600/19200/38400 BPS
2. Data Bit : 8 BITS
3. Parity Bit : None
4. Stop Bit : 1 BIT
Start Bit
Format 1 (232 1 ~ 3 ) :
HEAD1 ( 2 BYTES )
OL - Overload
ST - Stable
US - Unstable
Fixed 18 BYTES ASCII (kg g t lb)
1 2 1 1 2 1 1 2 3 4 5 6 7 8 1 2 1 2
HEAD1
HEAD2
Fixed 21 BYTES ASCII (tl.T lboz)
1 2 1 1 2 1 1 2 3 4 5 6 7 8 9 1 2 3 4 1 2
HEAD1
HEAD2
Fixed 19 BYTES ASCII (pcs)
1
2
1
1
2
1
HEAD1
HEAD2
Output examples :
1. Example +0.876 kg Stable net weight :
S T , N T , + 0 0 0 . 8 7 6 k g 0D 0A
2. Example -1.568 lb unstable gross weight :
U S , G S ,
- 0 0 1 . 5 6 8
3. Example + 1.15.40 Taiwan Jin Stable net weight :
S T , N T
,
+ 0 1
4. Example -20. 5.40 lb oz unstable gross weight :
S T , G S
,
-
!
Data Bit
HEAD2 ( 2 BYTES )
NT - Net Weight
GS - Gross Weight
DATA
DATA
1
2
3
4
5
6
DATA
1 5
4 0
1 0
0 5
4 0
Stop Bit
UNIT CR LF
UNIT
CR LF
7
8
1
2
3
1
UNIT
CR LF
l b 0D 0A
t
l
T 0D 0A
l
b o z 0D 0A
2
8!

Advertisement

Table of Contents
loading

Table of Contents