Test y Ajustes
36
4.28 New CASIO TPV Protocol
Protocol
Cash Register Scale
S
x
A
K
/ NAK
@1PPPPPC
R
L
F
S
x
A
K
/ NAK
12C
R
L
F
S
x
A
K
/ NAK
WWWWWPPPPPIIIIII0C
R
L
F
Where:
S
x
: 0x02h A
K
: 0x06h
@1: 0x40h y 0x31h 10: 0x31h y 0x30h
C
R
: 0x0Dh L
F
: 0x0Ah
WWWWW: 5 characters for weight.
PPPPP: 5 characters for price.
IIIIII: 6 characters for amount
NOTE:
- If the weight is negative, unstable or erroneous (with “-------“ on the display) the scale responds to
every frames with NAK.
- If the weight is unstable when the cash register request weight, price and amount, the Scale waits
until it has stable weight to send the message
- The scale takes into account the minimum weight adjustment. If this adjustment has the value 1, the
scale will respond with NAK if the weight is lower than 20 steps.
- Between different requests the weight must vary at least 20 steps or pass through zero, otherwise the
scale will respond with the frame 0000000000000000 C
R
L
F
.
- If the amount overflows the scale sends the frame 0000000000000000 C
R
L
F
- If the scale detects an error in the format or in the send sequence, it responds with NAK.
- If the scale has a tare weight, it sends the net weight in the field WWWWW.
4.29 Reserved