Co je sledovatelnost a proč ji potřebujemeWhat traceability is and why we need it
Sledovatelnost (traceability) je schopnost dohledat u každého kusu, kdy a kde vznikl, z jaké šarže surovin a kdo ho zpracoval. Je to páteř moderní výroby: bez ní nelze cíleně stáhnout vadnou várku, řešit reklamace ani projít auditem.Traceability is the ability to find out, for every single unit, when and where it was made, from which raw-material lot and who processed it. It is the backbone of modern manufacturing: without it you cannot run a targeted recall, handle complaints or pass an audit.
Klíčové je, že každý kus nese unikátní, strojově čitelný identifikátor. A právě tady nastupuje 2D kód.The key is that each unit carries a unique, machine-readable identifier. And that is where the 2D code comes in.
Čárový kód vs. DataMatrixBarcode vs. DataMatrix
Klasický 1D čárový kód nese data jen v jednom směru (šířka čar). DataMatrix je 2D matice — data ukládá ve dvou směrech, takže na zlomek plochy uloží mnohonásobně víc.A classic 1D barcode carries data in one direction only (bar widths). DataMatrix is a 2D matrix — it stores data in two directions, packing far more into a fraction of the area.
| Čárový kód (1D)Barcode (1D) | DataMatrix (2D) |
| KapacitaCapacity | ~20 znaků~20 chars | až ~2300 znakůup to ~2300 chars |
| PlochaFootprint | velká, podlouhlálarge, elongated | malá (i 2×2 mm)tiny (even 2×2 mm) |
| PoškozeníDamage | nečte sefails | čte i ~30 % poškozenýreads ~30% damaged |
| ČteníReading | jen ze správného úhluone orientation | z libovolného úhluany orientation |
Jak DataMatrix fungujeHow DataMatrix works
DataMatrix je mřížka černých a bílých buněk (modulů). Dvě plné strany tvoří tzv. finder pattern ve tvaru písmene „L" — podle něj čtečka pozná polohu a velikost kódu. Protilehlé dvě strany jsou přerušované (timing pattern) a určují počet buněk.DataMatrix is a grid of black and white cells (modules). Two solid sides form the finder pattern shaped like an "L" — the reader uses it to locate the code's position and size. The opposite two sides are dashed (timing pattern) and define the cell count.
Nejdůležitější vlastnost je oprava chyb. Standard ECC200 používá Reed-Solomonovy kódy: do symbolu se přidá redundance, takže čtečka kód přečte, i když je část poškrábaná, zalitá nebo chybí. To je důvod, proč DataMatrix vyhrává v drsném průmyslu.The most important feature is error correction. The ECC200 standard uses Reed-Solomon codes: redundancy is added to the symbol, so the reader decodes it even when part is scratched, painted over or missing. That is why DataMatrix wins in harsh industry.
Proč „ECC200"Why "ECC200"
Vždy používejte variantu ECC200 (novější, s Reed-Solomon korekcí). Starší ECC 000–140 už jsou zastaralé a nečtou se spolehlivě.Always use the ECC200 variant (newer, with Reed-Solomon correction). The older ECC 000–140 are obsolete and not reliably read.
Jak ho označit a přečístHow to mark and read it
Kód lze na díl dostat několika cestami — souhrnně se značení přímo do dílu říká DPM (Direct Part Marking):There are several ways to put the code on a part — marking directly into the part is collectively called DPM (Direct Part Marking):
- Laser — trvalý kód do kovu i plastu, ideální pro DPM.Laser — a permanent code in metal or plastic, ideal for DPM.
- Mikroúderové (jehlové) značení — vyráží body do povrchu.Dot-peen marking — punches dots into the surface.
- Inkjet — rychlý tisk kódu na obaly a kartony.Inkjet — fast printing of codes on packs and cartons.
Čte se kamerovou čtečkou (image-based), ne laserovým snímačem jako u 1D kódů. Naprosto klíčové jsou dva faktory: kontrast mezi kódem a podkladem a správné osvětlení (u lesklého kovu se volí difuzní nebo úhlové světlo, aby se kód „vykreslil").It is read with an image-based camera reader, not a laser scanner like 1D codes. Two factors are critical: contrast between code and background, and correct lighting (for shiny metal, diffuse or angled light is used so the code "appears").
Normy a legislativaStandards and legislation
- ISO/IEC 16022 — samotná specifikace symbolu DataMatrix.ISO/IEC 16022 — the DataMatrix symbol specification itself.
- GS1 — pravidla, jak do kódu zapsat globální identifikátory (GTIN, šarže, expirace) přes datové aplikační identifikátory.GS1 — rules for encoding global identifiers (GTIN, lot, expiry) via application identifiers.
- UDI — unikátní identifikace zdravotnických prostředků; v EU dle nařízení MDR vyžaduje strojově čitelný kód na výrobku.UDI — unique device identification for medical devices; under the EU MDR it requires a machine-readable code on the product.
- ISO/IEC 15415 a 29158 (AIM DPM) — hodnocení kvality kódu známkou A–F (4–0).ISO/IEC 15415 and 29158 (AIM DPM) — grading code quality on an A–F (4–0) scale.
Praktické tipyPractical tips
- Dodrž velikost modulu — jedna buňka by měla mít aspoň tolik, kolik zvládne tvá čtečka spolehlivě (často ≥ 0,25 mm pro DPM).Respect the module size — one cell should be at least what your reader handles reliably (often ≥ 0.25 mm for DPM).
- Nech „quiet zone" — klidovou zónu (volný okraj) kolem kódu, jinak čtečka selže.Keep a "quiet zone" — a clear margin around the code, or the reader fails.
- Hlídej kontrast — u žíhaného kovu hraje roli barva oxidu i osvětlení čtečky.Mind the contrast — for annealed metal, oxide colour and reader lighting both matter.
- Verifikuj kvalitu (grade) — verifikátor řekne, jestli kód projde i u zákazníka, ne jen u tebe.Verify the grade — a verifier tells you whether the code will pass at the customer too, not just on your bench.
Jak velký kód a kam ho umístitWhat size code and where to put it
Velikost DataMatrixu neurčuje „kolik se vejde na díl", ale velikost jednoho modulu (buňky) a schopnosti čtečky. Platí jednoduché pravidlo: čím menší modul, tím dražší a citlivější čtení. Pro běžné kamerové čtečky se modul drží zhruba od 0,25 mm výš; u rychlých linek nebo nepříznivého kontrastu raději víc. Počet modulů (a tím fyzickou velikost) pak diktuje množství dat — datum a šarže se vejdou do symbolu 12×12 nebo 14×14 modulů, dlouhé GS1 řetězce potřebují víc.DataMatrix size isn't about "how much fits on the part" but about the size of a single module (cell) and the reader's capability. A simple rule applies: the smaller the module, the more expensive and sensitive the read. For common camera readers the module stays roughly 0.25 mm and up; on fast lines or with poor contrast, go larger. The module count (and thus physical size) is then driven by the amount of data — a date and lot fit in a 12×12 or 14×14 symbol, long GS1 strings need more.
Umístění je stejně důležité jako velikost. Kód patří na rovnou, čistou plochu s dobrým kontrastem, mimo hrany, ohyby a místa, která se otírají při manipulaci. Nezapomeňte na klidovou zónu (quiet zone) — volný okraj kolem symbolu o šířce aspoň jednoho modulu; bez ní čtečka kód nenajde. U variabilních dat (každý kus jiný) se hlídá i to, aby značicí systém uměl kód za běhu generovat a značit bez zpomalení linky.Placement matters as much as size. The code belongs on a flat, clean area with good contrast, away from edges, bends and spots that rub during handling. Don't forget the quiet zone — a clear margin around the symbol at least one module wide; without it the reader won't find the code. For variable data (every part different), also check that the marking system can generate and mark the code on the fly without slowing the line.
Když se kód nečte: nejčastější příčinyWhen the code won't read: the usual causes
„Nečte se to" je nejčastější hlášení z provozu — a skoro vždy má jednu z těchto příčin:"It won't read" is the most common report from the floor — and almost always has one of these causes:
- Špatný kontrast — kód i podklad jsou si barevně blízko. Řešení: jiný způsob značení (žíhání, jiná barva), nebo jiné osvětlení čtečky.Poor contrast — code and background are close in colour. Fix: a different marking method (annealing, another colour) or different reader lighting.
- Lesk a odrazy — u lesklého kovu kamera „oslepne". Pomáhá difuzní nebo úhlové (low-angle) osvětlení.Glare and reflections — on shiny metal the camera "goes blind". Diffuse or low-angle lighting helps.
- Malý modul — kód je pod rozlišovací schopností čtečky. Zvětšit modul nebo přiblížit/vyměnit objektiv.Module too small — the code is below the reader's resolution. Enlarge the module or move/replace the lens.
- Chybí quiet zone — kód je nalepený na jiný potisk nebo hranu.No quiet zone — the code touches other print or an edge.
- Poškozený finder pattern — Reed-Solomon opraví data, ale „L" rámeček musí zůstat celý.Damaged finder pattern — Reed-Solomon repairs the data, but the "L" frame must stay intact.
Objektivní diagnostiku dá verifikátor: změří grade podle ISO/IEC 15415 (nebo 29158 pro DPM) a řekne přesně, který parametr (kontrast, modulace, růst tisku) sráží známku. To je mnohem rychlejší než „zkoušet a doufat".Objective diagnosis comes from a verifier: it measures the grade per ISO/IEC 15415 (or 29158 for DPM) and tells you exactly which parameter (contrast, modulation, print growth) is dragging the grade down. That's far faster than "try and hope".
FAQ
DataMatrix, nebo QR kód?DataMatrix or QR code?
QR je skvělý pro marketing a telefony. DataMatrix je hustší, lépe se značí na malé díly a je standardem v průmyslu a zdravotnictví.QR is great for marketing and phones. DataMatrix is denser, marks better on small parts and is the standard in industry and healthcare.
Opravdu se přečte i poškozený?Does it really read when damaged?
Díky Reed-Solomon korekci ano — typicky i při poškození zhruba třetiny symbolu. Finder pattern ale musí zůstat čitelný.Thanks to Reed-Solomon correction, yes — typically with up to about a third of the symbol damaged. The finder pattern must stay readable, though.
Co když se kód nečte u zákazníka, ale u mě ano?What if the code reads for me but not at the customer?
Skoro vždy jde o kontrast nebo osvětlení. Ověř kvalitu verifikátorem podle ISO 15415/29158 — grade je objektivní a nezávislý na konkrétní čtečce.Almost always it's contrast or lighting. Verify the grade per ISO 15415/29158 — the grade is objective and reader-independent.
Zavádíte sledovatelnost ve výrobě?Rolling out traceability?
Poradím s volbou značení i čtení DataMatrixu tak, aby kód prošel gradem a vydržel celý život dílu.I'll help choose how to mark and read DataMatrix so the code passes its grade and lasts the part's life.