16
USER MANUAL
__________________________________________________________________________________________________________________
If the scale is equipped with two serial joints (interfaces)
and
SErIAL
function is set independently for
both interfaces.
If scale cooperates with a computer then the computer must have a special program. Dedicated programs
are also offered by AXIS.
Needed drivers and instructions can be found on the CD supplied with Axis scales.
12.1
Detailed LonG protocol description
Standard communication parameters: 8 bits, 1 stop bit, no parity, baud rate 9600bps,
After using
key, measurement data is send together with text description (NET, TARE, GROSS)
–
all
set by using
option. If
isn’t set then only scale indication is send (as below).
Data exchange (communication):
Readout of scale indication
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 point 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 (
SErIAL / 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
/ programy
komputerowe
) for scale number 1 please write:
$0201
to log in, then
SI
, and write:
$03
to close
communication
.
Asking about scale presence in system (testing scale connection with computer):
Computer
Scale: S J CR LF (53h 4Ah 0Dh 0Ah),
Scale
Computer: M J CR LF (4Dh 4Ah 0Dh 0Ah),
Displaying a inscription
on scale’s display (text communicate from computer):
Computer
Scale: S N n n X X X X X X CR LF, nn-displaying time in seconds; XXXXXX-6 signs to
display
Scale
Computer: M N CR LF (4Dh 4Eh 0Dh 0Ah),
Scale tarring (calling
T
key press) :
Computer
Scale: S T CR LF (53h 54h 0Dh 0Ah),
Scale
Computer: without response,