Home/Electronics

Coding on electronics and PCB assemblies

Electronics · guide9 min readPublished 27 Nov 2026Sources: IPC-1782 · ISO/IEC 16022 · ISO/IEC 29158
The short answer

Electronics marking is decided before any printer is chosen: the customer's traceability requirement — lot only, per-board serial, or full genealogy — dictates the data, the data dictates the symbology, and the process dictates where the mark must survive. The default answer is a Data Matrix ECC200 code, laser-marked on the solder mask or applied as a polyimide label, verified to the direct-part-marking grade standard, not the label one.

Why electronics are different

Three things set electronics apart from every packaging-industry use of the same technologies:

The mark goes through the oven
Lead-free reflow profiles peak around 245–260 °C; wave solder and aqueous wash follow. The mark is applied before the harshest processes, not after them
The space is microscopic
Board real estate is costed per square millimetre; a 3–6 mm code is normal and the reader, not the printer, sets the floor
The requirement is contractual
Automotive and medical customers specify traceability depth in the drawing or quality agreement — the mark is compliance evidence, not identification

The consequence: on electronics, the expensive mistake is not the wrong printer. It is committing to a traceability level the process cannot actually populate, and discovering it at the customer audit.

Pick the traceability level first

IPC-1782, the standard for electronics traceability, defines four levels of material and process traceability. Most boards do not need the top level, and the level chosen decides everything downstream:

LevelWhat the board carriesTypical market
Lot / batchPart number, revision, date code, fabricator lotConsumer, low-risk commercial
Unit serializationAll of the above plus a unique serial per board, machine-readableIndustrial, automotive, mid-tier medical
Unit + genealogyBoard serial linked to reel-level component data captured at placementAerospace, defence, Class III medical
Full historyBoard serial linked to material lots, process parameters and chain of custodySpace, implantables, nuclear

Two rules the level table hides. First, the identifier is the cheap part — a serial that does not resolve to a record in the quality system is decoration. Second, do not encode fields you cannot populate: if reel IDs are not captured at placement today, a genealogy scheme designed around them fails on day one. Design the code around the data that exists, and grow it when the data does.

The symbology is decided for you

Data Matrix ECC200 (standardised in ISO/IEC 16022) is the default 2D symbology for board-level marking, and the reasons are physical rather than fashionable:

QR codes belong where a human will scan with a phone — marketing inserts, repair portals. Code 128 belongs on packaging and travellers. On the board itself, the choice was made by the industry years ago, and deviating from it means finding readers and customer sign-off nobody has.

Surviving reflow, wave and wash

The mark is applied at SMT entry and must still read at final test. What stands between:

Reflow
Lead-free profiles peak around 245–260 °C; substrate and mark both see it. Ink marks need fluids rated for the full profile, not just room temperature
Wave & selective
Molten solder, flux residues, and board flex. Label adhesive is the usual casualty — lift starts at the corners
Wash
Aqueous saponified wash attacks both ink marks and label edges; a lifted corner is a wash-nozzle magnet
Conformal coat
Applied over the mark; if the mark must read afterward, the coating is either masked or transparent at the code — decide before coating is specified

For labels, the material decides survival: polyimide stock tolerates roughly 260 °C for five minutes (about 300 °C for ninety seconds), which is why it is the reflow-side default; polyester tops out near 200 °C and belongs on the cool side of the board only. For direct ink marks, adhesion through wash is the test that matters — print on production panels, run them through your actual wash recipe, then grade and read.

Two approvals that are not one

UL recognition of the bare board (UL 796) and UL recognition of the label construction (UL 969) are separate approvals. Passing one does not cover the other — a label construction needs its own recognition if the assembly carries a UL mark.

Grading: a different standard for direct marks

This is the mistake most often made by teams arriving from packaging: verifying a laser mark with the wrong standard. Codes printed on labels read like printed paper and grade under ISO/IEC 15415 with standard illumination. Direct-part marks — laser-etched, dot-peened, inkjet on bare board — are graded under ISO/IEC 29158, which accounts for the low contrast and specular surfaces of direct marks with different illumination and aperture conditions.

Grade a good laser mark as if it were printed paper and it can fail a verification it never should have taken — then the line stalls on a dispute between supplier and customer about whose verifier is right. Write the standard, the illumination mode and the aperture into the acceptance criteria, exactly as the regulation pillar argues for graded codes everywhere.

Where each method fits

MethodUsually chosen whenFails when
Laser on solder maskPermanent per-board serial at volume; no consumables; marks before reflow and survives everything afterContrast on dark or reflective solder mask without process tuning; boards that cannot spare any keep-out area; capital budget at low volume
Polyimide labelSerial applied late in the line; variable data at low volume; prototypes and mixed productionWash and thermal cycling (adhesive failure mode); volume economics; boards with no flat label area
CIJ / TIJ ink directLot and date marks on bare boards and panels; cheapest entry; flexible placementSurviving full reflow and wash (specialty fluids, still trial-dependent); permanence expectations; fine pitch near the mark
Silkscreen legendStatic data — part number, revision, date code — printed with the nomenclature layer at fabricationAnything variable; per-board serialisation; readability grading after assembly processes

Static data belongs in the legend; the variable serial is where the real decision lives — laser for permanence at volume, labels for flexibility at low volume.

Questions we get

Do we need per-board serials or is a lot code enough?

Follow the customer requirement and the market: lot-level traceability covers consumer and low-risk commercial boards; industrial, automotive and medical customers typically specify unit serialisation, and the highest-risk markets expect genealogy. The honest question is what your process can populate — a serial scheme your MES cannot resolve to records fails its purpose even if every code scans.

Laser mark or label — how do we decide?

Volume and timing decide. Laser marks at SMT entry, survives everything after, and costs nothing per board — but needs capital and keep-out area. Labels can be applied late with today's data and changed tomorrow — but the adhesive is the failure mode through wash and thermal cycling, and unit cost scales with volume. High-mix low-volume shops often run both: legend for static data, label for the serial.

Why did our laser mark fail verification at the customer?

Most often it was graded to the wrong standard. Direct-part marks are verified under ISO/IEC 29158, not the 15415 paper-print standard — different illumination and aperture for low-contrast marks. If two verifiers disagree, check first whether they are even grading to the same standard before suspecting the mark.

Will an inkjet mark survive reflow and wash?

Only with fluids specifically formulated and tested for the full process — and survival must be demonstrated on your panels through your actual profiles and wash recipe. Ink direct-marking works best for lot and date marks on boards whose harshest process is already behind them, or as a low-cost entry where a label is not justified. For per-board serials expected to survive everything, laser is the robust answer.

Where should the code sit on the board?

Out of the solder process: clear of pads, vias and critical signal routing, on a panel area agreed with the fabricator, and where the reader's lighting geometry works at final test. The reading station, not the printer, decides the final position — mark placement and reader placement are one decision, made together.

Related

Also in electronics

Pages that connect to this one.

This page
What the mark must carry

The regulation pillar: FMD, DSCSA, UDI, GS1 — and the graded-code argument.

Regulation
Which mark stays on which surface

Surface energy, porosity and heat — the three tests behind every compatibility claim.

Reference
CIJ vs TIJ vs TTO vs laser

The six-criteria comparison behind the method table above.

Comparison
Acceptance testing a coding line

What to measure — including the grade standard — before signing off.

Selection