Di SKALA G310 Communications Manual
Di SKALA G310 Communications Manual
Di SKALA G310 Communications Manual
COMMUNICATIONS
Model G is capable of communicating with other scales of the same series, with a computer o with a TPV.
It has an 9-way female RS-232 connector on the bottom with electrical connections as follows:
RxD...............................pin2
TxD...............................pin3
GND..............................pin5
If the scales are connected to a PC, the latter may have a 9 or 25 way connector, with the following
description:
Description
Display
TXD ( data sent )
RXD ( data received )
RTS
CTS
DSR
Mass
CD
DTR
RI
DB 9 ( PC 9)
3
2
7
8
6
5
1
4
9
DB 25 ( PC 25)
1
2
3
4
5
6
7
8
20
22
Scales..................DB 25
2............................3
3............................2
5............................7
1. PROGRAMMING OF COMMUNICATIONS
Communication characteristics
1.1.
For programming of communications, the process is as follows:
and
while the
1. Enter test mode by simultaneously pressing
scales are effecting the countdown after switching on.
2. Press C .
and
Bauds
Data Bits
Stop Bits
Parity
Type
Bauds
Data Bits
Stop Bits
Parity
9600
No
20
4800
Even
9600
Even
21
4800
Odd
9600
Odd
22
4800
Even
9600
No
23
4800
Odd
9600
Even
24
2400
No
9600
Odd
25
2400
Even
9600
Even
26
2400
Odd
9600
Odd
27
2400
No
19200
No
28
2400
Even
19200
Even
29
2400
Odd
10
19200
Odd
30
2400
Even
11
19200
No
31
2400
Odd
12
19200
Even
32
1200
No
13
19200
Odd
33
1200
Even
14
19200
Even
34
1200
Odd
15
19200
Odd
35
1200
No
16
4800
No
36
1200
Even
17
4800
Even
37
1200
Odd
18
4800
Odd
4800
No
1200
1200
7
7
2
2
Even
19
38
39
Odd
2. COMMUNICATION PROTOCOLS
Once the communications parameters have been programmed, the scale will show in the display the
possibility of selection of the communications of protocol. Depending on the model, the scale will have the
possibility of storing only one protocol or several (until a maximum of 60) protocols.
NOTE: In scales G-310 the protocol used must be loaded from PC. In scales G-320 all the protocols are
programmed in the scale.
Enter the selected protocol number according to Table 1
1.
Press
(the machine waits until the software of the PC sending the protocols starts to run).
Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Protocol
ANKER
TPV CASIO
RIVA / UNIWELL
TISA
EAN a PC ICL
SANYO
APOLLO/SAMSUNG POLONIA
DELTA
ALFA
DOLAR/SAMSUNG ESPAA
SAMSUNG PORTUGAL
UNIPROX (BMC PS-2000)
UNIPROX con checksum
SHARP UP-700
KABEL (ITALIA)
NCI
ECR-POSNET
Code
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Protocol
TISA con envo en peso Stable
VD TISA
VD SEUR
UNIPROX con 6 dgitos de precio
STAR (con envo en peso Stable)
-------Checkout_Dialog06
EUROSTAR 2000T ALPHA
------DATECS
TPV CASIO NUEVO
-------------ELZAB
TOWA
SHARP UP-700-2
Table 1
2.1.
Protocol
Parameter
Protocol
Parameter
1-ANKER
2-CASIO CE at 9600
2-CASIO CE at 2400
3-RIVA
3-UNIWELL
4-TISA
5-EAN at PC ICL
6-SANYO
7-APOLLO/SAMSUNG POLONIA
7-POSTNET POLONIA
0
4
24
2
28
0
1
5
0
0
8-DELTA
9-ALFA
10-SAMSUNG ESPAA
11-SAMSUNG PORTUGAL
12-UNIPROX
12-BMC PS2000
13-UNIPROX (with checksum)
14-SHARP UP700
15-KABEL
16-NCI
1
1
0
4
0
4
0
29
0
-
2.2.
Operation
Having configured the type of device with which communication is to be established, simply effect
the desired operation from the corresponding TPV, and the scales will automatically send the weight
message.
3. PROTOCOLS TYPE
3.1.
Protocol
Cash register
Scales
SX01ECPPPPEX
AK
Eq
SX02EC3ECWWWWWECPPPPPECIIIIIIEX
Where.
SX:
01:
E C:
WWWWW:
PPPPP:
IIIIII:
AK:
0x02h
0x30 y 0x31h
0x1Bh
EX:
5 digits for the WEIGHT.
5 digits for the PRICE.
6 digits for the SUM
3.2.
0x06h
0x03h
Protocol
Cash register
Scales
SX
AK
@1PPPPPCRLF
AK
10CRLF
SX
AK
WWWWWPPPPPIIIIII0CRLF
Where:
SX:
@1:
CR:
WWWWW:
PPPPP:
IIIIII:
AK:
0x02h
0x40h y 0x31h
10:
0x0Dh
LF:
5 digits for WHEIGT.
5 digits for PRICE
6 digits for SUM
0x06h
0x31h y 0x30h
0x0Ah
3.3.
Protocol
Cash register
Scales
Eq
AK
D1
SxiWWWWWC Ex
SxiWWWWWC Ex
CR
Where:
Eq:
D1:
i:
WWWWW:
C:
Ex:
AK:
0x05h
0x06h
0x11h
0x02h
Sx:
0x69h
5 digits for WEIGHT
Checksum, logical sum (XOR) starting from i.
0x03h
0x0Dh
CR:
3.4.
Protocol
Cash register
Scales
98PPPPPCCRLF
99SWWWWWEIIIIIICCRLF
Where:
98:
PPPPP:
C:
CR:
99:
S:
WWWWW:
E:
IIIIII:
0x38h y 0x39h
5 digits for the price.
Checksum, logical sum (XOR) of all previous characters.
0x0Dh
LF:
0x0Ah
0x39h y 0x39h
Weight status.
S: 0x30h Correct.
S: 0x31h Error.
5 digits for WEIGHT.
Sum status.
E: 0x30h Correct.
E: 0x31h Error.
6 digits for SUM
3.5.
Protocol
Cash register
Scales
Eq
FCCPPPPPWWWWWKCR
Where:
Eq:
F:
CC:
PPPPP:
WWWWW:
K:
CR:
0x05h
0x40h
0x35h y 0x35h
Configurable barcode heading.
5 digits for PRICE.
5 digits for WEIGHT.
Checksum, logical sum (XOR) of all previous characters.
0x0Dh
3.6.
Protocol
Cash register
Scales
Eq
AK
A28PPPPkIIIIIKCRLF
Where:
AK:
0x05h
0x06h
0x32h
2:
0x41h
0x38h
4 digits for the PRICE
Partial checksum of the first 7 characters sent
5 digits for the SUM
Total checksum of the 13 characters sent.
0x0Dh
LF :
0x0Ah
Eq:
A:
8:
PPPP:
k:
IIIII :
K:
CR :
3.7.
Scales
Eq
AK
D1
SHSxSWWW.WWWkgBccExET
Where:
Eq:
D1:
S H:
S:
0x05h
AK: 0x06h
0x11h
SX: 0x02h
0x01h
Weight status.
S: 0x30h Correct.
S: 0x31h Error.
WWWWWW: 5 digits for WEIGHT.
.:
0x2Eh
kg:
0x6Bh y 0x67h
Checksum, logical sum (XOR) from S of weight status.
Bcc:
0x02h
Ex:
0x04h
ET :
3.8.
Protocol
Cash Register
Scales
DCRLF
SWWW.WWWCRLF
Where:
D:
CR:
LF:
S:
WWWWWW:
.:
0x44h
0x0Dh
0x0Ah
Sign
+:
0x2Bh
-:
0x2Dh
6 digits for WEIGHT
0x2Eh
3.9.
Protocol
Cash Register
Scales
SWWW.WWWCRLF
Where:
S:
WWWWWW:
.:
CR:
LF:
3.10.
Sign.
+:
0x2Bh
-:
0x2Dh
6 digits for WEIGHT.
0x2Eh
0x0Dh
0x0Ah
Protocol
Cash Register
Scales
$
WW.WWWCR
Where:
$:
WWWWWW :
.:
0x24h
6 digits for WEIGHT.
0x2Eh
CR :
0x0Dh
Scales
WCr
LFWW.WWWKGCRLFS00CRET
Where:
W:
CR:
LF:
WWWWWW:
.:
S:
00:
KG:
ETX:
Scales
28PPPP0WWWWW0CRLF
Where:
0:
2:
PPPP :
WWWWW :
0x30h
0x32h
PLU Code
5 digits for WEIGHT.
8:
CR:
0x38h
0x0Dh
LF:
0x0Ah
Note: the WEIGHT-PRICE-SUM is not a protocol for the scales. WEIGHT-PLU CODE
is, however, a protocol and therefore the keys in all the other protocols can be used to
enter the product price, and thus calculate the sum. In this protocol, the PLU code to be
sent to the cash register is determined. The row for the sum is cancelled in this protocol.
Scales
28PPPPCWWWWWkCRLF
Where:
2:
PPPP :
C:
WWWWW :
K:
0x32h
8:
0x38h
PLU code.
Partial Checksum (XOR of previous characters)
LF:
5 digits for WEIGHT
0x0Dh
CR :
Total Checksum
0x0Ah
3.14.
Protocol
Set 1
Cash Register
Scales
ETSX01ECPPPPPPECEX
Set 2
Cash Register
Scales
ETSX03ECPPPPPPECTTTTEX
Set 3
Cash Register
Scales
ETSX05ECPPPPPPECTTTTECMMMMMMMMMMMMMEX
Using the different heading, the protocol is developed in the same way for all three sets
Cash Register
Scales
AX
ET E Q
SX02EC3ECWWWWWECPPPPPPECIIIIIIET
ET
Where:
0x04h
ET :
0x02h
Sx:
AK:
0x06h
0x1Bh
E C:
0x05h
EQ :
0:
0x30h
1:
0x31h
2:
0x32h
3:
0x33h
WWWWW:
5 digits for WEIGHT.
6 digits for the price
PPPPPP:
IIIIII:
6 digits for the sum
TTTT:
4 digits for the TARE related to the PLU
MMMMMMMMMMMMM:
13 digits for the PLU description, that the scales will
ignore.
Note: the sharp up 700 is not a protocol for the only weight scales
3.15.
Protocol
Cash Register
Scales
SXWEX
(D3zD4) (D3uD4)
SXWWW.WWWxEX
D3zD4
Where:
0x7Ah
z:
0x02h
SX:
0x75h
u:
0x03h
EX:
0x57h
W:
0x13h
D3:
0x14h
WWW.WWW:
D4:
6 digits for WEIGHT.
.:
0x2Eh
The weight is sent by pressing the ENTER key. The weight cancellation command
on the scales, and in this mode the characters is
can be sent by pressing the key
sent by pressing the c key on the cash register (0x63h).
3.16.
Protocol
Cash Register
Scales
1) Weight request
W CR
LF xx.xxx Kg CR LF SH CR EX
2) Status request
S CR
LF SH CR EX
4) Command unknown
In case of not sending any of the previous commands, the scale
answer Command unknown
LF ? CR EX
Were :
W:
S:
Z:
?:
CR:
.:
0x57h
0x53h
0x5Ah
0x3Fh
0x0Dh
0x2Eh Decimal point
LF:
EX:
S H:
xxxxx:
Kg:
0x0Ah
0x03h
0x01h
5 digits for WEIGHT
0x4Bh y 0x47h
3.17
Protocol ECR-POSNET)
Protocol
Cash Register
Scale
Eq
D1
SHSxSXWW.WWWkgBccExET
Where:
D1:
0x05h
0x11h
SX:
0x01h
0x02h
Weight Status
S: 0x53h Stable.
S: 0x55h UnStable.
0x20h
5 digits for weight
0x2Eh
0x6Bh y 0x67h
Checksum, (XOR) from S of weight status.
0x03h
0x04h
Eq:
S H:
S:
X:
WWWWW:
.:
kg:
Bcc:
Ex:
ET :
Protocol
Cash Register
Scale
98PPPPPCCRLF
99SWWWWWEIIIIIICCRLF
Where:
98:
PPPPP:
C:
CR:
99:
S:
WWWWW:
E:
IIIIII:
0x38h y 0x39h
5 digits for price
Checksum, (XOR) of all the previous characters.
LF:
0x0Dh
0x0Ah
0x39h y 0x39h
Weight Status
S: 0x30h OK
S: 0x31h Error.
5 digits for weight
Amount status
E: 0x30h OK
E: 0x31h Error.
6 digits for Amount
Note: Once the weight is received, the scale sends the data when the weight is stable, it is not negative and
there is not error.
3.19
Protocol VD TISA
Protocol
Cash Register
Scale
99SWWWWWEIIIIIICCRLF
Where:
0x38h y 0x39h
Checksum, (XOR) of all the previous characters.
0x0Dh
0x0Ah
LF:
Weight Status
S: 0x30h OK
S: 0x31h Error.
5 digits for Weight.
Amount status
E: 0x30h OK
E: 0x31h Error.
6 digits for Amount
98:
C:
CR:
S:
WWWWW:
E:
IIIIII:
Note: The scale sends the data when the weight is stable, it is not negative, it is bigger than 0 and there is
not error
3.20
Protocol VD SEUR
Protocolo
Cash Register
Scale
WW.WWWCRLF
Where:
0x0Dh
CR:
WWWWW: 5 dgitos for weight.
.:
LF:
0x2Eh
0x0Ah
Note: The scale sends the data when the weight is stable, it is not negative, it is bigger than 0 and there is
not error
3.21
Protocol
Cash Register
Scale
EEPPPPPPWWWWWkCRLF
Where:
EE :
PPPPPP :
WWWWW :
K:
Note: The Scale sends the data when the key Enter is pressed.
3.22
Protocol
Cash Register
Scale
Eq
XXWWWWW
Where:
WWWWW: 5 digits for weight.
X:
0x20h
Reserved
Protocol DIALOG 06
Protocol
There are four different strings
String 1
Cash Register
Scale
ETSX01ECPPPPPPECEX
String 2
Cash Register
Scale
ETSX03ECPPPPPPECTTTTEX
String 3
Cash Register
Scale
ETSX04ECPPPPPPECMMMMMMMMMMMMMEX
String 4
Cash Register
Scale
ETSX05ECPPPPPPECTTTTECMMMMMMMMMMMMMEX
From the 4 different string the protocol function as follows
Cash Register
Scale
AX
ET E Q
SX02EC3ECWWWWWECPPPPPPECIIIIIIET
ET
Where:
ET :
0x04h
Sx:
0x02h
AK:
0x06h
E C:
0x1Bh
EQ :
0x05h
0:
0x30h
1:
0x31h
2:
0x32h
3:
0x33h
4:
0x34h
5:
0x35h
WWWWW:
PPPPPP:
IIIIII:
TTTT:
MMMMMMMMMMMMM:
3.25
Protocol
Cash Register
Scale
Eq
AK
D1
SHSxSXWW.WWWkgBccExET
Where:
Eq:
D1:
S H:
S:
X:
WWWWW:
.:
kg:
Bcc:
Ex:
ET :
AK:
0x05h
0x06h
0x11h
0x01h
0x02h
SX:
Weight Status
S: 0x53h Stable.
S: 0x55h UnStable.
0x20h
5 digits for weight
0x2Eh
0x6Bh y 0x67h
Checksum,(XOR) from S of weight status.
0x03h
0x04h
Reserved
Protocol DATECS
Protocol
Cash Register
Scale
NL NL NL NL NLSx NL NL NL NL NL NL NL NL
GGGKKKPPPPPIIIIII
NL:
GGG:
0x00h
3 digits for grams
KKK:
PPPPP:
IIIIII:
SX:
0x02h
Note: The scale will allways send zeroes (0x30) in the digits of price and
amount.
3.28
Protocol CASIO 2
Protocol
Cash Register
Scale
Sx
AK
@1PPPPPCRLF
Sx
AK
12CRLF
Sx
AK
WWWWWPPPPPIIIIII0CRLF
Where:
AK:
10:
LF:
0x02h
0x40h y 0x31h
0x0Dh
5 digits for weight
5 digits for price
6 digits for amount
Sx:
@1:
CR:
WWWWW:
PPPPP:
IIIIII:
0x06h
0x31h y 0x30h
0x0Ah
3.29
3.30
Reserved
Protocol
It is possible to send 4 different strings
String 1
Cash Register
Scale
ETSX01ECPPPPPPECEX
String 2
Cash Register
Scale
ETSX03ECPPPPPPECTTTTEX
String 3
Cash Register
Scale
ETSX04ECPPPPPPECMMMMMMMMMMMMMEX
String 4
Cash Register
Scale
ETSX05ECPPPPPPECTTTTECMMMMMMMMMMMMMEX
Depending on the string the protocol will follow:
Cash Register
Scale
AX
ET E Q
SX02EC3ECWWWWWECPPPPPPECIIIIIIET
ET
Where:
ET :
0x04h
Sx:
0x02h
AK:
0x06h
E C:
0x1Bh
EQ :
0x05h
0:
0x30h
1:
0x31h
2:
0x32h
3:
0x33h
4:
0x34h
5:
0x35h
WWWWW:
PPPPPP:
IIIIII:
TTTT:
Note: The different between this protocol and protocol number 24 is that for
this protocol the scale does not send an error message when the weight is
under minimum weight of the scale( 20*e).
3.31
Protocol ELZAB
Protocol
There are two types of strings
String 1
Cash Register
Scale
EcM03YLF
String 2
Cash Register
Scale
EcM03ZLF
From the headers, the protocol will follow the same for both strings
Cash Register
Scale
EcSXWW.WWWCRLF
Where:
E C:
0x1Bh
M:
0x4Dh
03:
Z:
0x30h y 0x33h
0x62h
Y:
X:
0x61h
0x20h
WWWWW:
.:
S:
S: 0x53h
S: 0x55h
0x0Dh
CR:
LF:
0x0Ah
3.32
Protocol TOWA
Protocolo
1.Command mode:
There are three possible formats depending on the string send by the Cash register:
FORMAT 1
Cash Register
Scale
Eq
Cash Register
Scale
AK
Cash Register
Scale
DC1
Cash Register
Scale
FORMAT 2
Cash Register
Scale
Eq
Cash Register
Scale
AK
Cash Register
Scale
DC2
Cash Register
Scale
SH SX P7 P6 P5 P4 P3 P2 P1 P0 BCC EX
SX S SIGN W5 W4 W3 W2 W1 W0 UN1 UN0 BCC EX
SX U7 U6 U5 U4 U3 U2 U1 U0 BCC EX ET
FORMATO 3
Cash Register
Scale
Eq
Cash Register
Scale
AK
Cash Register
Scale
DC3
Cash Register
Scale
SH SX P7 P6 P5 P4 P3 P2 P1 P0 BCC EX
SX S SIGN W5 W4 W3 W2 W1 W0 UN1 UN0 BCC EX
SX U7 U6 U5 U4 U3 U2 U1 U0 BCC EX ET
Note: In format 3 the scale will send the data continuously once per
second.
Scale
SX 41h 32h M4 M3 M2 M1 M0 P5 P4 P3 P2 P1 P0 C EX
When the keys SHIFT and TOTAL are pressed in the scale
Cash Register
Scale
SH SX P7 P6 P5 P4 P3 P2 P1 P0 BCC EX
SX S SIGN W5 W4 W3 W2 W1 W0 UN1 UN0 BCC EX
SX U7 U6 U5 U4 U3 U2 U1 U0 BCC EX ET
Where:
SH:
SX:
Eq:
0x01h
0x02h
0x05h
Ex:
ET:
Ak:
S:
Stable: 0x53h
SIGN:
+:
0x20h
UN1:
g:
0x20h
UN0:
g:
0x67h
BCC: Exclusive value of the data block.
C: Check point.
0x03
0x04
0x06h
UnStable: 0x55h
-:
0x2Dh
3.33
Protocol
There are three possible strings
String 1
Cash Register
Scale
ETSX01ECPPPPPPECEX
String 2
Cash Register
Scale
ETSX03ECPPPPPPECTTTTEX
String 3
Cash Register
Scale
ETSX05ECPPPPPPECTTTTECMMMMMMMMMMMMMEX
From the initial strings, the protocol is the same
Cash Register
Scale
AX
ET E T E Q
SX02EC3ECWWWWWECPPPPPPECIIIIIIET
ET
Where:
ET :
0x04h
Sx:
0x02h
AK:
0x06h
E C:
0x1Bh
EQ :
0x05h
0:
0x30h
1:
0x31h
2:
0x32h
3:
0x33h
WWWWW:
PPPPPP:
IIIIII:
TTTT:
MMMMMMMMMMMMM:
3.34
Protocol QT-6000
Protocolo
There are 4 possible strings.
String 1
Cash Register
Scale
ETSX01ECPPPPPECEX
String 2
Cash Register
Scale
ETSX03ECPPPPPECTTTTEX
String 3
Cash Register
Scale
ETSX04ECPPPPPECMMMMMMMMMMMMMEX
String 4
Cash Register
Scale
ETSX05ECPPPPPECTTTTECMMMMMMMMMMMMMEX
From the initial strings, the protocol is the same
Cash Register
Scale
AK
ET E Q
SX02EC3ECWWWWWECPPPPPECIIIIIIEx
ET
Where:
ET :
0x04h
Sx:
0x02h
AK:
0x06h
E C:
0x1Bh
Ex:
0x03h
EQ :
0x05h
0:
0x30h
1:
0x31h
2:
0x32h
3:
0x33h
4:
0x34h
5:
0x35h
WWWWW:
PPPP:
IIIIII:
TTTT:
MMMMMMMMMMMMM:
3.35
Protocol OLIVETTI
Protocol
Scale
Cash Register
d2800000WWWWWKCRLF
Where:
d:
0x64h
2:
0x32h
0:
0x30h
WWWWW:
K:
CR:
0x0Dh
8:
0x38h
LF:
0x0Ah
3.36
Protocol TF-1000
Protocol
Cash Register
Scale
EQ
AK
SXWWWWWW33Ex
0x05h
AK:
0x06h
Sx:
WWWWWW:
0x02h
6 digits for weight.
Ex:
0x03h