Test y Ajustes
64
4.49 CARREFOUR protocol
Protocol
The scale waits until it receives the price frame
Terminal Scale
STX 0 1 ESC PPPPPP ETX (price send)
ACK (received ok)
If the weight frame is erroneous
NAK (received error)
If it receives before a second
ENQ (price and amount request)
If it receives an EOT, at that time, it restarts the timer to a second to wait an ENQ
ENQ (price and amount request)
If there is positive and stable weight
STX 0 2 ESC 3 ESC WWWWW ESC PPPPPP ESC IIIIII ETX
If there is not weight or it is negative, unstable, out of range or the amount overflows,
the scale will respond:
NAK
Where:
STX 0x02h
ETX 0x03h
EOT 0x04h
ENQ 0x05h
ACK 0x06h
NAK 0x15h
ESC 0x1bh
WWWWW 5 characters for weight
PPPPPP 6 characters for price
IIIIII 6 characters for amount
NOTE:
- The scale takes into account the minimum weight adjustment. If this adjustment has the value 1, the
scale responds with NAK if the weight is lower than 20 steps.
- It is no necessary to vary 20 steps the weight or pass through zero.