Service Manual
Page 40 of 50
Records for Communications from the Scale to a POS system
Record 02
: Result of weighing (answer to records 01, 03, 04, 05)
STX
02
ESC
X
ESC
D4 D3 D2 D1 D0
ESC
D5 D4 D3 D2 D1 D0
ESC
D5 D4 D3 D2 D1 D0
ETX
\_/ I \_______________/ \__________________/ \__________________/
Record I
scale-weight unit price price to pay
No. status 5 digits 5/6 digits 6 digits
Scale status
30H = lb. : oz / 1/8 oz
31H = lb. / 0,01
32H = lb. / 0,005
33H = kg
Record 09
: Status information (answer to Record 08)
STX 09 ESC S1 S0 ETX
\_/ \_____/
Record |
No. \
00
no error
\
01
general error
\
02
parity error or buffer overflow
\
10
invalid record no.
\
11
invalid unit price
\
12
invalid tare value
\
13
invalid text
20
scale is still in motion (no standstill)
21
scale wasn’t in motion since last operation
22
measurement is not yet finished
30
weight is less than minimum weight
31
scale is less than 0
32
scale is overloaded
Record 11
: Request of checksums
(or answer to Record 10)
STX 11 ESC D0 Z ETX
\ _/ \ \___________ random number (only if D0 = 32H)
Record \
No. \
30H = checksums invalid
\_______
31H = checksums valid
32H = answer with rec. 10, use random number Z
Representation of random number Z like checksums (hexadecimal ASCII-char)
6.1.3.4 Description of the Dialog
A dialogue will always be initiated by the POS-system.
Description of weighing operation
The POS-system transmits one of the
Records 01, 03, 04 or 05
.
The scale answers (if no errors) with
ACK
and displays the transmitted data. The POS-system now can
request the weighing result from the scale by transmitting
EOT ENQ
. If the result is known the scale
answers with
Record 02
.
If there is an error, the scale answers with
NAK
. The cause of the error can be explained by the
POS-system sending
Record 08
and receiving
Record 09
. If the status is 20 or 22, the weighing results
can be requested again by retransmitting
EOT ENQ
. In the case of other errors, the operation has to be
started at the beginning (records 01, 03, 04 or 05).
Description of weighing operation with request of checksums
At certain times, the scale will request from the POS-system the calculation and transmitting of checksums.
This will happen in the course of a weighing operation after receiving of one of the records 01, 03, 04 or 05,
and happens if one of the following events occurs:
§
the scale was just powered on
§
there was an error detected before
§
50 weighing operations have taken place
§
the version number was displayed by the scale (record 20)