USER MANUAL
13
_____________________________________________________________________________________________________________________
Detailed protocol description
LonG protocol
Communication parameters: 8 bits, 1 stop bit, no parity, baud rate 4800bps,
initialising signal (data send order) – correspond to press
key
Computer
→
Scale: S I CR LF (53h 49h 0Dh 0Ah),
Scale
→
Computer: scale response according to description below (16 bytes):
Byte 1
- sign „-” or space
Byte 2
- space
Byte 3
÷
4 - digit or space
Byte 5÷9 - digit, decimal piont or space
Byte 10
- digit
Byte 11
- space
Byte 12
- k, l, c, p or space
Byte 13
- g, b, t, c or %
Byte 14
- space
Byte 15
- CR
Byte 16
- LF
Attention:
Network number different than zero (F..-rS
/ nr
function) changes scale working
mode: communication with a computer is possible after logging the scale in with
02h scale number command. To log the scale out use 03h command.
For example: Using a program to test RS232 interface ( program is available in
www.axis.pl
/ programy komputerowe
) for scale number 1 please write:
$0201
to
log in, then
SI
, and write:
$03
to close communication
.
Scale tarring (calling
→
T
←
key press) :
Computer
→
Scale: S T CR LF (53h 54h 0Dh 0Ah),
Scale
→
Computer: without response,
Scale zeroing (calling
→
0
←
key press):
Computer
→
Scale: S Z CR LF (53h 5Ah 0Dh 0Ah),
Scale
→
Computer: without response,
Scale turning on / off (calling
I/
key press):
Computer
→
Scale: S S CR LF (53h 53h 0Dh 0Ah),