• English
  • 中文
  • Français
  • Deutsch
  • Español
  • Português
  • 日本語
  • 한국어
  • Nederlands
  • Türkçe
  • Bahasa Indonesia
  • ไทย

CNC Part Traceability: How to Mark Machined Parts So Codes SurviveCNC 零件追溯:如何让机加工零件上的编码活下来

Traceability on a machined part is not a shipping-department problem. It is a drawing problem, and it is decided weeks before the first chip is cut. Once a part is anodized, plated or powder coated, the code on it either scans or it does not — and a code that fails verification at goods-inwards is a rejected batch, not a minor inconvenience. This guide covers how to choose a marking method, what to put inside the code, how marks are graded, and how to specify the whole thing on a drawing so the code still reads after finishing.

The regulatory version of that same chain, which devices are required to carry a UDI on the part, is covered in our UDI direct part marking guide.

Why traceability belongs on the drawing

A mark is a feature, like a bore or a thread. It has a location, a size, a depth and a datum relationship. Treating it as an afterthought produces three recurring failures:

All three are drawing decisions. All three are free to fix at design stage and expensive to fix at PPAP.

Four marking methods for machined parts

MethodHow it worksDepthBest onLimitations
Fiber laser anneal / etchSurface oxidation or shallow melt0.005–0.05 mmStainless, titaniumLow contrast on some aluminium
Fiber laser deep engraveMaterial removal0.05–0.5 mmAluminium, steel, brassRemoves corrosion-resistant layer
Dot peenRecurring carbide pin0.1–0.5 mmSteel, castingsInduces local stress, noisy
Ink / pad printApplied coating~0.01 mmPre-finish parts, packagingNot permanent under abrasion

Laser is the default for CNC parts because it is non-contact, fast, and stable at small code sizes. Dot peen survives heavy abrasion better and is still common on large steel fabrications and aerospace parts, but the cold-work it introduces makes it unsuitable next to thin walls or fatigue-critical sections.

If the part is small, the readable area is often the real constraint. A 2 mm data matrix needs roughly 2.5 × 2.5 mm of flat, uncluttered surface — on a Ø6 mm boss that is most of the available real estate, which is why the mark location has to be picked before the geometry freezes. Our laser marking service paper covers wavelength and power selection; this page is about what you decide before that.

Which method belongs on the drawing is its own decision, covered in our guide to part marking methods: laser anneal, engraving, dot peen, scribing, etching and ink, compared by depth and cost.

Data matrix, barcode or human-readable text

Most traceability requirements resolve to one of three code types:

  1. Data Matrix (ISO/IEC 16022) — the default for direct part marking. It packs a serial number into a 2–5 mm square and still reads with error correction at partial damage.
  2. QR code — the same idea, more consumer-facing, better when a smartphone has to read it in the field.
  3. Human-readable characters — required alongside machine codes in most regulated industries, because a scanner failure must not make the part unidentifiable.

Include both a machine code and human-readable text unless the specification says otherwise. A typical payload is *part number + lot/batch + serial*, which is what automotive and medical schemes expect.

How a mark is graded — ISO/IEC 15415

A mark that looks fine to the eye can still fail a verifier. ISO/IEC 15415 grades a 2D symbol on eight parameters and reports the lowest as the overall grade:

ParameterWhat it measuresCommon failure cause
Symbol contrastLight/dark separationWrong laser power for the alloy
ModulationEdge sharpnessOver-polished or bead-blasted surface
Fixed pattern damageFinder/timing pattern integrityMark placed over a chamfer
Grid non-uniformityCell placement accuracyCurved or tilted surface
Axial non-uniformityX/Y scalingFixture slip during marking
Unused error correctionMargin left for damageCode too dense for the surface
DecodeCan it be read at allContrast plus geometry combined
Print growth / reflectionCell size driftCoating thickness variation

Grade A or B (4.0 / 3.0) is the usual acceptance threshold; below C, expect scanner failures in the field. Verification should be done on the finished part, after coating — not on the bare machined part.

Castings follow their own rules: our cast part identification marking guide covers where the code goes and how deep it has to be on iron and steel.

Keeping codes readable after coating

This is where most programs fail, and the fix is a specification, not a machine setting.

Whatever the finish, verify after it. A pre-coat verification result is not evidence.

Industry rules that force the issue

SectorDriverWhat the mark must carry
Medical devicesUDI (FDA / EU MDR)Device identifier + production identifier, human-readable too
AutomotivePPAP / IATF 16949 lot controlPart number, batch, supplier code; IATF 16949 expects full genealogy
Aerospace and defenceUID / MIL-STD-130Unique item identifier, often dot peen
ElectronicsInternal serialisationSerial, date code, revision

Regulated programs also expect the identifier to link back to material certificates and inspection records, which is why the mark format should be settled alongside the ISO 13485 documentation package rather than at first article.

We break the measurement side down by tolerance band in our guide to CNC inspection methods, from calipers through to written uncertainty budgets.

That number is what ties the part to its material certificate and its dimensional results inside a first article inspection report.

Design rules: where to put the mark

  1. Put it on a flat surface, at least 3 mm from any edge, hole or bend.
  2. Keep it off sealing faces, bearing journals and thread crests.
  3. Keep it off the clamping area, or the fixture will cover it.
  4. Orient it so a scanner has line of sight in the assembled state.
  5. Allow for coating build in the depth callout.
  6. Specify the datum relationship if the code location is functionally controlled.

Rules 1 and 4 are the two most often violated, and both are caught by a five-minute check before the drawing is released.

What to write on the drawing

A marking callout needs eight fields: method, code type, payload structure, size, depth, location, whether marking happens before or after finishing, and the acceptance grade. Written compactly:

LASER ANNEAL, DATA MATRIX 3 mm, PAYLOAD PN-LOT-SER, DEPTH 0.02 mm, LOCATION PER VIEW A, MARK BEFORE TYPE II ANODIZE, GRADE ≥ B PER ISO/IEC 15415

That is a specification a shop can quote and verify. "Mark with serial number" is not.

Cost and lead time

For machined parts, marking is usually a small line item — a laser cell adds seconds per part, and the real cost is the fixture and the verification step, not the beam time. Costs rise when the part needs a dedicated rotary fixture, when the mark must be applied post-coat with masking, or when every part needs a verified grade printout for a regulated dossier.

If you are still at prototype stage, mark the prototypes too. Serialising early is the cheapest way to find out that your chosen location gets covered by a bracket in assembly — a discovery worth far more at prototype than at low volume production.

CNC pop marking: the locating dot made in the same setup

Not every mark on a part is a serial number. A pop mark is a locating dot — a shallow point the machine puts on the workpiece to show where a secondary part sits. In NC data it is written as a zero-diameter hole; on the part it is a small dimple left by the spindle or a small drilled point. Fabrication software exports pop-mark positions together with the part geometry so the shop can place stiffeners, gussets and shear tabs without measuring anything by hand (Tekla Structures writes pop-marks directly into NC files).

The value of CNC pop marking is the setup. The dot is produced in the same clamping as the machining, so it inherits the accuracy of the machined datums instead of a tape measure. It adds very little cycle time, needs no consumable, and survives handling, blasting and coating. We use it on welded assemblies where a bracket has to land in the same place on every single unit.

CNC layout marking: scribing the layout instead of measuring it

CNC layout marking is the same idea applied to lines. Instead of an operator marking out centrelines, hole positions and part outlines by hand with a grease pencil, the machine scribes them: the centreline on a stiffener, the corner locations of a part still to be placed, or a partial outline that tells the fitter where a component goes. Machine builders variously call this scribing, layout marks or contour marks, and on some equipment the scribing head is a laser.

Like pop marking, CNC layout marking removes a manual step and the variation that comes with it. It pays off most where the assembly is error-prone. A full outline is the easiest to read, a partial outline is faster to scribe, and the choice is a straight trade between legibility and cycle time.

FAQ

What CNC machining services does Ruijin CNC offer?

Ruijin CNC provides CNC turning, CNC milling (3-axis and 4-axis), 5-axis CNC machining, sheet metal fabrication, metal stamping, and surface treatment including anodizing, plating and powder coating.

What tolerances and certifications does Ruijin CNC hold?

We hold tight tolerances down to ±0.01mm across all processes, and are certified to IATF 16949, ISO 9001 and ISO 13485.

What is the minimum order quantity and lead time?

We accept prototypes from 1 piece with no strict MOQ, provide free DFM review, and return a quote within 24 hours of receiving your CAD drawing and requirements.

How do I get a quote from Ruijin CNC?

Send your STEP file and drawing to gongtianbao@xhlmarketing.com or via WhatsApp +86 17620300785. We reply with a DFM review and a firm quote within 24 hours.

What is CNC pop marking?

A pop mark is a small locating dot the machine puts on a part to show where a mating part sits, written in the NC program as a zero-diameter hole. It is used for assembly and welding location rather than identification, and it is made in the same clamping as the machining.

What is CNC layout marking?

CNC layout marking is machine scribing of centrelines, hole positions and part outlines onto a workpiece, replacing manual layout with a tape measure and marker. Depending on the machine it is called scribing, layout marking or contour marking, and it locates parts for welding or assembly.

How is complex part marking handled?

Complex part marking is decided by geometry: the mark has to sit on a face a scanner can still see in the assembled state, clear of sealing faces, thin walls and clamping areas. Where no suitable flat area exists, we move the code onto a protected boss or fall back to a tagged bundle instead of a direct mark.

Can you do heavy part marking on large weldments?

Yes. Heavy part marking means bringing the marking head to the part instead of the part to a bench marker. Large weldments and castings are marked either in the machining setup or with a portable head on the floor, which also avoids a second handling and the re-fixturing error that comes with it.

What is the best alternative part marking method if laser marking is not suitable?

It depends on why the laser fails. On reflective or highly conductive metals where a fibre laser struggles, dot peen marking is usually the next choice, because it displaces material rather than colouring it and therefore survives paint and heat. On parts that cannot accept any stress concentration, inkjet or pad printing gives a readable code with no material removal at all. On soft or thin parts where a stylus would distort the wall, we use chemical etching or a low-force scribe. Every alternative part marking method trades legibility against surface damage, and that is exactly what we review at DFM stage.

Conclusion

Traceability is a drawing decision that happens to be executed by a laser. Choose the method against the alloy and the finish, size the code against the flat area you actually have, specify depth against coating build, and verify on the finished part to an ISO/IEC 15415 grade.

Ruijin Fenghui marks and verifies parts in-house under IATF 16949, ISO 9001 and ISO 13485, with 23+ years of precision machining behind the process. Send the drawing with the eight-field callout above and we will confirm the method, the grade and the finish interaction within 24 hours — contact us to start, or read how to specify finishing if the coating sequence is still open.

机加工零件上的追溯性不是发货部门的问题,而是图纸问题,并且在切下第一刀之前几周就已经决定了。零件一旦经过阳极氧化、电镀或喷粉,上面的编码要么扫得出来,要么扫不出来——一个在来料检验环节验证失败的编码意味着整批拒收,而不是什么小麻烦。本文讲如何选择打标方式、编码里该放什么、标记如何评级,以及如何在图纸上把这一切写清楚,让编码在处理之后仍然可读。

同一条链的法规版本——哪些器械被要求在本体上带 UDI——见我们的 UDI 直接标刻指南。

为什么追溯性属于图纸

标记是一个特征,跟孔和螺纹一样。它有位置、尺寸、深度和基准关系。把它当事后补救来处理,会产生三种反复出现的失效:

这三件事都是图纸决策,在设计阶段改是免费的,在 PPAP 阶段改就很贵。

机加工零件的四种打标方式

方式原理深度最适用局限
光纤激光退火 / 浅蚀表面氧化或浅熔0.005–0.05 mm不锈钢、钛合金某些铝上对比度低
光纤激光深雕材料去除0.05–0.5 mm铝、钢、黄铜去除耐蚀层
气动打标硬质合金针冲击0.1–0.5 mm钢、铸件引入局部应力、噪声大
油墨 / 移印施加涂层约 0.01 mm未处理零件、包装不耐磨损

CNC 零件的默认选择是激光,因为它非接触、速度快,并且在小码尺寸下稳定。气动打标在抗重度磨损上更好,在大型钢结构件与航空航天件上仍然常见,但它引入的冷作硬化使它不适合靠近薄壁或疲劳敏感截面。

如果零件很小,真正受约束的往往是可用面积。一个 2 mm 的 Data Matrix 大约需要 2.5 × 2.5 mm 平整、无遮挡的表面——在 Ø6 mm 的凸台上,这几乎就是全部可用空间。这就是为什么标记位置必须在几何冻结之前选定。我们的激光打标服务资料讲波长与功率选型;本文讲的是在那之前你需要决定的事。

图纸上该写哪种方法本身就是一个独立决定,写在我们的零件打标方法指南里:激光退火、雕刻、点针、刻字、蚀刻和油墨,按深度与成本逐一对比。

Data Matrix、条码还是可读文字

多数追溯要求最终落在三种码型之一:

  1. Data Matrix(ISO/IEC 16022)——直接零件标识的默认选择。它把序列号压进 2–5 mm 的方块,且在部分损坏时仍能靠纠错读出。
  2. QR 码——同样的思路,更面向消费者,适合现场需要用手机读取的场景。
  3. 人眼可读字符——在多数受监管行业里与机器码并列要求,因为扫码失败不能让零件变成无法识别。

除非规范另有说明,否则机器码与人眼可读文字都要有。典型的载荷结构是 *零件号 + 批次 + 序列号*,这正是汽车与医疗体系所期望的。

标记如何评级 —— ISO/IEC 15415

一个肉眼看起来没问题的标记,仍然可能在验证仪上失败。ISO/IEC 15415 从八个参数对二维符号评级,并以最低分作为总评:

参数衡量什么常见失效原因
符号对比度明暗分离度激光功率与合金不匹配
调制边缘锐度表面过度抛光或喷砂
固定图形损坏定位/定时图形完整性标记跨在倒角上
网格不均匀性单元位置精度表面弯曲或倾斜
轴向不均匀性X/Y 缩放打标时夹具位移
未用纠错余量留给损坏的裕度码密度对表面而言过高
解码究竟能不能读对比度与几何的叠加
打印增长 / 反射单元尺寸漂移涂层厚度波动

A 级或 B 级(4.0 / 3.0)通常是验收门槛;低于 C 级,就要预期现场扫码失败。验证必须在成品零件上、涂层之后做,而不是在裸露的机加工零件上做。

铸件有自己的一套规则:我们的铸件标识打标指南讲清了标识该打在哪里、在铸铁与铸钢上要打多深。

让编码在涂层之后仍然可读

这是多数项目失败的地方,而解决办法是规格,不是机器参数。

无论什么表面处理,都要在处理之后验证。处理前的验证结果不算证据。

逼着你做这件事的行业规则

领域驱动因素标记必须承载什么
医疗器械UDI(FDA / EU MDR)器械标识 + 生产标识,且需人眼可读
汽车PPAP / IATF 16949 批次控制零件号、批次、供应商代码;IATF 16949 要求完整谱系
航空航天与国防UID / MIL-STD-130唯一件标识,常用气动打标
电子内部序列化序列号、日期码、版本

受监管项目还期望标识能回溯到材料证书与检验记录,这就是为什么码制格式应当与 ISO 13485 文件包一起定下来,而不是到首件时才定。

测量这一侧我们按公差区间拆开写在CNC 检验方法指南中,从卡尺一路讲到书面的不确定度预算。

正是这个号码,把零件与首件检验报告里的材质证书和尺寸结果串在一起。

设计规则:标记放哪里

  1. 放在平面上,距任何边、孔或折弯至少 3 mm。
  2. 避开密封面、轴承颈与螺纹牙顶。
  3. 避开夹紧区域,否则夹具会盖住它。
  4. 朝向要让扫描枪在装配状态下有视场。
  5. 深度标注要考虑涂层厚度。
  6. 若码的位置受功能控制,要标注基准关系。

第 1 条和第 4 条最常被违反,而两者都能在图纸发布前用五分钟检查出来。

图纸上该写什么

一条打标标注需要八个字段:方式、码型、载荷结构、尺寸、深度、位置、在处理之前还是之后打标,以及验收等级。紧凑写法:

LASER ANNEAL, DATA MATRIX 3 mm, PAYLOAD PN-LOT-SER, DEPTH 0.02 mm, LOCATION PER VIEW A, MARK BEFORE TYPE II ANODIZE, GRADE ≥ B PER ISO/IEC 15415

这是车间能报价、能验证的规格。"打上序列号"不是。

成本与周期

对机加工零件来说,打标通常是一个小条目——激光单元每件只增加几秒,真正的成本是夹具与验证步骤,而不是出光时间。成本上升的情况是:零件需要专用回转夹具、标记必须在涂层后加遮蔽施工,或每件零件都要为受监管档案输出验证等级报告。

如果你还在打样阶段,也要给样件打标。早期序列化是发现"你选的位置在装配中被支架挡住"最便宜的办法——这个发现在打样阶段的价值,远高于在小批量生产阶段。

CNC 打点标记:在同一次装夹里做出的定位点

零件上的标记并不都是序列号。打点标记(pop mark)是一种定位点——机床在工件上留下的浅点,用来指示次零件的位置。在 NC 数据中它被写成零直径孔;在零件上它是主轴留下的小凹点或小钻孔。制造软件会把打点位置随零件几何一起导出,车间无需手工测量即可放置加强板、节点板与剪切板(Tekla Structures 可直接把 pop-mark 写入 NC 文件)。

CNC 打点标记的价值在装夹。这个点与机加工在同一次装夹中完成,因此它继承的是加工基准的精度,而不是卷尺的精度。它几乎不增加节拍时间,不需要耗材,且能经受搬运、喷砂与涂层。我们在焊接组件上使用它,保证支架在每一台产品上都落在同一位置。

CNC 划线标记:把划线刻出来而不是量出来

CNC 划线标记是同一思路在“线”上的应用。不再由操作工用石笔手工划出中心线、孔位与零件轮廓,而是由机床刻划出来:加强板上的中心线、待装零件的角点位置,或告诉装配工零件去向的局部轮廓。不同机床厂商分别称之为 scribing、layout marks 或 contour marks,有些设备的刻划头本身就是激光。

与打点标记一样,CNC 划线标记省掉了一道人工工序以及随之而来的偏差。它在装配容易出错的场合回报最大:完整轮廓最易读,局部轮廓刻划更快,两者是在可读性与节拍之间的直接权衡。

结语

追溯性是一项由激光执行的图纸决策。按合金与表面处理选择方式,按实际拥有的平面面积决定码的尺寸,按涂层厚度规定深度,并在成品零件上按 ISO/IEC 15415 等级验证。

锐金峰汇在 IATF 16949、ISO 9001 与 ISO 13485 体系下完成厂内打标与验证,背后是 23+ 年的精密加工经验。带上上述八字段标注发来图纸,我们会在 24 小时内确认打标方式、等级与表面处理的相互影响——联系我们开始吧;如果涂层顺序还没定,可以先读如何规定表面处理。

常见问题

锐金 CNC 提供哪些加工服务?

我们提供 CNC 车削、CNC 铣削(三轴与四轴)、五轴 CNC 加工、钣金加工、金属冲压,以及阳极氧化、电镀、粉末喷涂等表面处理。

锐金 CNC 能达到什么公差、持有哪些认证?

我们在各工艺上均可稳定达到 ±0.01mm 的精密公差,并持有 IATF 16949、ISO 9001 与 ISO 13485 认证。

最小起订量与交货周期是多少?

我们支持 1 件起样的原型打样,无严格起订量要求,提供免费 DFM 评审,并在收到您的 CAD 图纸与需求后 24 小时内返回报价。

如何向锐金 CNC 获取报价?

请将您的 STEP 图纸发送至 gongtianbao@xhlmarketing.com 或通过 WhatsApp +86 17620300785 联系我们。我们将在 24 小时内回复 DFM 评审与正式报价。

什么是 CNC 打点标记?

打点标记(pop mark)是机床在零件上留下的小定位点,用来指示配合零件的位置,在 NC 程序中被写成零直径孔。它用于装配与焊接定位而非识别,并且与机加工在同一次装夹中完成。

什么是 CNC 划线标记?

CNC 划线标记是由机床在工件上刻划中心线、孔位与零件轮廓,取代用卷尺和记号笔的人工划线。不同机床称之为 scribing、layout marking 或 contour marking,用于为焊接或装配定位零件。

复杂零件打标如何处理?

复杂零件打标由几何决定:标记必须落在装配状态下扫描枪仍能看到的面上,并避开密封面、薄壁与夹持区域。当没有合适的平面时,我们会把码移到受保护的凸台上,或改用随包标签而非直接打标。

大型焊接件可以做重型零件打标吗?

可以。重型零件打标是把打标头移到零件那里,而不是把零件搬到台式打标机。大型焊接件与铸件要么在加工装夹中完成打标,要么在现场用手持打标头施工,同时也避免了二次搬运及其带来的重新装夹误差。

如果激光打标不适用,最佳的替代零件打标方式是什么?

取决于激光为什么不行。在光纤激光难以处理的反光或高导热金属上,通常首选点针打标:它让材料位移而不是着色,因此能耐受喷漆与高温。对于完全不能引入应力集中的零件,喷墨或移印可在完全不去除材料的前提下给出可读码。在软质或薄壁零件上划针会让壁变形,我们改用化学蚀刻或低刻划力刻线。每一种替代零件打标方式的取舍都是“可读性 vs 表面损伤”,这正是我们在 DFM 阶段评审的内容。

Get a QuoteFree DFM · 24h