SWCOM / SWLSV1
Data description
Character table 0410
All rights reserved Tous droits réservés
Reservados todos los derechos Tutti i diritti riservati
E 04 / 2010
Bizerba GmbH & Co. KG, 72336 Balingen Postfach 10 01 64 72301 Balingen/Germany, Tel. (+49 7433) 12--0, Fax (+49 7433) 12--2696 e--mail: [email protected] Internet: http://www.bizerba.com
Version: 6.126.98.0.01.99 R1
List of contents
Page1
GENERAL ... 1-1
1.1 Warranty ... 1-1 1.2 Supplementary documentation ... 1-1 1.3 General modifications ... 1-2 1.4 Field name modifications ... 1-2 1.5 Program transparency ... 1-3 1.6 Modifications made to the database ... 1-4
2
PROGRAMS ... 2-1
2.1 Communication programs ... 2-1 2.2 Help programs ... 2-23
FILE DESCRIPTION... 3-1
3.1 HDLC file structure ... 3-1 3.1.1 File framing ... 3-5 3.1.2 Useful data ... 3-6 3.2 Record structure HDLC ... 3-7 3.3 Record structure ScLSV1, ScTCP, ScXML ... 3-9 3.3.1 Example ... 3-114
RECORD DESCRIPTION ... 4-1
4.1 Summary of tables ... 4-15
MASTER DATA ... 5-1
5.1 ABST department master data ... 5-1 5.2 AKST special offer campaign data ... 5-2 5.3 ATST extra text master data ... 5-6 5.4 BEST operator master data ... 5-7 5.5 BIST Operator IDmaster data ... 5-11 5.6 CAST COOL Article ... 5-12 5.7 CCST COOL Country ... 5-14 5.8 CPST COOL Production Step / Custom Text ... 5-15 5.9 CIST COOL Item ... 5-16 5.10 CSST COOL Short List ... 5-17 5.11 COST bar code data ... 5-18 5.12 DEVT Device identification ... 5-22 5.13 DOST DOD Delhaize Origin Data ... 5-24 5.14 DVST EDP user ... 5-26 5.15 ETST labels ... 5-28 5.16 ESST label control ... 5-30 5.17 FEST frequency master data ... 5-33 5.18 FOST templates ... 5-36 5.19 FTST Templates ... 5-38 5.20 FUCN local - keyboard function assignment ... 5-40 5.21 FUCO local - keyboard function assignment ... 5-43 5.22 FUGL global - keyboard function assignment ... 5-44 5.23 FWST foreign currencies ... 5-46 5.24 HAST main department master data ... 5-49 5.25 HKST master data of origin ... 5-50 5.26 HPST Data of origin PLU List ... 5-55 5.27 HSST Scanning data of origin ... 5-58 5.28 HWST MPG master data... 5-59 5.29 KASF EAN price graduation ... 5-60 5.30 KAST EAN master data ... 5-64 5.31 KFST head/bottom line master data ... 5-67 5.32 KNST customer master data ... 5-68 5.33 KNUD customer sales ... 5-72 5.34 KUST customer master data ... 5-75 5.35 LAST scrolling message ... 5-78 5.36 LDVT Distributing local files ... 5-79 5.37 LOST logos ... 5-81 5.38 LWST local currency ... 5-82 5.39 LZST diverse data ... 5-85 5.40 MAST function menu ... 5-88 5.41 MDST Multi Media ... 5-92 5.42 MPST menu modification data ... 5-94 5.43 MWST VAT ... 5-95 5.44 NFST nutrient template ... 5-97 5.45 NTST nutrition texts ... 5-101 5.46 OBST Object master data ... 5-106 5.47 OGST Order category master data ... 5-108 5.48 PLSF PLU price graduation ... 5-110
5.49 PLSN nutrient data ... 5-114 5.50 PLSO PLU assortments ... 5-118 5.51 PLST PLU master data ... 5-121 5.52 REST regions ... 5-137 5.53 RPTT Good and bad seller touch keyboard ... 5-138 5.54 SBST Purchase order templates ... 5-140 5.55 SCST master data scanning ... 5-142 5.56 STST static texts ... 5-144 5.57 TARA tare values ... 5-146 5.58 TREU fidelity points ... 5-147 5.59 TRST special price periods ... 5-149 5.60 VAST transaction and evaluation master data ... 5-152 5.61 VPST Packaging master data ... 5-161 5.62 VWST Packaging tool master data ... 5-164 5.63 VZST video assignment master data ... 5-166 5.64 WGST PG master data ... 5-167 5.65 ZAHL disbursement types ... 5-169 5.66 ZAST markup/discount ... 5-171 5.67 AWST report counter ... 5-173
6
SALES DATA ... 6-1
6.1 ABUM department sales ... 6-1 6.2 BEUM operator sales ... 6-3 6.3 EAUM POS PLU sales ... 6-6 6.4 FBUM frequency reports ... 6-9 6.5 GTOT grand total value ... 6-11 6.6 HAUM main department sales... 6-12 6.7 HKUM data of origin sales ... 6-14 6.8 HWUM MPG sales ... 6-16 6.9 KAUM cashier sales ... 6-18 6.10 KNUM customer sales ... 6-24 6.11 KSUM POS sales ... 6-27 6.12 MWUM VAT sales ... 6-33 6.13 PLUM PLU sales ... 6-35 6.14 TPUM fidelity point sales ... 6-38 6.15 WGUM PG sales ... 6-40 6.16 ZAUM markup/discount sales ... 6-42
7
RECORDINGS ... 7-1
7.1 BOKA ticket data ... 7-1 7.2 ZEST time recording ... 7-17
8
PARAMETER DATA... 8-1
8.1 Parameters for master data call ... 8-1 8.1.1 Parameters for master data call ( short/long keys ) ... 8-1 8.1.2 Parameters for master data call ( TYint64/string keys )... 8-3 8.2 Parameters for sales data call ... 8-5 8.3 Parameters for ticket data call ... 8-13 8.4 Parameters for time recording ... 8-24 8.5 Parameters for log calls ... 8-26 8.6 Filter for master data transmission ... 8-28 8.7 Parameters for program status ... 8-30
9
CONFIGURATION DATA ... 9-1
9.1 KATA table configuration ... 9-1 9.2 KFLB configuration byte identifiers ... 9-3 9.3 KFLO configuration ... 9-4 9.4 KFTF keyboard layout ... 9-5 9.5 KONF configuration ... 9-7
10
DATABASE CONFIGURATION DATA ... 10-1
10.1 KFGL database configuration ... 10-1 10.2 KFGB database configuration byte identifiers ... 10-2 10.3 INBE database configuration ... 10-3
11
LOG AND DIAGNOSIS DATA ... 11-1
11.1 LOGB Log ... 11-1 11.2 Diagnosis data ... 11-4
12
MESSAGES ... 12-1
12.1 Parameter structure PARA ... 12-1 12.2 Price modification journal PLJA/PLJE ... 12-1 12.3 PROG program status ... 12-2 12.4 TIME protocol timer ... 12-4 12.5 UHR time/date ... 12-6 12.6 WARE scale status... 12-7 12.6.1 WARE scale status ( <= 32 devices ) ... 12-7 12.6.2 WARE scale status ( > 32 devices ) ... 12-8
APPENDIX ... A-1
1 General
1.1 Warranty Use of software
The manufacturer and its subsidiaries do not warrant for damage caused to the equipment as a result of the use of this data description or the software described therein.
Unless stated otherwise, nothing in this manual claims for a licence of intellectual property in respect of the users of such software.
The manufacturer and its subsidiaries do not accept liability for problems arising as a result of the use of this product. The technical data of this product is subject to modification without prior notice.
This data description has been established with great care. Should, however, any errors or omissions come to your notice, please do not hesitate to contact us.
1.2 Supplementary documentation
In the first instance, this document describes data structures together with their contents.
A prerequisite for the understanding of the individual tables is that the user be familiar with the relevant scale functions and operating procedures. The respective relationships are described in the manual.
Retail scale SC/SW - Programming instructions'
Actual amendments are listed in the relevant release bulletins of the new SC/SW program versions.
1.3 General modifications
Date Description 93/09/01
Version 3.00
Longer file header (field identifier modified)
1.4 Field name modifications
Field names modified: Version < 2.50 Version > 2.50 Version > 7.00 Table name Previous field name New field name New field name
PLST TERM TSNU
TEXT PLTE
PLSO SONU CONU
SOFD COFD
SORA CORA
MWST TEXT MWTE
HWST TEXT HWGT
HAST TEXT HATE
TRST TEXT TSTE
MAST HKEY TSFC
AUTO AUMO
AWST AWNU STAB
AWBD BENU
1.5 Program transparency SW program status from 1.50
- Modification of data type TYdbmAtt (field identifier) - Enlargement of file header (1146 -> 1346 bytes) - New data type VARDATA (e. g. for keyboard macros) - Printing of program number SW in error log file
SW program status from 2.03
- Structure modification in master data (cancel flag WALO)
(master data transmission only possible with SWCom from version 2.02 onwards)
- Clearing of master data by transmission of SW file with send command (cancel flag WALO=1 set)
SW program status from 2.04
- When transmitting the password telegram, the scale checks the program status of SWCom.
The use of an older status (no longer operative in conjunction with the new scale program) makes a data transmission impossible.
SW program status from 2.50
1.6 Modifications made to the database
SW/SC-program
Database version Tables Modifications
SW 8.00 SC 2.00
8.02 ABST
New attribute ABCO SW 8.00
SC 2.00
8.03 COST
New attributes ARZU, CBI2 SW 8.00 SC 2.00 8.04 MPST New table MPST SW 7.07, 8.00 SC 1.07, 2.00
7.21 and 8.05 PLSF and KASF
Attributes BANU, BABT, VANU and VABT: min. value adjustment from 1 to 0 SW 7.08
SC 1.08
7.22 and 8.06 COST Attribute COWE: max. value increased from 3 to 4
SW 8.00 SC 2.00
8.06 VAST
Attribute WREF: length changed from 34 to 100
Attributes MAST, BACK: max. value changed from 32 to 99 SW 8.00
SC 2.00
8.06 MAST
Attributes VWNU, BWNU: max. value changed from 32 to 99 SW 8.00
SC 2.00
8.06 BEST
Attribute WNAA: max. value changed from 32 to 99 SW 8.00
SC 2.00
8.06 AWST
Attribute AWWA: max. value changed from 32 to 99 SW 7.08, 8.00
SC 1.08, 2.00
7.23 and 8.07 FWST/LWST Attribute VPRD: max. value increased from 3 to 4
SW 7.08, 8.00 SC 1.08, 2.00
7.24 and 8.08 FWST/LWST Attribute VPRD: interpretation corrected
SW 7.08, 8.00 SC 1.08, 2.00
7.24 and 8.08 KAST Attribute EPTE: max. value and number of digits fixed to 36 SW 8.00 SC 2.00 8.09 KNST New table KNST SW 8.00 SC 2.00 8.09 KUST
New attributes: TRNR, KUNV, KGSL, KGJA, KGMO, KGTA, KNNA, KVNA, KPLZ, KORT, KSTR, KTEL, KAND
SW 8.00 SC 2.00
8.09 TREU
Attribute TREH: max. value increased from 3 to 6 SW 8.00
SC 2.00
8.10 TREU
Attribute TRPK: max. value increased from 99 to 999 SW 8.00, 9.00
SC 2.00, 3.00
8.11 and 9.00 FUGL New attribute FUTE
SW 9.00 SC 3.00
9.01 PLST/KAST/PLSJ
Attribute KLAR: max. value increased from 10 to 13 SW 8.00, 9.00
SC 2.00, 3.00
8.12 and 9.02 PLST New attributes SBF4 and TAPR
SW 8.00, 9.00 SC 2.00, 3.00
8.13 and 9.03 PLST New attribute PODR
SW 9.00 SC 3.00
9.04 MAST
New attribute INHA SW 9.00 SC 3.00 9.05 PLST New attribute HKDR SW 9.00 SC 3.00 9.05 HKST New table HKST SW 9.00 SC 3.00 9.06 HKST
Attribute HLOS changed to HKNR SW 9.00
SC 3.00
9.07 HKST
New attributes HZRL, HZZU, HSDA, HSZU, HRE1, HRE2 SW 9.00
SC 3.00
9.08 PLST
New attribute HKLY SW 9.00
SC 3.00
9.09 HKST
New attribute HRAS SW 9.00
SC 3.00
9.10 AKST
New table AKST SW 9.00 SC 3.00 9.11 LZST New table LZST SW 9.00 SC 3.00 9.12 AKST
SW 9.00 SC 3.00
9.12 COST
New attributes CVAK and COVO SW 8.04, 9.01
SC 2.04, 3.01
8.14 and 9.13 KNST/KUST Attribute BOVA: min. value adjustment from 1 to 0
SW 9.50 SC 3.50
9.14 PLST
New attribute RATY SW 9.20
SC 3.20
9.15 HKST
New attributes HEGW, HGLT, HALT, HMAD, HZDA, HREG, HLWT, HGTS SW 9.20
SC 3.20
9.16 HKST
Attributes HLWT and HGTS: max. value increased from 20 to 30 SW 9.20
SC 3.20
9.17 HKUM
Attributes PNUM and ABNU: min. value adjustment from 1 to 0 SW 9.03
SC 3.03
9.18 TREU
Attribut TREH: max. value increased from 6 to 7 SW 9.21
SC 3.21
9.19 PLSO
Attribute RABS: max. value increased from 1 to 2 SW 10.00
SC 4.00
10.01 KNST/KUST
New attribute KFIL SW 10.00
SC 4.00
10.02 AKST
Attributes ANUM and ABNU: min. value increased from 0 to 1 SW 10.00
SC 4.00
10.03 ZAHL
Attribute ZLIM: max. value increased from 99999999 to 999999999 SW 10.04
SC 4.04
10.04 KONF, INBE
New tables KONF and INBE SW 10.04
SC 4.04
10.05 KAST, PLST
Attribute KLAR: max. value increased from 13 to 14 SW 10.04
SC 4.04
10.06 BEST
Attributes TRAK and BESL: significance changed SW 10.04
SC 4.04
10.07 Internal table
SW 10.04 SC 4.04
10.08 PLST
Attribute KLGE: max. value increased from 4 to 5 SW 11.04 SC 5.04 CE 1.04 11.01 DVST New table DVST SW 11.04 SC 5.04 CE 1.04 11.02 KFGB, KFLB
New tables KFGB and KFLB SW 11.04
SC 5.04 CE 1.04
11.05 FOST
New attribute FIXT SW 11.04
SC 5.04 CE 1.04
11.06 PLST
New attribute ECTR SW 11.20 SC 5.20 CE 1.20 11.21 Internal table SW 11.20 SC 5.20 CE 1.20 11.22 STST New table STST SW 11.04 SC 5.04 CE 1.04 11.22 PLST
New attribute TFNU SW 11.04
SC 5.04 CE 1.04
11.23 KNST/KUST
New attribute MTON SW 11.20 SC 5.20 CE 1.20 11.24 MDST New table MDST SW 11.20 SC 5.20 CE 1.20 11.25 STST
Attribute BERN: max. value increased from 1 to 4 SW 11.20
SC 5.20 CE 1.20
11.26 VAST
SW 11.20 SC 5.20 CE 1.20
11.27 ATST
Attribute ATTE: max. value increased from 501 to 1501 SW 11.28
SC 5.28 CE 1.28
11.28 PLST
New attribute HMLY SW 12.00 SC 6.00 CE 2.00 12.01 VZST New table VZST SW 12.00 SC 6.00 CE 2.00 12.02 Internal table SW 12.00 SC 6.00 CE 2.00 12.03 LDVT New table LDVT SW 12.00 SC 6.00 CE 2.00 12.04 HKST
New attributes HMLY, HMA2, HMA3, HZR2, HZR3, HZZ2, HZZ3 SW 12.00 SC 6.00 CE 2.00 12.05 FTST New table FTST SW 12.00 SC 6.00 CE 2.00 12.06 FTST New attribute FTBZ SW 12.00 SC 6.00 CE 2.00 12.07 HKST
New attribute GTIN SW 12.00
SC 6.00 CE 2.00
12.08 HKST
Attribute HMLY: max. value changed from 99 to 30 SW 12.00
SC 6.00 CE 2.00
12.09 PLST
New attribute HMLY SW 12.00
SC 6.00 CE 2.00
12.10 SBST
SW 12.00 SC 6.00 CE 2.00
12.11 ESST
New attribute ATTR SW 12.00
SC 6.00 CE 2.00
12.12 SBST
Attribute BANZ: max. value increased from 9999 to 999999 SW 13.00
SC 7.00 CE 3.00
13.01 OBST
New table OBST SW 13.00 SC 7.00 CE 3.00
13.03 BEST
Attribute BEID removed SW 13.00
SC 7.00 CE 3.00
13.04 BIST
New table BIST SW 13.00 SC 7.00 CE 3.00 13.05 HSST New table HSST SW 13.00 SC 7.00 CE 3.00 13.06 SBST
New attribute STME SW 13.00 SC 7.00 CE 3.00 13.07 RPTT New table RPTT SW 13.00 SC 7.00 CE 3.00 13.08 DEVT
New table DEVT SW 13.00 SC 7.00 CE 3.00
13.09 VPST, VWST, PLST
New tables VPST and VWST. PLST table: new attributes VPN1 – VPN6 SW 13.00
SC 7.00 CE 3.00
13.10 PLST
New attribute FSDP; attribute RATY: max. value increased from 1 to 2 SW 13.20
SC 7.20 CE 3.20
13.20 PLST, VPST
SW 13.20 SC 7.20 CE 3.20
13.21 COST
Attribute COSN: max. value increased from 99 to 999 SW 13.20
SC 7.20 CE 3.20
13.22 HKST
New attributes: HNSD, HNSL, HNSZ, HNMx, HNGL, HNKA, HNZx, HMLx, HNZD, HNTE, HNRA, HNGT, HNAL, HNMD, HNRE, HNLW, HNGS, HNR1, HNR2
SW 13.20 SC 7.20 CE 3.20
13.23 NTST
New attribute RELT SW 13.40
SC 7.40 CE 3.40
13.40 TREU, PLSF/KASF,
AKST,
Table TREU attribute TRNR: max. value increased from 99 to 999 Table PLSF attribute PIDE: max. value increased from 5 to 12
attribute SLFD: max. value changed from 9 to 4 Table KASF attribute PIDE: max. value increased from 5 to 12
attribute SLFD: max. value changed from 9 to 4 Table AKST attribute LINF: max. value increased from 1 to 2
attribute AKDA: max. value increased from 201 to 501 SW 13.40
SC 7.40 CE 3.40
13.41 OBST
New attribute SABZ SW 13.40
SC 7.40 CE 3.40
13.42 LWST/FWST
New attribute BCER; attribute VPRD: max. value increased from 4 to 9 SW 13.40
SC 7.40 CE 3.40
13.43 NTST/NFST
Table NTST: new attribute TEAB
Table NTST/NFST: attribute LINE: max. value increased from 3 to 4 SW 13.40 SC 7.40 CE 3.40 13.44 PLST New attribute FSDS SW 13.40 SC 7.40 CE 3.40 13.45 PLST/PLSJ
Attribute PTYP: max. value increased from 5 to 12 SW 13.40
SC 7.40 CE 3.40
13.46 PLST
SW 13.40 SC 7.40 CE 3.40
13.47 STST
Attribute TFNU: max. value increased from 999999 to 999999999 SW 13.40
SC 7.40 CE 3.40
13.48 COST
New attribute HMLY SW 13.40
SC 7.40 CE 3.40
13.49 PLST
Attribute FMOD: max. value increased from 3 to 4 SW 13.41
SC 7.41 CE 3.41
13.50 LDVT
Attribute USRN: max. value increased from 15 to 75 SW 13.44
SC 7.44 CE 3.44
13.51 PLST
New attribute HTOL SW 14.00
SC 8.00 CE 4.00
14.02 FWST/LWST
New attribute KUDR SW 14.00 SC 8.00 CE 4.00 14.03 LZST New attributes LST1, LST2 SW 14.20 SC 8.20 CE 4.20 14.21 MAST/MPST
Table MAST: new attributes THID, MENU Table MPST: new attribute THID
SW 14.20 SC 8.20 CE 4.20 14.22 HKST New attributes TFN1, TFN2, TFZ1, TFZ2 SW 14.20 SC 8.20 CE 4.20 14.23 ESST
New attributes EARN, ENUN, ELNN, ZDRN, EFWN, EONN SW 14.20
SC 8.20 CE 4.20
14.24 MAST
Attribute TITL: max. value increased from 21 to 29 SW 14.20
SC 8.20 CE 4.20
14.25 PLST
SW 14.20 SC 8.20 CE 4.20
14.26 BEST
New attribute BANR SW 14.20
SC 8.20 CE 4.20
14.2/ NFST/NTST/PLSN
Table NFST: new attribute FTYP Table NTST: new attribute NBF2;
attribute TART: max. value increased from 6 to 8; attribute MART: max. value increased from 3 to 8 Table PLSN: new attribute FINH
SW 14.23 SC 8.23 CE 4.23
14.28 ZAST
New attribute ZAWD SC 9.02
CE 5.02 CE II 1.02
15.01 NFST
New attribute BPGE SC 9.20
CE 5.20 CE II 1.20
15.21 PLST/KAST
OGST Table PLST/KAST: new attributes AKTI, OGZU
New table OGST SC 8.25 / 9.05 CE 5.05 / 5.20 CE II 1.20
14.29 / 15.02 / 15.22 PLST
Attribute KLGE: max. value increased from 5 to 6 SC 9.20
CE 5.20 CE II 1.20
15.23 PLST
Attribute RATY: max. value increased from 2 to 4 SC 9.21
CE 5.21 CE II 1.21
15.24 OGST
Attribute OGEB: min. value increased from 0 to 1 SC 9.21
CE 5.21 CE II 1.21
15.03 / 15.25 NFST
Attribute TART: max. value increased from 8 to 9 SC 9.21 CE 5.21 CE II 1.21 15.26 PLST CAST, CCST, CIST, CPST, CSST
Table PLST: new attribute CNOC
New tables CAST, CCST, CIST, CPST, CSST (COOL) SC 9.21
CE 5.21 CE II 1.21
15.27 CAST/CSST
SC 9.21 CE 5.21 CE II 1.21
15.28 MAST
New attributes SHSB and KBSW SC 9.21
CE 5.21 CE II 1.21
15.29 PLST
DOST Table PLST: new attribute DODC
New table DOST SC 9.12 / 9.26 CE 5.12 / 5.26 CE II 1.12 /1.26
15.05 / 15.30 ABST
Attribute ABCO: max. value increased from 999999 to 999999999 SC 9.26
CE 5.26 CE II 1.26
15.31 PLST, PLSF
Table PLST Attribute PTYP: max. value increased from 12 to 13 Table PLSF Attribute PIDE: max. value increased from 12 to 13 SC 9.12 / 9.26
CE 5.12 / 5.26 CE II 1.12 /1.26
15.06 / 15.32 PLST
Table PLST: new attribute HKCM SC 9.40
CE 5.40 CE II 1.40
15.40 SBST
New attributes AZUS, LMVW, RMVW, VPAZ SC 9.42 CE 5.42 CE II 1.42 15.41 WGUM New attributes SC 9.60 CE 5.60 CE II 1.60 15.61 PLST/KAST
Table PLST/KAST: new attribute MWZW SC 7.52 / 9.60
CE 3.52 / 5.60 CE II 1.60
13.52 / 15.62 HKST HPST Table HKST: New attribute HADA
Attribute HGEB: max. value increased from 21 to 51 New Table HPST SC 9.15 / 9.29/ 9.45 / 9.60 CE 5.15 / 5.29 / 5.45 / 5.60 CE II 1.15/1.29/ 1.45 / 1.60 15.07 / 15.33 / 15.42 / 15.63 ZAUM
2 Programs
2.1 Communication programs
SWCom serves to exchange data and messages between a PC and one or several decentralized subsystems, such as an SC/SW scale or a GX labeler). Two program versions are available:
Process control via the command line (SWCMAN)
The transmission is started from the PC by calling up the SWCMAN program. All information necessary for the process control are transferred as parameters during the program call via the command line. Only one file may be transmitted per command.
This version is recommended for the implementation of customer-specific solutions.
Process control via a batch interpreter (SWC_BAT)
This version is especially used in the CWS and SWDasi application programs and is only available to the operating systems DOS and WIN9X/NT.
Transmission parameters, such as line parameters, the subsystem type to be addressed, repetition parameters, modem type and transmission commands are transferred to the program via 'ANW file'.
While the 'USER COMMANDS' are defined or changed, the program already checks via a regulation file whether or not the specified command is executable at the subsystem. With a relevant definition in the regulation file, it is possible, to call up a command sequence in the regulation file by means of a command of the user file. This command sequence is then executed during the transmission of the transmission program by individual commands in relation to the error conditions. How often an individual record is to be transmitted or received before a timeout error is generated or how often a connection setup after a timeout error or a connection clear-down (in the case of modem connection) is to take place may be set via repetition parameters. After the connection has been reestablished, the last processed command is reprocessed or an attempt is made to continue the transmission after the last transmitted record.
During a program call, several transmission commands may be carried out. There is also the possibility of transmitting several files.
2.2 Help programs
SWU: SWfile editor (DOS and UNIX operating systems)
The SWU (System Weighing Instrument Utility) program represents an editor for the especially formatted SC/SW data files.
It allows SC/SW data files to be viewed, edited and extended.
Syntax: SWU <SC/SW data file> Keyboard inputs:
Arrow upward Move window upward Arrow downward Move window downward Scroll upward Move cursor to file start Scroll downward Move cursor to file end
Enter Move to edit mode for the actual record.
The cursor on EOF (end of file) will cause a new record to be linked, provided the editing procedure is not terminated with ESC.
ESC Exit program
ASCII conversion SWASCII
The conversion program SWASCII offers a freely programmable conversion of SW/SC files to user-defined text files and vice versa.
The description of the text file preselected by the user is contained in a so-called info-file with file extension 'if'.
3 File description
3.1 HDLC file structure
Useful data is stored in a HEX file per record. Besides the actual useful data, this file contains additional framing information necessary for conversions into other formats and for the processing by the application. On start of a file transfer the scale transmits the field identifiers related to an SC/SW database table. By means of this information SWCom determines the maximum length of a table. Decisive for the actual length of a database entry is the length of a possibly existing variable character string in the last field. The actual length is inserted in the file to the left of each record. While deselected numeric fields of a table are filled with 0 Hex over their full length, deselected alphanumeric fields are filled with blanks. INTEGER data types of MOTOROLA are additionally converted to the INTEL data format (BYTE twisting).
The field identifiers sent by the scale via acknowledge telegrams may be used to calculate the maximum length of the useful data. They may also be used for the INTEL/MOTOROLA conversion of the HEX data.
Type definition TYdbmAtt of field identifiers
(BIZERBA format, from SW version 2.50):
Length Data type Designation Comments
4 char[4] att_symbol Symbol of attribute identifier 2 short ges_stellen Number of digits
8 TYint64 MinValue Lowest value 8 TYint64 MaxValue Highest value 1 uchar type Attribute type
1 uchar key Key attribute? Yes/No 1 uchar option Attribute selected? Yes/No 1 uchar ptr_on_val Internal value for SW scale
Explanations:
att_symbol: The 4-digit field name clearly identifies a certain attribute during the conversion of data from an SC/SW file to the SC/SW database. Letters used for the field name must be upper case letters.
ges_stellen: MinValue: MaxValue:
Tables may be described with either the number of digits or minimum and maximum values:
ges_stellen > 0:
Indicates the maximum value of an integer and allows the storage capacity of a field to be determined:
0 < ges_stellen <= 4 : SHORT (2 bytes) 5 <= ges_stellen <= 9 : LONG (4 bytes) ges_stellen > 9 : INT64 (8 bytes):
typedef struct {
signed long high; unsigned long low; } TYint64;
The components 'MinValue' and 'MaxValue' are not taken into account.
ges_stellen <= 0:
'MinValue' and 'MaxValue' fields are used to describe the attribute values. They are only valid in conjunction with selected attributes (option = 1). Deselected attributes (option = 0) may be assigned with 0 Hex. The following table indicates how to interpret the components 'MinValue' and 'MaxValue' in relation to the attribute type:
Attribute type MinValue MaxValue
STRING --- Max. string length
VARSTR --- Max. string length
DATUM --- ---
GEWICHT Smallest value Highest value GELD Smallest value Highest value INTEGER Smallest value Highest value INTBFDB Min. number of bits Max. number of bits INTBFHX Min. number of bits Max. number of bits INTBFEX Min. number of bits Max. number of bits
VARDATA --- Max. data length
STRUCT --- Max. data length
Attributes of the bit field types INTBFDB and INTBFHX are configured with the desired number of bits, whereas attributes of type INTBFEX must be configured with the highest and lowest converted numeric value.
type: 1: STRING (character string) 2: VARSTR (character string) 3: DATUM (long)
4: GEWICHT (currently not used) 5: GELD (short, long, int64:
in relation to maximum) 6: INTEGER (short, long, int64:
in relation to maximum)
7: INTBFDB Integer bit field in the SC/SW database (for internal use only)
8: INTBFEX Integer bit field for external applications (expanded bit field)
9: VARDATA Memory dump of the SC/SW database (for data backup only)
From SW version 1.50:
In contrast to VARSTR, bytes may be used within the data '\0'. The structure is not defined. Data is represented in the format used by the SC/SW. The size of a VARDATA value is defined in the first two bytes of the value as a short integer (MOTOROLA format). These two bytes do not affect the size.
10: INTBFHX Integer bit field for external applications (non-expanded bit field)
11: STRUCT User-specific data format: | len | type | data | :
len: [short]
Length of useful data in bytes incl. type excl. len.
type: [short]
Structure type of useful data: 0: char array
1: short array 2: long array 3: INT64 array
> 3: special user structures data: useful data
key: Indicates whether or not an attribute is a key attribute. 0 = no key attribute
option: Indicates whether or not an attribute is selected (configured). Data of a disabled attribute is filled with 0 Hex over the full length, so as to ensure that useful data is always processed with the maximum length during the transmission and in the file. With an attribute disabled, the MinValue and MaxValue fields are no longer of importance.
0 = attribute is not selected 1 = attribute is selected
Any further editing of files for transmitting and receiving data is carried out by application programs, e. g. BIZERBA CWS or SW_DASI data backup.
3.1.1 File framing
Designation of fields Data type Length of header data (in bytes) ushort
SC/SW table name char[14] ASCII Target system version unsigned short Target system revision unsigned short Date/time target system from
70/1/1
long
Program number target system char[12] ASCII Customer name char[80] ASCII Special program name char[40] ASCII Version SWCom unsigned short Revision SWCom unsigned short Date/time SWCom from 70/1/1 long
Program number SWCom char[12] ASCII Parameter field uchar[80] ASCII
Reserve char[80] ASCII
Number of target system unsigned short Length of field identifiers unsigned short Field identifiers TYdbmAtt[100] ** Data block length unsigned short Number of data blocks unsigned long Note:
** (up to SW version 1.49) TYINTAtt (length of 8 bytes) (up to SW version 2.49) TYdbmAtt (length of 10 bytes) (from SW version 2.50) TYdbmAtt (length of 26 bytes)
3.1.2 Useful data
Useful data (N data records):
Record length 1 ushort Record 1
Record length N ushort Record N
Explanations: File framing:
Data block length: Maximum length of a structure. Number of data blocks: Number of records in the SC/SW file:
> 0: The user updates the 'number of data blocks'. = 0: SWCom searches in the SW file to
determine the 'number of data blocks'.
Useful data:
Record length: Effective length of a structure (incl. record length).
Length of header data:
Up to SW version 1.49: 1146 bytes Up to SW version 2.49: 1346 bytes From SW version 2.50: 2946 bytes
3.2 Record structure HDLC
Table : PLST Global table Number of attributes: 39 Description : PLU master data
| | |
| | |-- Number of fields | |
| | Local: Scale-specific
| | Global: Applicable to the compl. | system | |--- Table name |---- Field description | Description Descr. KEY
OPT MinValue MaxValue
Offs Len
Data type
Cancel flag
WALO KEY FIX 0 1 0 2 INTEGER
Descr. KEY OPT MinValue MaxValue Offs Len Data type
| | | | | | | | | | | | | | | |-- Attribute type | | | | | | | | | | | | | | | | | | | | |- Field length | | | | | | (incl. | | | | | | string limiter) | | | | | | | | | | | |--- Offset | | | | | | | | | |--- Maximum value | | | | | | | |--- Minimum value | | | | | |--- Attribute f. configur. | | OPT: for configuration | | FIX: fixed value
| | EXP: expanded
| | bit field (=FIX) | |
| |--- Key attribute |
|
The continuous development of scale programs may involve alterations of the table structures which are not considered by this document. To access the files via a data structure it is, therefore, necessary to observe the actual field identifiers in the file header.
In addition to the table description, each table has a structure definition for C-programs attached.
3.3 Record structure ScLSV1, ScTCP, ScXML
Table : PLST Global table Number of attributes: 39 Description : PLU master data
| | |
| | |---- Number of fields | |
| | Local: scale-specific
| |---- Global: applicable to the compl. system | |--- Table name |---- Field description | Description Descr. KEY
OPT MinValue MaxValue
Offs Len
Data type
Cancel flag
WALO KEY FIX 0 1 0 2 INTEGER
Descr. KEY OPT MinValue MaxValue Offs Len Data type
| | | | | | | |
| | | | | | | |-- Attribute type: | | | | | | | all data types | | | | | | | are represented | | | | | | | in ASCII format. | | | | | | | INTBFDB fields | | | | | | | are omitted | | | | | | | | | | | | | |- Field length | | | | | | (the length of data | | | | | | types STRING and VARSTR | | | | | | is reduced by 1 byte, | | | | | | numeric fields have no | | | | | | leading zeros)
| | | | | |
| | | | | |--- Offset (w/o significance) | | | | | | | | | |--- Maximum value | | | | | | | |--- Minimum value | | | | | |--- Attribute, configurable | | OPT: configurable
| | FIX: fixed value | | EXP: expanded
| | bit field (=FIX) | |
| |--- Key attribute | (a record must | contain all KEY | attributes, sequence | as desired)
|
|--- Attribute symbol (= field name in upper case letters)
A record consists of three components:
Table name Control part Useful data[n]
char[6] char char char[2] char char[4] char[m] char n fields
NAME ESC S
H N
TARGET ESC NAME VALUE ESC
I | m: character field length as required I | I | n: optional sequence of useful I | data fields
I | I | Destination address: == 0: global data I (scale number) > 0: local data
|
| Command: for further explanations, see 'SWLSV1 protocol description '
3.3.1 Example
The host transmits VAT master data to the scale: Request by the host:
Table name:
Name Field separator char[6] char
MWST ESC
Control part:
Command Destination address Field separator
char char[2] char
S 00 ESC
Useful data: 1st field
Field name Value Field separator char[4] char char
WALO 0 ESC
2nd field
Field name Value Field separator char[4] char char
MWNU 1 ESC
3rd field
Field name Value Field separator char[4] char[4] char
MWST 1500 ESC
4th field
Field name Value Field separator char[4] char char
5th field
Field name Value Field separator Char[4] char[20] char
MWTE VAT_1 ESC
Acknowledgement SW: Table name:
Name Field separator Char[6] char
MWST ESC
Control part:
Command Destination address Field separator
Char char[2] char
s 00 ESC
Useful data:
Field name Value Field separator
Char[4] char char
QUIT 0 ESC ScLSV1: „MWST <ESC>S00<ESC>WALO0<ESC>MWNU1<ESC>MWST1500<ESC>MWWI0<ESC>M WTEVAT_1<ESC>“ „MWST <ESC>s00<ESC>QUIT0<ESC>“ ScTCP:
As regards ScTCP, an end identifier is appended to the end of the records („BLK <ESC>“ a block counter is possible as the field contents).
„MWST <ESC>S00<ESC>WALO0<ESC>MWNU1<ESC>MWST1500<ESC>MWWI0<ESC>M WTEVAT_1<ESC>BLK <ESC>“
ScXML:
Within the records, the display of data (<sx_r>) may be identical to that of ScLSV1. With the table name and the control part provided in the header (<sx_header>) of the ScXML file, the relevant records only contain the useful data of the record.
Example 1: ... <sx_data> <sx_r>MWST <ESC>S00<ESC>WALO0<ESC>MWNU1<ESC>MWST1500<ESC>MWWI 0<ESC>MWTEVAT_1<ESC></sx_r> </sx_data> Example 2: ... <sx_header> <sx_table>MWST</sx_table> <sx_cmd>MWST</sx_cmd> <sx_id>MWST</sx_id> </sx_header> <sx_data> <sx_r>WALO0<ESC>MWNU1<ESC>MWST1500<ESC>MWWI0<ESC>MWTEVAT_1<ES C></sx_r> </sx_data>
4 Record description
In this context, the descriptions 'Global table' and 'Local table' are relating to the addressing of the scale in the data transmission and not to the memory organization in the scale.
Addressing: 0 = global table 1 - 99 = local table
4.1 Summary of tables
ABST Global table Department master data
AKST Global table Sp. offer campaign master data ATST Global table Extra text master data
BEST Global table Operator master data BIST Global table Operator ID master data CAST Global table COOL Article
CCST Global table COOL Country CIST Global table COOL Item
CPST Global table COOL Production Step / Custom Text
CSST Global table COOL Short List COST Global table Bar code structure DEVT Local table Device identification DOST Global table DOD Delhaize DVST Global table EDP user ETST Global table Labels
ESST Global table Label control
FEST Global table Frequency master data FOST Global table Templates
FTST Global table Templates
FUCN Local table Keyboard function assignment FUCO Local table Keyboard function assignment FUGL Global table Keyboard function assignment FWST Global table Foreign currencies
HAST Global table Main department master data HKST Global table Master data of origin
HPST Global table Data of origin PLU HSST Global table Scanning data of origin HWST Global table MPG master data KASF Global table EAN price graduation KAST Global table EAN master data
KFST Global table Head/bottom line master data KNST Global table Customer master data
KNUD Global table Customer sales
KUST Global table Customer master data LAST Global table Scrolling message LDVT Global table Distributing local files
LOST Global table Logos
LWST Global table Local currency LZST Global table Diverse data
MAST Global table Data function menu MDST Global table Multi media
MPST Global table Menu modification data
MWST Global table VAT
NFST Global table Nutrient template NTST Global table Nutrition texts OBST Global table Object master data
OGST Global table Order category master data PLSF Global table PLU price graduation
PLSN Global table Nutrition data PLSO Global table PLU assortments PLST Global table PLU master data
REST Global table Regions
RPTT Local table Good and bad seller touch keyboard
SBST Global table Purchase order templates SCST Global table Bar code table
STST Global table Static texts TARA Global table Tare values TREU Global table Fidelity points
TRST Global table Special price periods VAST Global table Transaction
VPST Global table Packaging master data VWST Global table Packaging tool master data VZST Global table Video assignment master data WGST Global table PG master data
ZAHL Global table Disbursement types ZAST Global table Markup/discount
AWST Local table Report counter
ABUM Local table Department sales BEUM Local table Operator sales EAUM Local table POS PLU sales FBUM Local table Frequency reports GTOT Local table Grand total counter HAUM Local table Main department sales HKUM Local table Data of origin sales
HWUM Local table MPG sales
KAUM Local table Cashier sales KNUM Local table Customer sales
KSUM Local table POS sales
MWUM Local table VAT sales
PLUM Local table PLU sales
WGUM Local table PG sales
ZAUM Local table Markup/discount sales
BOKA Local table Ticket data ZEST Global table Time recording
PARASTAMM Parameter Master data call PARAUMS Parameter Sales data call PARABON Parameter Ticket data call PARAZEIT Parameter Time recording
PARALOG Parameter Log
PARAFILTER Parameter Filter
KATA Local table Table configuration
KFLB Local table Configuration byte identifiers KFLO Local table Device configuration
KFTF Local table Keyboard layout KONF Local table Device configuration KFGL Local table Database configuration KFGB Local table Database configuration byte
identifiers
INBE Local table Database configuration
LOGB Local table Log
5 Master data
5.1 ABST department master data
Table : ABST Global table Number of attributes: 4 Description : department master data
Description
Descr. KEY
OPT MinValue MaxValue
Offs Len
Data type Cancel flag
WALO KEY FIX 0 1 0 2 INTEGER Department number
ABNU KEY FIX 1 999 2 2 INTEGER Department number in EAN code
ABCO - FIX 1 999999999 4 4 INTEGER MDPT connection
HABN - FIX 1 99 8 2 INTEGER Information text
ABTE - FIX 0 21 10 21 STRING
c – Data structure ABST department master data typedef struct
{
short walo; /* Cancel flag */
short abnu; /* Department number */
long abco; /* Department number in EAN code */ short habn; /* MDPT connection */
char abte[21]; /* Text */ } TYabst_entry;
Explanations:
WALO: Cancel flag :
0= record is modified or created 1= record is deleted
ABNU: Department number
ABCO: Department number in EAN code HABN: Connection to a main department
5.2 AKST special offer campaign data
Table : AKST Global table Number of attributes: 19 Description : special offer campaign data
Description
Descr. KEY
OPT MinValue MaxValue
Offs Len
Data type Cancel flag
WALO KEY FIX 0 1 0 2 INTEGER Special offer campaign number
AKNR KEY FIX 1 999999999 2 4 INTEGER PLU number
ANUM KEY FIX 1 MAXANUM1 6 8 INTEGER
Department number
ABNU KEY FIX 1 999 14 2 INTEGER Start of validity period
AANF - FIX 0 MAXLONG2 16 4 DATUM
End of validity period
AEND - FIX 0 MAXLONG2 20 4 DATUM Special offer campaign price
AKPR - FIX 0 999999 24 4 INTEGER Special offer text number
AGTN - FIX 0 999999999 28 4 INTEGER Bit field –internal only -
AKBI - FIX 0 16 32 2 INTBFDB Sunday
AKSO - EXP 0 1 34 2 INTBFEX Monday
AKMO - EXP 0 1 36 2 INTBFEX Tuesday
AKDI - EXP 0 1 38 2 INTBFEX Wednesday
AKMI - EXP 0 1 40 2 INTBFEX Thursday
AKDO - EXP 0 1 42 2 INTBFEX Friday
AKFR - EXP 0 1 44 2 INTBFEX Saturday
AKSA - EXP 0 1 46 2 INTBFEX Special offer campaign type
ATYP - EXP 0 3 48 2 INTBFEX Delete info
LINF - EXP 0 2 50 2 INTBFEX
1MAXANUM = 9999999999999
Price data
AKDA - FIX 0 501 52 501 VARSTR
c – Data structure AKST special offer campaign data typedef struct
{
short walo; /* Cancel flag */
long aknr; /* Special offer campaign number */ Tyint64 anum; /* PLU number */
short abnu; /* Department number */ long aanf; /* Start of validity period */ long aend; /* End of validity period */
long akpr; /* Special offer campaign price */ long agtn; /* Special offer text number */ IntBfDb akbi; /* Bit field */
ushort akso; /* Sunday */ ushort akmo; /* Monday */ ushort akdi; /* Tuesday */ ushort akmi; /* Wednesday */ ushort akdo; /* Thursday */ ushort akfr; /* Friday */ ushort aksa; /* Saturday */
ushort atyp; /* Special offer campaign type */ ushort linf; /* Delete info */
char akda[201]; /* Price data */ } TYakst_entry;
Explanations:
WALO: Cancel flag :
0= record is modified or created 1= record is deleted
AKNR: Special offer campaign number ANUM: PLU number
ABNU: Department number
AANF: Start of validity period (date and time) AEND: End of validity period (date and time)
Represented in UNIX format (seconds since 1970/01/01) AKPR: Special offer campaign price, replaces the basic price AGTN: Special offer text number
AKSO: Sunday AKMO: Monday AKDI: Tuesday AKMI: Wednesday AKDO: Thursday AKFR: Friday AKSA: Saturday 0 = no 1 = yes
ATYP: Special offer campaign type 0 = standard campaign
1 = happy hour (or happy day with specification of period of time) 2 = price change
LINF: Delete info
0 = do not delete the special offer campaign 1 = delete the special offer campaign after expiry
2 = delete special offer campaign after expiry or if another campaign is activated
AKDA: Price data as a string
Data for price groups and extra price or graduated discounts The string is structured as follows:
identifier + separator + value (ASCII) +separator etc. Identifiers:
'GPR1' unit price 1 'GPR2' unit price 2 'GPR3' unit price 3 'GPR4' unit price 4 'EXPR' extra price
'SLFD' graduation number 'SPGS' graduated discount
Weight benefit/Price advantage/Discount rate ‘SGEW’ Grad. quantity limit
‘RABZ‘ discount allowed ‘PREU‘ price overwrite
‘PTYP’ Price types (0, 4, 8, 10-12, 13)
8, 10-12: PTYP in PLST: = 1 (Grad. Discount) PIDE in PLSF: = 8, 10-12
‘STOL’ Tolerance flag (0,1)
curr. only 0 (no tolerance calculating) ‘TPNR’ Fidelity points no.
‘RATN’ Discount text number Separator : ESC (0x1B)
Note:
Signs (+ and -) are not permitted.
to the left of the end character is optional.
Example: unit price 2 12,50 $ graduated discount 0 12,00 $ graduated discount 1 11,50 $ ”GPR2|1250|SLFD|0|SPGS|1200|SLFD|1|SPGS|1150|' (| stands for the separator ESC (0x1B))
Examples on how to allocate variable data for special campaigns. A tolerance calculation can be specified via STOL|1| for each graduat. discount entered. If no entry was made or if STOL|0| is specified no
tolerance calculation is done. The tolerance can be calculated for any type of discount.
PTYP 8:
300gr and more weight benefit 50gr “PTYP|8|SLFD|0|SGEW|300|SPGS|50|“
PTYP 10:
300gr and more 0,50$ discount
“PTYP|10|SLFD|0|SGEW|300|SPGS|50|“
PTYP 11:
300gr and more 1% discount 500gr and more 6% discount 1000gr and more 11%
“PTYP|11|SLFD|0|SGEW|300|SPGS|100|
SLFD|1|SGEW|500|SPGS|600|SLFD|2|SGEW|1000|SPGS|1100|“ The following data entry prevents that a 4th grad.discount rate that might be on the scale is used (running grad. discount number 3):
…SLFD|3|SGEW|0|“
PTYP 12:
300gr and more 0,50$ discount 500gr and more 1,10$ discount 1000gr and more 2,50$ discount
“PTYP|12|SLFD|0|SGEW|300|SPGS|50|
SLFD|1|SGEW|500|SPGS|110|SLFD|2|SGEW|1000|SPGS|250|“ or with tolerance calculation
“PTYP|12|SLFD|0|SGEW|300|SPGS|50|STOL|1| SLFD|1|SGEW|500|SPGS|110|STOL|1|
5.3 ATST extra text master data
Table : ATST Global table Number of attributes: 3 Description : extra text master data
Description
Descr. KEY
OPT MinValue MaxValue
Offs Len
Data type Cancel flag
WALO KEY FIX 0 1 0 2 INTEGER Extra text number
ATNU KEY FIX 1 999999999 2 4 INTEGER Extra text
ATTE - FIX 0 1501 4 1501 VARSTR
c - Data structure ATST extra text master data typedef struct
{
short walo; /* Cancel flag */
long atnu; /* Extra text number */ char atte[1501]; /* Extra text */
} TYatst_entry;
Explanations:
Extra texts are texts for ingredients or formulae which supply additional information on a PLU.
WALO: Cancel flag :
0= record is modified or created 1= record is deleted
ATNU: Extra text number Macros:
&$BENA; operator names &$ABNA; department names
&$LFNU; consecutive ticket number &$date; date
5.4 BEST operator master data
Table : BEST Global table Number of attributes: 30 Description : operator master data
Description
Descr. KEY
OPT MinValue MaxValue
Offs Len
Data type Cancel flag
WALO KEY FIX 0 1 0 2 INTEGER Operator number
BENU KEY FIX 1 999 2 2 INTEGER Password key
PASS - FIX 0 8 4 8 STRING Bit field -internal only-
BEST - FIX 0 16 12 2 INTBFDB Department authorization 01
BA01 - FIX 0 999 14 2 INTEGER Department authorization 02
BA02 - FIX 0 999 16 2 INTEGER Department authorization 03
BA03 - FIX 0 999 18 2 INTEGER Department authorization 04
BA04 - FIX 0 999 20 2 INTEGER Department authorization 05
BA05 - FIX 0 999 22 2 INTEGER Department authorization 06
BA06 - FIX 0 999 24 2 INTEGER Department authorization 07
BA07 - FIX 0 999 26 2 INTEGER Department authorization 08
BA08 - FIX 0 999 28 2 INTEGER Department authorization 09
BA09 - FIX 0 999 30 2 INTEGER Department authorization 10
BA10 - FIX 0 999 32 2 INTEGER Float
WEGE - FIX 0 999999999 34 4 INTEGER Scale number for POS functions
WNAA - FIX 0 99 38 2 INTEGER Tare value
TAWE - FIX 0 99999 40 4 INTEGER Operator active
Price overwrite permitted
TRER - EXP 0 1 46 2 INTBFEX Training active
TRAK - EXP 0 1 48 2 INTBFEX Price overwrite priority
BESL - EXP 0 9 50 2 INTBFEX Cashing permitted
KASI - EXP 0 1 52 2 INTBFEX Cashing active
KAAK - EXP 0 1 54 2 INTBFEX POS drawer
KALA - EXP 0 1 56 2 INTBFEX Cancellation permitted
KSTO - EXP 0 1 58 2 INTBFEX Markup/discount authorization
ZASB - EXP 0 1 60 2 INTBFEX Load capacity factor for tare value
TLFK - EXP 0 2 62 2 INTBFEX Staff discount
PRAB - EXP 0 2 64 2 INTBFEX Operator text
BETE - FIX 0 21 66 21 STRING Title
BANR - FIX 0 21 87 21 STRING
c – Data structure BEST operator master data typedef struct
{
short walo; /* Cancel flag */ short benu; /* Operator number */ char pass[8]; /* Password key */
ushort best; /* Bit field -internal only- */
short ba01; /* Department authorization 01 */ short ba02; /* Department authorization 02 */ short ba03; /* Department authorization 03 */ short ba04; /* Department authorization 04 */ short ba05; /* Department authorization 05 */ short ba06; /* Department authorization 06 */ short ba07; /* Department authorization 07 */ short ba08; /* Department authorization 08 */ short ba09; /* Department authorization 09 */ short ba10; /* Department authorization 10 */ long wege; /* Float */
short wnaa; /* Scale number for POS functions */ long tawe; /* Tare value */
ushort beak; /* Operator active */
ushort trer; /* Price overwrite permitted */ ushort trak; /* Training active */
ushort kasi; /* Cashing permitted */ ushort kaak; /* Cashing active */ ushort kala; /* POS drawer */
ushort ksto; /* Cancellation permitted */
ushort zasb; /* Markup/discount authorization */ ushort tlfk; /* Load capacity factor for tare value */ ushort prab; /* Staff discount */
char bete[21]; /* Operator text */ char banr[21]; /* Title */
} TYbest_entry;
Explanations:
WALO: Cancel flag :
0= record is modified or created 1= record is deleted
BENU: Operator number
PASS: Password (7-digit incl. zero byte):
A password will be allocated to each operator allowing him to alter menu data in relation to the authorization level.
BEST: Internal value (=0)
BA01: Department authorization to logon/off operator/cashier: . = 0: no authorization, operator/cashier will be rejected. . > 0: department number of scales permitted for logon/off BA10:
WEGE: Float
TAWE: Operator-specific tare value 1
BEAK: Operator active:1 0=no
1=yes TRER: Price overwrite permitted
BESL TRER
always allowed 1 0 not allowed 0 1 PLU-dependent 0 0
TRAK: Training active: 0=no
1=yes BESL: Price overwrite priority
(see TRER above).
KASI: Cashing permitted: 0=no 1=yes
KAAK: Cashing active:1 0=no
1=yes
KALA: POS drawer: 0=drawer 1
1=drawer 2
KSTO: Cancellation permitted: 0=yes
1=no ZASB: Markup/discount authorization: 0=yes
1=no
TLFK: Load capacity factor for tare value:1 0= 1 g precisely
1= 10 g precisely 2= 100 g precisely
PRAB: Staff discount: 0= not permitted
1= limited 2= unlimited BETE: Operator name
BANR: Title
5.5 BIST Operator ID master data
Table : BIST Global table Number of attributes: 3 Description : Operator IDmaster data
Description
Decr. KEY
OPT MinValue MaxValue
Offs Len
Data type Cancel flag
WALO KEY FIX 0 1 0 2 INTEGER Operator ID
BEID KEY FIX MINBEID1 MAXBEID2 2 8 INTEGER
Operator number
BENU - FIX 1 999 10 2 INTEGER
c – Data structure BIST Operator IDmaster data typedef struct
{
short walo; /* Cancel flag */ Tyint64 beid; /* Operator ID */ short benu; /* Operator number */ } TYbist_entry;
Explanations:
WALO: Cancel flag :
0= record is modified or created 1= record is deleted
1 MINBEID = 0x8000000000000000
5.6 CAST COOL Article
Table : CAST Global table Number of attributes: 9 Description : COOL Article
Description
Descr. KEY
OPT MinValue MaxValue
Offs Len
Data type Cancel flag
WALO KEY FIX 0 1 0 2 INTEGER PLU number
PNUM KEY FIX 1 999999 2 4 INTEGER Department number
ABNU KEY FIX 1 999 6 2 INTEGER Class number
CCNC - FIX 0 999999 12 4 INTEGER Short List number
CSNC - FIX 0 999999 16 4 INTEGER Sequence number
SQNC - FIX 0 99 20 2 INTEGER Most recently used COOL number
CUNC - FIX 0 999999 22 4 INTEGER Forces the scale into COOL Mode
CFXC - EXP 0 1 26 2 INTEGER COOL Pretext number
CXNC - FIX 0 999999 28 4 INTEGER COOL Tracking number
CRNC - FIX 0 21 32 21 STRING
c – Data structure CAST COOL Article typedef struct
{
short walo; /* Cancel flag */ long pnum; /* PLU number */
short abnu; /* Department number */ long ccnc; /* Class number */ long csnc; /* Short list number */ short sqnc; /* Sequence number */
long cunc; /* Most recently used COOL number */ short cfxc; /* Forces the scale into COOL Mode */ long cxnc; /* COOL Pretext number */
char crnc[21]; /* COOL Tracking number */ } TYcast_entry;
Explanations:
WALO: Cancel flag :
0= record is modified or created 1= record is deleted
5.7 CCST COOL Country
Table : CCST Global table Number of attributes: 5 Description : COOL Country
Description
Descr. KEY
OPT MinValue MaxValue
Offs Len
Data type Cancel flag
WALO KEY FIX 0 1 0 2 INTEGER Country number
CTNC KEY FIX 1 999999 2 4 INTEGER Department number
ABNU KEY FIX 1 999 6 2 INTEGER Class number / Category
CCNC KEY FIX 0 999999 8 4 INTEGER Country Text
CCXC - FIX 0 1801 12 1801 VARSTR
c – Data structure CCST COOL Country typedef struct
{
short walo; /* Cancel flag */ long ctnc; /* Country number */ short abnu; /* Department number */ long ccnc; /* Class number / Category */ char ccxc[1801]; /* Country Text */
} TYccst_entry;
Explanations:
WALO: Cancel flag :
0= record is modified or created 1= record is deleted
5.8 CPST COOL Production Step / Custom Text
Table : CPST Global table Number of attributes: 5 Description : COOL Production Step / Custom Text
Description
Descr. KEY
OPT MinValue MaxValue
Offs Len
Data type Cancel flag
WALO KEY FIX 0 1 0 2 INTEGER Production Step Number
PSNC KEY FIX 1 999999 2 4 INTEGER Department Number
ABNU KEY FIX 1 999 6 2 INTEGER Class number / Category
CCNC KEY FIX 0 999999 8 4 INTEGER Production Step Text
PSXC - FIX 0 1801 12 1801 VARSTR
c – Data structure CPST COOL Production Step / Custom Text typedef struct
{
short walo; /* Cancel flag */
long psnc; /* Production Step Number */ short abnu; /* Department Number */ long ccnc; /* Class Number / Category */ char psxc[1801]; /* Production Step Text */ } TYcpst_entry;
Explanations:
WALO: Cancel flag :
0= record is modified or created 1= record is deleted
5.9 CIST COOL Item
Table : CIST Global table Number of attributes: 5 Description : COOL Item
Description
Descr. KEY
OPT MinValue MaxValue
Offs Len
Data type Cancel flag
WALO KEY FIX 0 1 0 2 INTEGER COOL Number
CNOC KEY FIX 1 999999 2 4 INTEGER Department Number
ABNU KEY FIX 1 999 6 2 INTEGER COOL Text Type
CTTC KEY FIX 0 1 8 2 INTEGER COOL Text
CTXC - FIX 0 1801 10 1801 VARSTR
c – Data structure CIST COOL Item typedef struct
{
short walo; /* Cancel flag */ long cnoc; /* COOL Number */ short abnu; /* Department Number */ short cttc; /* COOL Text Type */ char ctxc[1801]; /* COOL Text */ } TYcist_entry;
Explanations:
WALO: Cancel flag :
0= record is modified or created 1= record is deleted
CTTC: COOL Text Type: 0= COOL Text 1= Pretext Text
5.10 CSST COOL Short List
Table : CSST Global table Number of attributes: 6 Description : COOL Short List
Description
Descr. KEY
OPT MinValue MaxValue
Offs Len
Data type Cancel flag
WALO KEY FIX 0 1 0 2 INTEGER COOL Short List Number
CSNC KEY FIX 1 999999 2 4 INTEGER Department Number
ABNU KEY FIX 1 999 6 2 INTEGER Sequential Link Number
SQNC KEY FIX 0 99 2 2 INTEGER COOL Text Type
CTTC - FIX 0 1 10 2 INTEGER COOL Text Number
CNOC - FIX 1 999999 12 4 INTEGER
c – Data structure CSST COOL Short List typedef struct
{
short walo; /* Cancel flag */
long csnc; /* COOL Short List Number */ short abnu; /* Department Number */ short sqnc; /* Sequential Link Number */ short cttc; /* COOL Text Type */
long cnoc; /* COOL Text *Number / } TYcsst_entry;
Explanations:
WALO: Cancel flag :
0= record is modified or created 1= record is deleted
CTTC: COOL Text Type: 0= COOL Text 1= Pretext Text
5.11 COST bar code data
Table : COST Global table Number of attributes: 21 Description : bar code data
Description
Descr. KEY
OPT MinValue MaxValue
Offs Len
Data type Cancel flag
WALO KEY FIX 0 1 0 2 INTEGER Code structure number
COSN KEY FIX 1 999 2 2 INTEGER Code digit
KEZI - FIX 0 999 4 2 INTEGER Bit field -internal only-
COBI - FIX 0 16 6 2 INTBFDB Bit field -internal only-
CBI2 - FIX 0 16 8 2 INTBFDB Info code value
COWE - EXP 0 4 10 2 INTBFEX Number of digits
COST - EXP 0 7 12 2 INTBFEX Check digit calculation
PRZI - EXP 0 1 14 2 INTBFEX Weighting factor/floating comma
COOP - EXP 0 4 16 2 INTBFEX Fill character active
FCON - EXP 0 1 18 2 INTBFEX Code type
COTY - EXP 0 3 20 2 INTBFEX Limiting value check for code contents
MCHK - EXP 0 1 22 2 INTBFEX PLU access
ARZU - EXP 0 1 24 2 INTBFEX Code structure rules
CVAK - EXP 0 1 26 2 INTBFEX Product group number
WGNR - FIX 1 9999 28 2 INTEGER Menu layout
HMLY - FIX 0 30 30 2 INTEGER Fill character
FLCH - FIX 0 2 33 2 STRING Code contents
COIN - FIX 0 7 34 11 STRING Min. value for code contents