3. Read current weight
PC sends 0X05, after receiving scale response 0x06, senfs 0x11,scale will
response weight package.
Weight Package formats: SOH STX STA SIGN WEIGHT_ASCII WEIGHT_UNIT
BCC ETX EOT
SOh. Start to sending symbol, one byte, fixed at 01H.
STX. Start symbol of data item, one byte, fixed at 02H.
STA. Words to describe weight status, one byte, only possible to be 53H or
55H46H. 53H –weight is stable, 55H – weight is unstable, 46H –weight
is abnormal.
SIgN. Sign of weight, one byte, only possible to be 2DH or 20H. 2DH-weight
is negative, 20H-weight is positive.
WEIghT_ASCII. Character string of weight. 5~6 byte, only possible to be
WEIghT_UNIT. Character string of weight unit. 1~2 byte, only possible to be:
'TJ': catty of Taiwan, 'TL': tael of Taiwan, 'SJ': 'SJ': jin, 'LB':
pound, 'KG': kilogram, 'G': gram.
BCC. Character of data verify. One byte. Set STA to D1, SIGN to D2, byte before
BCC to DN, so BCC=D1^D2^. .^DN.'^' is a logic XOR operator.
ETX. Symbol of ending data item, one byte, fixed at 03H.
EOT. Symbol of ending sending, one byte, fixed at 04H.
30H~39H, decimal (2EH), space (20H)
17