Test y Ajustes
60
4.44 ANKER cash register protocol with zero weight sending
Protocol
Cash Register Scale
S
x
01E
c
PPPPPE
x
A
K
E
q
S
x
02E
c
3E
c
WWWWWE
c
PPPPPE
c
IIIIIIE
x
If the weight is unstable, negative or out of range
S
x
01E
c
PPPPPE
x
A
K
E
q
NAK
Where:
S
x
: 0x02h A
K
: 0x06h
01: 0x30h y 0x31h E
x
: 0x03h
E
c
: 0x1Bh NAK: 0x15h
WWWWW: 5 characters for weight.
PPPPP: 5 characters for price.
IIIIII: 6 characters for amount.
NOTE:
-
It is allowed the sending of the frame of price, weight and amount when the weight is zero. It is
necessary to have set to zero the minimum weight adjustment.
-
After the scale responds with A
K
there is timeout of a second to receive E
q
, if this time expired the
scale does not respond to E
q
.
- Between different requests the weight must vary at least 20 steps or pass through zero, otherwise the
scale responds with NAK.
- If the weight is unstable, zero, negative or erroneous (with “-------“ on the display), the scale respond
with NAK.
- If the amount overflows the scale send 000000 in the field IIIIII.
- If the scale has a tare weight, it sends the net weight in the field WWWWW.