placeholder Command:  BARCODES 


Short version Long version Changes Example

Mandatory: no
max. Occurrence:  unbounded
Description:
This tag is used as container for commands regarding barcode definitions.
 
Mandatory: yes
max. Occurrence:  unbounded
Supported modes: delete Delete the named item.
deleteall Delete all items.
read Read the named item.
read+ Read the following item.
read- Read the previous item.
readall Read all items from the desired device(s). This doesn't mean comparable reading as in the L2 protocol.
write Write the named item.
Notes:
This command is used to define barcodes used for the printout.
Barcode definitions suppported to process data read by a barcode scanner is not supported right now.

The mode 'deleteall' is supported with version 1.28.0 and higher and only for UC3.

For the mode 'readall' the following information can be helpful:
The table below shows values for the mandatory elements.
<barcode_no> Comment
0 All barcodes/items will be returned.
unequal 0 All barcodes/items will be returned.

For the mode 'deleteall' the following information can be helpful:
The table below shows values for the mandatory elements.
<barcode_no> Comment
0 All barcodes/items will be deleted.
unequal 0 All barcodes/items will be deleted.

   
Mandatory: yes
max. Occurrence: 1
Datatype: short
Range: 1 - 9 999
Nillable: no
Description:
The number of the barcode.
   
Mandatory: no
max. Occurrence: 1
Datatype: string
Range: max. 100 characters
Nillable: no
Description:
The definition of the barcode.
The following table describes the allowed characters for the type 0 (EAN-13).
Identifier Meaning Possible location Hint
0...9 Digits 1 - 12  
A Article No 1 - 13  
F Department No 1 - 12  
B Amount 1 - 12  
C Checksum 7 + 8, 13  
D Date 1 - 12  
N Receipt No 1 - 12  
P PLU 1 - 12  
Q Quantity 1 - 12 Non weighing-PLU
Weight 1 - 12 Weighing-PLU
R Weight with 3 decimals 1 - 12 Weighing-PLU
S Weight with 2 decimals 1 - 12 Weighing-PLU
T Weight with 1 decimal 1 - 12 Weighing-PLU
W Article Group No 1 - 12  
U Department Code 1 - 12  
G Device No 1 - 12  
E Day number in year 1 - 12 1 - max. 366
H Bonus points 1 - 12  
K Basket number 2 - 5 Barcode definition must start with a constant and number of digit + length of K group must cover first 7 positions. (min length 1 – max length 5). With version 1.6.0 and higher
V VAT ID 1 - 12 Available with UC3 version 1.15.0 and higher.
The character at position 13 must be checksum . This will automatically added (except if 'A' is defined from pos 1 - 13).
An additional checksum can be at position 7 or 8 .
The checksum at position 7 or 8 is a checksum over the price, the number of items or the weight.
The checksum at position 13 is a checksum overall.


The following table describes the allowed characters for the type 1 (EAN-8).
Identifier Meaning Possible location Hint
0...9 Digits 1 - 7  
A Article No 1 - 7  
F Department No 1 - 7  
B Amount 1 - 7  
D Date 1 - 7  
N Receipt No 1 - 7  
P PLU 1 - 7  
Q Quantity 1 - 7 Non weighing-PLU
Weight 1 - 7 Weighing-PLU
R Weight with 3 decimals 1 - 7 Weighing-PLU
S Weight with 2 decimals 1 - 7 Weighing-PLU
T Weight with 1 decimal 1 - 7 Weighing-PLU
W Article Group No 1 - 7  
U Department Code 1 - 7  
G Device No 1 - 7  
E Day number in year 1 - 7 1 - max. 366
H Bonus points 1 - 7  
V VAT ID VAT ID 1 - 12 Available with UC3 version 1.15.0 and higher.
The character at position 8 must be checksum. This will automatically added. No further checksums are allowed
The checksum at position 8 is a checksum overall.


The following table describes the supported patterns for the type 4 (EAN-128). Requires ULP firmware version 115 and higher.
Pattern Meaning
(99)kkAAAACQQQQQCBBBBB kk: constant (2 digits), C : checksum over QQQQQ and BBBBB
(99)kkAAAACQQQQQCIIIII kk: constant (2 digits), C : checksum over QQQQQ and IIIII where I = Baseprice PLU
(01)[s]AAAAAAAAAAAAC [s] is one of the following digits:
0: 12-digit article number (EAN without C)
C: checksum over s and AAAAAAAAAAAA
(01)[9]AAAAAAAAAAAAC(310x)QQQQQQ [9]: indicator that an additional information has to be read for a complete product identification (310x)
C : checksum over 9 and AAAAAAAAAAAA
x : number of decimal places of QQQQQQ
(99)AAAAAACQQQQQC[1]IIIII{C}
A = Article number C : checksum over QQQQQ
Q=Quantity, C : checksum over QQQQQ
[1] Indicator for price overwrite, calculated price/kg
{C} : checksum over IIIII according to EAN13 (optional)
The following definitons can be used separate or combinded with the previos definitions.
(13)DDDDDD DDDDDD is the packing date
(15)DDDDDD DDDDDD is the best before date
(17)DDDDDD DDDDDD is the sell by date
(310x)QQQQQQ Q: fix 6 digits where x = number of decimal places
(30)QQQQ Q: 1...8 Stellen where Q = number of pieces
(10)LLL...L L: max. 20 digits where L = lot numer (even alphanumerical data is valid)
If the length of the UCC/EAN-128 has an odd number it will automatically extended to the next even number by adding a '0' at the end.
PLU is the internal price lookup number, Article is the SAN (Worlwide unique Standard Article Number).
Amount and weight are always integer values (weight in grams, amount in cents).
Identifier Q: Weight has the same format like the loadcell.

Added new identifiers:
T = Number of the year - 2..4-characters
C = Checksum - 1-character


The following table describes the allowed characters for the type 8 (Interleaved 2/5).
Identifier Meaning Possible location Hint
0...9 Digits 1 - 47  
A Article No 1 - 47  
F Department No EAN13: 1 - 12 / EAN8: 1 - 7 / Interleaved 2/5 1 - 47 / UCC/EAN-128 -  
B Amount 1 - 47  
C Checksum Only at last position  
D Date 1 - 47  
N Receipt No 1 - 47  
P PLU 1 - 47  
Q Quantity 1 - 47 Non weighing-PLU
Weight 1 - 47 Weighing-PLU
R Weight with 3 decimals 1 - 47 Weighing-PLU
S Weight with 2 decimals 1 - 47 Weighing-PLU
T Weight with 1 decimal 1 - 47 Weighing-PLU
W Article Group No 1 - 47  
U Department Code 1 - 47  
G Device No 1 - 47  
E Day number in year 1 - 47 1 - max. 366
H Bonus points 1 - 47  
V VAT ID 1 - 47 Available with UC3 version 1.15.0 and higher.
The length of the definition should have an even number of characters.
If the length of the definition has an odd number of characters the system is extending to the next even number by adding a leading '0'.
If the 'C' for the checksum overall at the last position of the definition is missing the system is adding a checksum automatically.
The definition above is only allowed if the network exisits only out of UC3 devices.
In the case of having a scale network existing out of UC3 and Etica devices see the table below.


The following document describes the allowed characters for the type 'GS1-Databar-14', 'GS1-Databar-14 Stacked', 'GS1-Databar-Expanded' and 'GS1-DataBar-Expanded Stacked'.
   
Mandatory: no
max. Occurrence: 1
Datatype: short
Range: 0 = EAN-13
1 = EAN-8
2 = Code 39
3 = Code 93 -> only ETICA
4 = EAN-128
5 = ITF 14 -> only ETICA
6 = UPC A -> only ETICA
7 = UPC E -> only ETICA
8 = Interleaved 2/5
9 = EAN-14 -> only ETICA
10 = Code 128
11 = GS1-DataBar 14
12 = GS1-DataBar 14 Stacked
13 = GS1-DataBar Expanded Stacked
Nillable: no
Description:
The type of the barcode.
Notes:
The barcode types 2, 3, 5 - 7 and 9 - 10 are not supported by the UC3 until now.
The barcode types 2, 3, 5 - 7 and 9 - 10 and the belonging definition can only be stored and returned by the UC3 (to be compatile with ETICA devices).
   
Mandatory: no
max. Occurrence: 1
Datatype: dateTime
Range: -
Nillable: yes
Description:
The last time when the record was changed.
CCYY-MM-DDThh:mm:ss
The format is as following:
C = Century
Y = Year
M = Month
D = Day
T = Separator between date and time
h = hour
m = minute
s = second