TEST AND ADJUSTMENTS
49TPI10EN04
13
7.4. ECR-PN / ECR-POSNET PROTOCOL (SAMSUNG
POLAND VARIANT)
Protocol
Cash Register Scale
E
q
D
1
S
H
S
x
SXWW.WWWkgB
cc
E
x
E
T
/ NAK
D
2
S
H
S
x
PPPPPPPPB
cc
E
x
S
x
SXWW.WWWkgB
cc
E
x
S
x
IIIIIIIIB
cc
E
x
E
T
/ NAK
Where:
E
q
: 0x05h
D
1
: 0x11h D
2
: 0x12h
S
H
: 0x01h S
X
: 0x02h
S: Weight status.
S: 0x53h stable.
U: 0x55h Unstable.
X:
SPACE: 0x20h
U: 0X46h
– : 0x2Dh
PPPPPPPP: 8 characters for price (the first two to zero).
WWWWW: 5 characters for weight.
IIIIIIII: 8 characters for amount (the first two to zero).
.: 0x2Eh
kg: 0x6Bh y 0x67h
B
cc
: Checksum, logic add (XOR) from S to weight
status.
E
x
: 0x03h
E
T
: 0x04h
NOTE:
- If the sequence or the message format that the scale receives is incorrect, the scale
responds with NAK.
- The ‘X’ is a character which can take more than one value depending on weight status.
• Space (0x20): when the weight is correct.
• 'U' (0x46) : when the weight is not valid or
erroneous.
• '–' (0x2D) : when the weight is negative (for
example: Tare weight without plate).
- When the quantity in absolute value is <1000 the leading zeros are fill with “0” (0x30h), but
if the quantity in absolute value is >=1000 they are fill with “ “ (0x20h).
- If the weight is erroneous (with “-------“ on the display) the scale replace the X and the
weight by FFFFFFF. In the answer to the frame D
2
, the amount is set to zero.
- If the scale has a tare weight, it sends the net weight in the field WWWWW.
- If when the frame D
2
is sent the weight is negative, the scale responds with the introduced
price, negative weight and amount to 0.
- If the scale receives a frame with incorrect format, it responds with NAK.
- 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.
- Between different requests the weight must vary at least 20 steps or pass through zero,
otherwise the scale responds with NAK.
- The minimum variation or zero crossing, and the adjustment of minimum weight, also
concerns to weight request.