Skip to content

← Knowledge base

Focal distance in a marking laser: lens, marking field and the movable focus

A marking laser does not “write on” the workpiece: it gathers the light into a single point and drags that point across the surface. That point sits somewhere in space — in a plane, at a given distance from the scan head. If the workpiece lies in that plane, the mark is sharp and deep; a few millimeters off, the spot widens, power density collapses and the mark comes out faint. This guide is about what sets that distance, how much error it tolerates, and what to do with a workpiece that has to be marked on several levels.

Updated:

1. The focus is not a setting, it is a place

Inside the scan head two mirrors deflect the beam — one horizontally, one vertically — and after the mirrors a lens brings it to a focus. The lens can do that at one particular distance: the operation distance. The mirrors do not change the focal distance while they move, so the entire marking field is sharp in a single PLANE. Not on a sphere, not in a band: in a plane.

This lens is called an F-theta lens. Its job is not only focusing but also keeping the layout undistorted at the edge of the field: the position of the spot on the plane has to follow the mirror angle linearly. Without that, the mark would be good in the middle of the field and stretched in the corners.

2. The lens decides the field — and everything that comes with it

The type number of the lens roughly gives its focal length in millimeters: the 100.2 works close up and sees a small field, the 420.2 works far away and sees a large one. But the choice is not free: a larger field always means a larger spot, and a larger spot means lower resolution AND lower power density.

Across the four lenses of the cab XENO 4 the trade is plain to see: in the 2.7 × 2.7 in (69 × 69 mm) field the spot is ~25 µm and the resolution 1000 dpi; in the 11.4 × 11.4 in (290 × 290 mm) field the spot is ~85 µm and the resolution 300 dpi. If a small Data Matrix code has to go onto a component, you need the small field; if a large plate has to be filled, you need the big one — but then the fine detail has to go.

A table of the four XENO lenses: operation distance, marking field, spot diameter and resolution
The focus shift is only available on the two middle lenses. That is not a restriction but a consequence: the 100.2 works at 5.87 in (149 mm), where there is no room for a 2.8 in (70 mm) travel, and the spot of the 420.2 is coarse anyway.

3. How far is “sharp enough”? The order of magnitude of the depth of focus

The data sheet gives a ±0.31 in (±8 mm) tolerance on the operation distance. That is easy to misread: it does NOT mean that 0.31 in (eight millimeters) of height difference will not matter. The tolerance is the setting-up band — the uncertainty with which the nominal distance between head and workpiece can be given. The sharpness of the focus holds over a far narrower range than that.

The beam widens around the focus in the shape of a spindle. Computed from the data sheet’s own figures (spot diameter and M² < 1.8), the Rayleigh length — the distance within which the spot stays below one and a half times its smallest size — is ±20 mil (±0.50 mm) for the 160.2 lens and ±40.6 mil (±1.03 mm) for the 254.2. This millimeter order of magnitude is what the question is really about.

In numbers: with the 254.2 lens a 79 mil (2 mm) departure from the focal plane opens the spot to 2.2 times its size and drops the power density to a fifth — the same program on the same material already gives a visibly fainter mark. With the 160.2, the same 79 mil (2 mm) means a 4.1-times spot and a seventeenth of the density. The calculation assumes an ideal Gaussian beam and reality is a little more forgiving, but the order of magnitude holds: this is a matter of millimeters, not centimeters.

Growth of the spot diameter with distance from the focal plane, for two lenses
The bottom of the curve is flat, its flanks are steep — which is why 3.9 mil (a tenth of a millimeter) does not matter and 79 mil (two millimeters) already do. The horizontal bars mark the Rayleigh length.

4. The stepped workpiece, and three answers that are not good enough

In practice a flat workpiece is rare. On a casting the type data sits on a machined face, the Data Matrix code in a recessed seat, the serial number on top of a rib — and the height difference between the three can easily be several centimeters. For a fixed-focus laser these are three separate jobs.

  • Put the head on a Z axis and refocus for every level. It works, but it costs mechanics and time: the mass of the head or of the workpiece has to be moved, and then you have to wait for the vibration to settle.
  • Move the workpiece instead, bringing each surface in turn into the focal plane. That needs a fixture, and the fixture is different for every part type.
  • A compromise focus: put the plane halfway between the two levels. Then neither mark comes out really well, and above a 79 mil (2 mm) difference this is already visible.

5. The fourth answer: the focus moves, not the machine

In the scan head of the cab XENO 4S part of the optics moves under motor drive and shifts the focal plane with it — the head and the workpiece stay where they are. The travel is ±1.4 in (±35 mm) with the 160.2 lens and ±2.8 in (±70 mm) with the 254.2; the latter bridges a 5.51 in (140 mm) height difference. The shift runs at 20 and 12 in/s (0.5 and 0.3 mm/ms) respectively, so even the full 5.51 in (140 mm) takes 233 milliseconds — a fraction of a second, not a separate work step.

There is a consequence that has to be handled separately, though: as the focal plane comes closer, the cone of the beam sweeps a smaller circle, so the marking field shrinks. With the 254.2 lens the field is 7.09 × 7.09 in (180 × 180 mm) at 12.2 in (310 mm), only 6.3 × 6.3 in (160 × 160 mm) at 9.45 in (240 mm), and 9.84 × 9.84 in (250 × 250 mm) at 15 in (380 mm). If the control unit ignored this, the same layout would appear in three different sizes on the three levels. The control unit of the XENO 4S recalculates the layout scaling for each plane — which is why the mark stays exactly the size it was designed to be, on every level.

Marking in 3D takes the same principle further. Thanks to the high-speed dynamic focusing optic of the TYKMA Vereo 3D, parts of varying height need no mechanical focal-height adjustment, and uneven surfaces cause no loss of focus or distortion. The Vereo 3D covers a 1.6 in (40 mm) Z range in a 6.5 × 6.5 in (165 × 165 mm) field; the 3D / LFSS version covers 3.94 in (100 mm) in a 9.84 × 9.84 in (250 × 250 mm) field in 3D mode. A 3D upgrade is available for the Zetalase XL, with a 9.84 × 9.84 in (250 × 250 mm) field and 3.94 in (100 mm) of dynamic Z-axis focus.

Diagram of the focus shift: three marking planes of one lens, with the operation distances and the corresponding marking fields
The two lenses show the same structure at two scales. The marking field grows together with the operation distance — which is why the size of the layout has to be recomputed for each plane.
The CAB XENO 4S in detail →

6. When do you need a movable focus, and when not?

The decision turns on a single figure: how large is the height difference between the surfaces that have to be marked within one cycle? It is not the total height of the workpiece that counts, only that of the marked surfaces.

  • Below roughly 39 mil (one millimeter): not needed. That fits inside the depth of focus, and the fixed-focus XENO 4 will do the job.
  • From a few millimeters up to 5.51 in (140 mm): this is where the XENO 4S belongs. In this band a fixed focus already shows on the mark, while moving a Z axis would still be disproportionately slow and expensive.
  • Above 5.51 in (140 mm): now you do need an axis — a Z400 linear axis, or moving the workpiece. The focus shift does not replace an axis; it only substitutes for one where an axis would be overkill. On TYKMA’s floor-standing workstations this is built in: the programmable Z-axis of the EMS300 travels 11.4 in (290 mm), or 15.7 in (400 mm) as an option, and the ATLAS Z-axis and the focal height of the Zetalase XL and XLT are programmable too.
  • On convex, concave or uneven surfaces and 3D contours: dynamic focusing. The TYKMA Vereo 3D marks within a 1.6 in (40 mm) Z range, the 3D / LFSS version within 3.94 in (100 mm), with no mechanical focus adjustment — and around the outside diameter of a cylindrical part without distortion, too.
  • All the way round the barrel of a cylindrical part (360°): the focus shift is not the answer. There a rotary axis (D30) is what you want, turning the part under the focus while the mark is made. On TYKMA machines a rotary device is an option for the Minilase, the Zetalase XLT, the ATLAS, the EMS300 and the TYKMA WK, and the Zetalase Duo marks 360° around the part with dual rotaries in oscillating mode.

7. What to tell us when asking for a quote

The question of the lens and the focus shift can be settled from a handful of facts — and it is better settled up front, because a lens can be swapped later, but the 4S version cannot.

  • The size of the largest layout to be marked (this sets the marking field you need)
  • The size of the smallest detail — code module size, character height (this sets the resolution you need)
  • The height difference between the marked surfaces within one cycle
  • The material and the process wanted (engraving, ablating, annealing, coloring)
  • The cycle time the marking has to fit into
Browse the laser marking systems →

Questions? We help you choose.

Tell us what you need to do and we will suggest the right machine for the job.