Test y Ajustes
28
4.18 TISA protocol (with stable weight send)
Protocol
Cash Register Scale
98PPPPPCC
R
L
F
99SWWWWWEIIIIIICC
R
L
F
Where:
98: 0x38h y 0x39h
PPPPP: 5 characters for price.
C: Checksum, logic add (XOR) of all previous characters.
C
R
: 0x0Dh L
F
: 0x0Ah
99: 0x39h y 0x39h
S: Weight status.
S: 0x30h Correct.
S: 0x31h Error.
WWWWW: 5 digits for weight.
E: Amount status.
E: 0x30h Correct.
E: 0x31h Error.
IIIIII: 6 characters for amount.
NOTE:
- Once the scale receives the price, it sends the data when the weight is stable, non-negative and
correct.
- If the amount overflows the scale sends 00000 on the amount field.
- The scale takes into account the minimum weight adjustment. If this adjustment has the value 1 the
scale will send the field S as 1 with the weight 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 send with the field S as 1 with the weight
- If the scale has a tare weight, it sends the net weight in the field WWWWW.
4.19 VD TISA protocol
Protocol
Cash Register Scale
99SWWWWWEIIIIIICC
R
L
F
Where:
98: 0x38h y 0x39h
C: Checksum, logic add (XOR) of all previous characters.
C
R
: 0x0Dh L
F
: 0x0Ah
S: weight status.
S: 0x30h Correct.
S: 0x31h Error.
WWWWW: 5 digits for weight.
E: Weight status.
E: 0x30h Correct.
E: 0x31h Error.
IIIIII: 6 characters for amount.
NOTE:
- The scale sends the data when the weight is stable, non-negative, higher than 0 and correct
- If the amount overflows, the scale wait until the value is on range to send the message.
- The scale takes into account the minimum weight adjustment. If this adjustment has the value 1 the
scale will send the field S as 1 with the weight 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 send with the field S as 1 with the weight
- If the scale has a tare weight, it sends the net weight in the field WWWWW.