SICK is a bar code used in the German packaging industry. It's a binary bar code, using a thick bar for a 0, and a thin bar for a 1. It can have up to 12 bars. It can encode numeric or binary data.
In binary mode all digits are encoded including leading zeroes, ie. "0001" is encoded as a three thin and one thick bar.
In decimal mode you can define the number of bars in total, by enter e.g. "6/4". The first number (6) defines the total number of bars, the second (4) defines the valueto be encoded. If you don't define the number of bars, in other words if you enter a single number, the minimal number of bars needed for the value is used, and the code is adjusted accordingly. If you for example enter "9", the value will change to "4/9", as you need at least 4 bars to encode this value.
The defaults follow the mostly used standard "Codetype A", for generating the "Codetype B" should be changed the barcode parameters as following: Narrow Bar to 1.25mm (from 0.5mm), Wide Bar to 3.75mm (from 1.5mm) and Gap to 2.5mm (from 1mm)
By default, the values for the Narrow Bar (0.5mm), Wide Bar (1.5mm) and Gap (1mm) are set for the mostly used standard "Codetype A". If you want to generate a SICK code using "Codetype B", you should set the Narrow Bar to 1.25mm, the Wide Bar to 3.75mm and the Gap to 2.5mm