How to Adjust Z Focus on a Laser Galvo System

Getting clean, sharp engravings or cuts from a laser galvo system depends heavily on one thing most beginners overlook: Z-axis focus. Unlike flatbed CO2 or diode lasers where focus is adjusted by moving the head up or down physically, galvo systems work differently — and that difference changes how focus adjustment works at both the hardware and software level.

What Z Focus Actually Means on a Galvo Laser

A galvo (galvanometer) laser uses mirrors driven by fast-moving motors to steer the beam across a work surface. The laser head itself stays stationary. This speed is what makes galvo systems ideal for high-speed marking, fiber laser engraving, and precision work on metals, plastics, and coated materials.

The Z focus refers to the vertical distance between the focal lens and the work surface — specifically, keeping the laser beam at its focal point (the narrowest, most intense spot) exactly at the material surface. When this distance is off, the spot size increases, power density drops, and marking quality suffers noticeably.

On a galvo system, Z focus has two components:

  • Physical Z height — the actual distance between the scan head and the material
  • Field correction (Z correction file) — software compensation for focus variation across the marking field

Physical Z Height Adjustment

Most galvo laser setups — particularly fiber galvo systems used for metal marking — include a Z-axis stage or motorized column that moves the entire scan head up or down.

To set physical Z focus:

  1. Identify your lens's focal length (common options: 163mm, 254mm, 330mm). This is printed on the lens or listed in its documentation.
  2. Use a focus gauge, ruler, or red dot pointer (if your system includes one) to set the standoff distance from the bottom of the scan head to the work surface.
  3. Lock the Z position once set. Some systems have motorized Z that can be adjusted in software (more on that below).

The focal length determines your working distance — don't confuse this with the field size. A longer focal length gives a larger marking field but a slightly larger spot size. A shorter focal length gives a smaller, more intense spot but a tighter field.

Software Z Focus Adjustment: What Happens Inside the Controller

This is where it gets more nuanced. Galvo laser software — whether EZCad2, EZCad3, LightBurn (with galvo support), or proprietary OEM platforms — includes parameters that affect how Z focus is handled digitally.

Z Correction / Flat Field Correction

Because the scan mirrors steer the beam at angles, the focal distance at the corners and edges of the marking field is slightly longer than at the center. Without correction, marks at the edges are softer and less defined.

Software corrects this using a field correction file (often a .cor file in EZCad). This file maps the distortion across the field and adjusts beam positioning accordingly. Some systems also include Z dynamic focus — where a third motorized lens element shifts to maintain focus at the correct depth as the mirrors steer to different angles. This is common in 3D galvo systems.

If your software has a Z offset or Z focus parameter, this typically shifts the effective focal plane up or down in small increments without moving the physical head. This is useful for:

  • Fine-tuning after a lens swap
  • Compensating for slightly uneven material thickness
  • Working on curved or multi-level surfaces (in 3D galvo mode)

Adjusting Z in EZCad2 (Common Workflow)

In EZCad2, the Z axis setting appears under the Axis Control or Port settings, depending on your controller (BJJCZ boards support this). Steps generally follow this pattern:

  1. Open File > Device Parameters
  2. Navigate to the Axes or Galvo tab
  3. Enter your Z offset value (positive moves focus toward the lens, negative moves it away — verify your system's sign convention)
  4. Run a test mark and evaluate sharpness

Some controllers allow real-time Z adjustment using a connected stepper motor driver — meaning you can raise or lower the Z stage directly from the software without touching the machine physically.

Variables That Change How You Approach Z Focus 🎯

No single method applies universally. These factors determine the right approach for your setup:

VariableHow It Affects Z Focus Adjustment
Lens focal lengthDetermines working distance and depth of focus tolerance
Controller typeNot all boards support motorized Z or dynamic focus
Software platformEZCad2, EZCad3, and LightBurn handle Z parameters differently
Material thicknessThicker or uneven materials require more precise Z compensation
3D vs. flat marking3D galvo systems require dynamic Z; flat-field systems don't
Laser typeFiber, CO2 galvo, and UV galvo have different focal behaviors

The Spectrum of Setups

A basic fiber galvo with a fixed Z column and EZCad2 is the most common setup. Here, Z adjustment is mostly physical — set it once per material thickness and move on. The correction file handles field flatness.

A 3D galvo system with a dynamic focus lens adds a software-controlled Z axis that adjusts in real time as the beam moves, enabling marking on curved surfaces. These systems require calibrated Z mapping and more involved software configuration.

An integrated system with motorized Z and full software control (common in industrial marking stations) allows Z presets per job file, automated height sensing, and multi-level marking — all managed through the controller software. 🔧

What Makes the Difference in Practice

Users often discover that even with correct physical focus, marks vary across the field. That's usually a field correction file issue, not a Z height issue. Conversely, soft marks at the center with good edges often point to a physical Z that's slightly off.

The distinction matters because the fix is completely different — one is a software calibration, the other is a physical measurement. Chasing the wrong cause wastes time and materials.

Your lens type, controller board, software version, and material all interact in ways that make the "right" Z focus process specific to your actual configuration. What works precisely for a 175mm field fiber system on EZCad2 won't map directly onto a 300mm field 3D galvo running a different controller — even if the underlying principle is the same. 🔍