GPath Laser

Machine setup

Last updated Dec 4, 2026, 5:24 PM

A machine profile tells GPath Laser about your laser, so your designs come out the right size, in the right place, and at the right power. Each profile stores:

  • the work area, the size of the bed your laser can reach
  • the reference point, the corner (or centre) that counts as (0, 0)
  • max S, the number your controller uses for 100% power
  • the controller type and post-processor, so GPath writes G-code your laser understands
  • your laser's speed and acceleration limits, read from the controller when you connect.

You only need to set up each laser once. You can add several machines and pick the right one for each project.

Key idea: what's max S? Laser controllers set power with a number called S. On most GRBL lasers S1000 is full power, but some use S255 or S10000, and Smoothieware uses S1 by default. You set power as a percentage in GPath, and it converts that for you. With max S at 1000, 20% becomes S200. With max S at 1, 20% becomes S0.200. If max S is wrong, your laser burns too weakly or too strongly.


Open Laser machine setup

From inside a laser project, use either:

  • Laser operations → Laser machine setup… in the top menu, or
  • the Machine setup button on the Connect tab of the Laser panel.

machine setup modal


Two ways to add a laser

Detect connected machine Add manually
Use it when Your laser is plugged in over USB You want to set up before plugging in, or only save G-code
What GPath does Finds the laser, reads its settings, and creates a profile for you You choose a template or enter the details yourself
Live control (connect, jog, frame, run) Yes No, only G-code export (shows Offline profile)

Want to control your laser from GPath? Use Detect connected machine. Only profiles found over USB can connect, jog, frame, and run jobs. Profiles added by hand are for saving G-code to run elsewhere.


Detect connected machine (USB)

This is the easiest way to add a laser, and the only way to get live control from GPath.

  1. Switch on your laser and plug it into your computer with a USB data cable.
  2. Close any other laser software, because only one app can use the USB port at a time.
  3. Open Laser machine setup and click Detect connected machine.
  4. GPath scans your USB ports and asks the controller what it is. When it finds your laser, you'll see a message such as Detected Creality Falcon A1 — added to your machines list.
  5. Click the new machine's card to check its settings (see Edit a machine below). If you change anything, click Save changes.

Supported controllers: GRBL, grblHAL, FluidNC, Smoothieware, and Marlin (with laser support turned on). See how they compare in Connecting your laser.

Tip: you often don't need to click Detect at all. The first time you connect a new laser over USB, GPath adds it to your list automatically.

What GPath reads from your laser

When it detects your laser, GPath reads as much as it can from the controller and fills in the profile:

  • Name: if your laser matches a built-in template (such as Sculpfun S9 or Creality Falcon A1), GPath uses that template's name and settings. Otherwise you'll see the firmware name, for example GRBL 1.1f, which you can rename.
  • Work area: from the controller's travel settings ($130 / $131 on GRBL), when it reports them.
  • Max S: from $30 on GRBL, or laser_module_maximum_s_value on Smoothieware.
  • Speed and acceleration limits: used for time estimates and smoother engraving.
  • Homing: GPath turns on Home when connected only if your laser can home. It stays off on Marlin and Smoothieware, and on GRBL lasers with homing turned off ($22=0).

Each time you connect, GPath updates these from the controller, so the profile stays in step with your laser.


Add manually (template or custom)

Use this to set up a laser before you've plugged it in, or to create a profile just for saving G-code.

  1. Open Laser machine setup and click Add manually. (If you have unsaved edits, click Save changes first.) The Add laser machine form opens.
  2. Under Start from, type a brand or model in Search (for example xTool), then choose from the Template list. Choose Custom… to enter everything yourself.
  3. The form fills in the template's values. Check and adjust them. The fields are grouped into sections:
Section Field What to enter
Machine Name A friendly name shown in lists and menus, such as Workshop laser
Brand, Model Help you tell machines apart. You need at least a name, a brand, or a model.
Controller Your laser's controller type (see the list below)
Post-processor The type of G-code to write. The recommended one for your controller is marked (recommended).
Work area Units How speeds and the work area are shown: mm/min, mm/s, in/min, or in/s
Width, Height The bed size your laser can reach. This becomes your canvas size.
Reference point (picture) Click the dot that matches where your laser's X0 Y0 is (see below)
Laser Max S The S value for full power, usually 1000 or 255 ($30 on GRBL), or 1 on Smoothieware
Power mode M4 dynamic power by default (recommended). The laser lowers its power as it slows down in corners, so corners don't burn darker than straight lines.
Air assist On for cuts by default: turns on air assist for new Line operations, if you have an air pump
  1. Check the footer. It names the machine it will add, for example Adds Sculpfun S9 to your machines., or tells you what's missing.
  2. Click Add machine. The machine is added to your list and saved straight away.

machine setup modal

To go back without adding, click Back.

Built-in templates

Template Work area max S
Creality · Falcon A1 381 × 305 mm 1000
Sculpfun · S9 410 × 400 mm 1000
Atomstack · A5 410 × 400 mm 1000
xTool · D1 430 × 400 mm 1000
Ortur · Laser Master 2 390 × 410 mm 1000
GRBL · S1000 / S255 / S10000 300 × 300 mm 1000 / 255 / 10000
FluidNC · Laser 300 × 300 mm 255
grblHAL · Laser, LinuxCNC · Laser 300 × 300 mm 1000
Smoothieware · Laser 300 × 300 mm 1
Marlin · Laser S255 300 × 300 mm 255
No machine · S1000 300 × 300 mm 1000

The machine templates use a Bottom left reference point, and the generic ones use Center. If your laser isn't listed, pick the generic template for its controller and enter your own work area.

Controller types

GRBL, grblHAL, FluidNC, Marlin laser, Marlin CNC, Smoothieware, LinuxCNC, and Other/unknown.

Not sure? Most hobby diode lasers use GRBL.


Reference point

The reference point is the spot on the bed that counts as (0, 0). Choose from Top left, Top right, Center, Bottom left, or Bottom right.

It should match where your laser's own origin is. Most diode lasers home to the front-left corner, which is Bottom left on the canvas.

Why it matters: when you use the Absolute work origin, GPath lines up the canvas's reference point with your laser's origin. If they don't match, your design burns in the wrong place.


Your laser machines

The main setup window lists every machine you've added as a card. Each card shows the machine's name and a row of badges summing up its settings:

Badge Meaning
Controller, e.g. GRBL The controller type
S max, e.g. S max 1000 The S value for 100% power
M4 dynamic / M3 constant The power mode new operations start with
Air assist New Line operations start with air assist on
Homes on connect GPath homes this laser when it connects (see below)

Your default machine has a Default badge. New laser projects use it automatically.

Control What it does
Set default Make this machine the default for New Laser Project
Click the card (or its arrow) Open the card to edit the machine (see below)
Remove machine At the bottom of an open card: delete this machine from your list

Save your changes

When you change something, Unsaved changes and a Save changes button appear at the bottom of the window. Click Save changes to keep your edits, including a new default machine or a removed machine.


Edit a machine

Click a machine's card to open it, then change any of these:

  • Name: shown in lists and the project's machine picker
  • max S:
  • Controller:
  • Post-processor: (the recommended one is marked (recommended))
  • Feed display:
  • Reference point:
  • Work area W×H
  • M4 default (dynamic): dynamic power for new operations
  • Air assist default (Cut): air assist for new Line operations
  • Home when connected: see below
  • Limit switches fitted: Marlin lasers only (see below)

Then click Save changes.

Tip: double-check max S against your laser's settings. On GRBL, click Settings ($$) on the Console tab and look for $30. On Smoothieware, it's laser_module_maximum_s_value in the config.txt file on the controller's SD card. If GPath thinks max S is 1000 but your laser uses 255, every job will burn at full power.

Smoothieware and max S

Smoothieware's power range is 0 to 1 unless its config file sets another value, so its max S is usually 1. GPath writes power with three decimals, for example S0.300 for 30%.

When your laser connects, GPath reads the real value from the controller, so you don't need to change it by hand. If you added a Smoothieware machine before this was supported, its max S of 1000 was changed to 1 once, connect over USB to read the actual value.

Home when connected

Homing means the laser head moves to its corner until it touches small switches (limit switches), so GPath knows exactly where the head is. When Home when connected is on, GPath sends the homing command ($H) as soon as this laser connects over USB, and the card shows a Homes on connect badge.

Each machine has its own setting. Turn it off if your laser has no limit switches.

GPath skips homing on connect, even when this is on:

  • on Marlin lasers, because Marlin can't tell GPath whether switches are fitted;
  • on Smoothieware lasers;
  • on GRBL lasers with homing turned off in the controller ($22=0).

On Smoothieware you can still home with the Home button on the Move tab. It's greyed out if the endstops are turned off in Smoothieware's config file (endstops_enable false).

Limit switches fitted (Marlin only)

Marlin can't report whether your laser has limit switches, so you tell GPath here. Turn it on only if your laser has X and Y limit switches. The Home button only works when it's on. Without switches, homing drives the head into the frame until Marlin stops responding.


When a profile is used

Situation What happens
New Laser Project, with a default machine The default machine is linked to the project. The canvas size and reference point come from its profile.
New Laser Project, with no machines yet A 300 × 300 mm canvas opens with a Center reference point. No machine is linked until you add one and pick it.
An existing project Pick a machine from the picker on the Connect tab of the Laser panel.

Link a machine to the current project

  1. Open the Connect tab in the Laser panel.
  2. Choose a machine from the Machine profile picker. If no machine is linked yet, it shows (select).

When you change the machine:

  • the new max S is used for your operations;
  • an empty project's canvas changes to the machine's work area (projects that already have shapes keep their size);
  • if the reference point is different, your shapes move so they stay in the same physical place on the bed.

USB vs offline profiles

Profile What the Connect tab shows
USB (added by detecting your laser) Connect / Disconnect, Re-detect, and the list of USB ports
Offline (added from a template or as a custom machine) Offline profile. There are no connection controls, but you can still save G-code.

To save G-code from an offline profile, link it to your project and click Save laser operations in the Setup & output row (or use Laser operations → Save laser operations). See Saving G-code.


Troubleshooting

My new project has a 300 × 300 mm canvas and no machine No machine was set as your default when you created the project. Open Laser machine setup…, add your laser, click Set default, then Save changes, and pick it on the Connect tab.

My canvas size is wrong Edit the machine's Work area W×H in Laser machine setup…, or pick a different machine on the Connect tab. Projects that already have shapes keep their size.

My designs burn in the wrong place Check the machine's Reference point matches your laser's origin corner (usually Bottom left). Also check which work origin mode you're using.

Power is far too strong or too weak Check max S matches your laser (usually 1000 or 255, or 1 on Smoothieware). On GRBL, look for $30 in Settings ($$) on the Console tab. On Smoothieware, reconnect over USB so GPath reads the range again.

The Connect tab says Offline profile That machine was added manually (from a template or as a custom machine), so it's for saving G-code only. To control your laser from GPath, plug it in and use Detect connected machine.

Detect connected machine finds nothing See the troubleshooting in Connecting your laser, then click Detect connected machine again to rescan.

I see error:5 when I connect Your laser doesn't have homing turned on, which is common on lasers without limit switches. Open the machine's card, turn off Home when connected, and click Save changes.


See also

GPath Laser See every feature, pricing, and the free trial.