Skip to content

Motion, Homing & Terminal

This section covers the Jog and Terminal screens and the FocuZ:grbl controller — the motion-and-accessory controller FocuZ pairs with your galvo controller.

What works today

Rotary jogging works now — it runs on your BJJCZ laser controller, so the Motion window's BJJCZ Rotary strip and the Rotary Jog (BJJCZ) sequencer action need nothing extra. The FocuZ:grbl controller is coming soon: X / Y / Z motion, homing, the Terminal and the accessory relays described below light up once it's available and connected.

The FocuZ:grbl controller

FocuZ uses two controllers that work together:

  • the galvo controller (BJJCZ) steers the laser beam and fires it (see Hardware & Device Setup), and
  • the FocuZ:grbl controller — a custom GRBL build — moves the X / Y / Z axes (stage, gantry, or Z focus) and switches accessory relays.

FocuZ detects the FocuZ:grbl controller automatically when it connects (it identifies itself on the wire), so the homing, jogging, and accessory features described here light up once it's connected.

Two controllers, one job

The galvo marks; the FocuZ:grbl controller handles motion and accessories. A job can interleave both — for example, jog an axis, switch on air assist, mark, then switch it off. How they coordinate within a run is covered in Marking & Tracing.

Motion window

Open Motion from the menu (it was called Jog before). The Motion window gives you homing, axis control, and live position. It's a separate window, so you can leave it open beside the canvas and keep working — close it with the ✕ or reopen it from the menu at any time.

Homing

  • Home X / Home Y / Home Z home each axis independently; Home All runs them in sequence.
  • Home X / Home Y keep the lens out of the way. With Z enabled, FocuZ first lifts Z to the top of its travel (just below the Z switch — your controller's homing pull-off, $27Z) and remembers where it was. If Z isn't homed yet, Z homes first instead — FocuZ tells you, because Z's current position is then lost. Then the axis homes, FocuZ offers to move it to one of your saved positions, and finally asks Return Z to MPos …? Answer No to leave Z up — homing the other axis right after won't lift or ask again, and offers the Z return at its end. With Z disabled, FocuZ warns you to make sure nothing on Z — especially the lens — is in the way. The Home button on the Homing Required message (shown when a move or a run needs an axis homed) homes X and Y the same way — X, then Y — and offers the Z return once, at the end.
  • While a Motion window move (Home X / Y, Jog to, Home + Jog Lens 0) is running, the jog pad and the lens button are locked, and the Terminal only sends real-time keys (? ! ~) and $G. If a move is interrupted, FocuZ says so.
  • Each axis tracks its own homing status. An axis must be homed for its absolute position to be trustworthy; homing is what establishes a known origin (by touching the limit switch).
  • After an alarm (e.g. a limit hit) an axis loses its homed status and must be re-homed before its position is trusted again — see Troubleshooting & FAQ.
  • Z always homes upward. Mount the Z limit switch at the top of travel (the Z+ end) so homing moves the head away from the work. FocuZ checks the controller's Z homing direction when it connects and keeps Z homing locked if it is set to home downward. X and Y may home in either direction.
  • FocuZ's saved lens heights and saved positions are machine positions, so they always refer to the same place — whichever Home button or command you used.

While a sequence is running

The Jog and Home buttons are grayed out while a sequence runs or is paused — a manual move in the middle of a run would change positions the run was checked against. So are the Z Lens focus controls (Offset, Update Offset, Save Current Z), the saved Position chooser and the rotary jog amount. They all come back as soon as the run finishes or is cancelled.

While an axis is homing

The Run / Pause button becomes Cancel All (red). A homing cycle can't be paused, so Cancel All resets the controller — that stops all motion and ends the sequence. FocuZ then unlocks the controller and asks you to home again before the next absolute move. While any axis homes — from a Home button, a Home action, or $H typed in the Terminal — the jog pad and the lens button are grayed out, and the Terminal only sends real-time keys, $G and $X.

Motorized axes (Enable X / Y / Z)

Tell FocuZ which axes it drives with the Enable X / Y / Z checkboxes — found on Device ▸ Connection (below the FocuZ:grbl port selector) and in Device ▸ Laser Setup's Motorized Axis (FocuZ controlled) section (both show the same setting). Enabling an axis includes it in operations that need confident absolute positioning and shows its jog controls and Home button here on the Jog tab; a disabled axis is hidden. Whether a run requires a given axis to be homed depends on which axes are enabled and what the job does.

The same Laser Setup section holds After a run, set positioning mode (G90/G91) — which mode the controller is left in when a sequence finishes; see Distance mode.

These axes move through the FocuZ:grbl controller

"Motorized Axis (FocuZ controlled)" means an axis FocuZ itself drives through the FocuZ:grbl controller (see above). Enable an axis only if that controller is connected and wired to move it. If you focus or position an axis by hand — a manual-focus knob, a fixed-focus lens, or a stage FocuZ doesn't control — leave it off; FocuZ won't try to home or move it.

All three axes are off by default. Your choices persist until you change them.

Set the Z− limit switch so Z can never crash

Z homes up to its top switch, but a Z− limit switch at the bottom of travel is what stops a wrong move from driving the lens into the work or the bed. Mount it at a height where Z stops before anything can touch, and enable it in Device ▸ Connection ▸ Enable Limit Switches.

Position & limits

  • MPos is the machine (absolute) position; LPos is the work position FocuZ derives from it.
  • While the motion controller is connected, the top bar shows the live readouts for the enabled axes: LPos Z and MPos Z in the centre, with MPos X and MPos Y to their right. A readout shows N/A until its axis has been homed, and an axis that is off has no readout — the others keep their places.
  • Limit-switch status is shown per axis/direction so you can confirm switches before homing.

Manual jogging

The FocuZ (custom GRBL) section is a directional pad: Y+ / Y− / X− / X+ arranged as a cross, with Z+ / Z− beside it. Set the Step (mm) and Feed for XY and for Z beneath their buttons, then click to move by that step. Axes that aren't enabled in Device/Laser Setup show grayed out. The Feed boxes take 100 mm/min up to your controller's maximum rate for that axis ($110 X, $111 Y, $112 Z; the XY box uses the lower of X and Y). A value outside that, or an empty box, is set to the nearest limit when you leave the box, and jogs use the value shown.

These controls appear only while a FocuZ compatible controller is connected — every one of them sends a jog, so without the controller the section shows a note asking you to connect one and the window closes up around it. The BJJCZ Rotary strip below is never hidden: it runs on the laser controller and simply grays out when the laser isn't connected.

  • Home & Jog to Lens 0 homes Z and moves to the active lens's saved focal height in one step — handy for getting straight to focus (see Lenses, Corrections & Calibration).

The FocuZ (custom GRBL) box has three outlined sections: Jog (the pad, on the left), and on the right Z Lens focus (see Lenses, Corrections & Calibration) above X/Y Positioning (saved positions, below).

X/Y Positioning (saved positions)

Save up to 99 X/Y positions — a fixture corner, a jig, a load position — and jog back to them, or move there inside a job with the Go to Position action.

  • Position picks the slot (01–99); each entry shows its name, or its X / Y values when it has no name.
  • Name — one name per slot, shared by its X and Y. The box turns red while you type; Enter or clicking away keeps it, Esc puts the old name back.
  • Save X / Save Y store that axis's current machine position in the slot. The axis must be homed first. Saving over a value already there asks first. Each axis is saved on its own, so a slot can hold just X, just Y, or both. A disabled axis's button is grayed out.
  • Clear empties the slot (it asks first).
  • Jog to 07 moves the enabled axes the slot holds to the saved position in one move, at the pad's Feed XY. Z is not moved — lift it first if anything could be in the way. Both axes must be homed.

Saved positions belong to the machine, not to a project: they're the same whichever project is open, and they're included when you export or import your settings.

BJJCZ Rotary

The Motion window's BJJCZ Rotary strip jogs the rotary axis (it runs on the laser controller, so it's live whenever the laser is connected). It's one line: on the left your rotary type (the fixture chosen in Rotary Setup), the live position and the jog angle; in the middle CCW / CW to jog by that angle; on the right Set Zero to define the current position as zero and Go to Zero to rotate back to it. To turn the rotary as a step inside a job, use the Rotary Jog (BJJCZ) action in the Sequencer (see Rotary Jog). See Rotary Marking.

Like the Jog and Home buttons, CCW / CW, Set Zero and Go to Zero are grayed out while a sequence runs or is paused, and during a Full or Single red-light trace — those turn a rotary part themselves. Hull, Perimeter and Area traces never turn the part, so the strip stays usable during them — handy for lining the part up while the outline is shown. The position readout updates again when the run or trace ends.

How jogging really behaves (open-loop)

The FocuZ:grbl controller is open-loop and queues moves:

  • Clicking a jog button several times runs the jogs one after another — each click queues another move.
  • A move is "done" when the controller reports Idle, not when the axis is confirmed to have physically arrived. With no encoder, a stall, a disabled driver, or missed steps are not detected.
  • Positional confidence comes from homing (hitting the limit switch), not from per-move confirmation.

Terminal

Open Terminal to talk to the FocuZ:grbl controller directly. Type a command, press Enter (or Send), and the output window shows what you sent (> …) and the controller's replies. Use it to run G-code, check status, or switch accessory outputs (below).

Like Jog, the Terminal is its own window and can stay open beside the canvas. Drag its edges to resize it — the output area grows with the window so you can watch a long session, and the command box always stays in view along the bottom.

Commands FocuZ doesn't send

The FocuZ controller has one coordinate system — the machine's — works in millimetres, and FocuZ keeps every lens and fixture offset itself. A command that would try to change that is not something the controller supports, so the Terminal answers with a one-line reason and does not send it:

Not sent Why
G55–G59 the controller has one coordinate system
G10, G92, G43.1, G49 no work offsets on the controller — FocuZ keeps every offset itself
G20, G93 FocuZ works in mm, at units-per-minute feed
G2, G3, G38 arcs and probing aren't supported
$N… (startup lines), $C (check mode) not supported with FocuZ
$23Z=1, $10 without machine position, $13=1 settings FocuZ depends on (Z homes up; status reports in mm with machine position)

The same rules apply to GRBL - Command actions and Terminal sublayers: a job containing one of these lines is stopped at Run with the line and the reason listed, so you can correct it. In a job, homing ($H…) and controller settings are refused too — use a Home action to home. Everything else — moves, G53, G90 / G91, $J= jogs, M-codes, queries — is sent as typed. In the Terminal itself, homing and the other settings are sent as typed. A G53 line is a move to a machine position (G90 / G91 don't apply to it), and counts as an absolute move for the homing check.

Moves FocuZ makes itself (an Axis Jog, a Jog sublayer, the Motion window's Home X / Y moves, Home + Jog Lens 0, a Home action's return to 0, Return to Saved 0, Go to Position) run at your controller's homing seek rate ($25), so they suit your machine (the Motion window's Jog to uses its Feed XY box). Every position FocuZ remembers — a lens focus, a saved 0, a saved position — is a machine position, and FocuZ moves to it as one (a G53 move), so nothing typed in the Terminal can shift where it lands. They leave the controller's G0/G1, feed and G90/G91 exactly as they found them.

FocuZ also checks the controller's firmware build when it connects: a controller with an older build than this FocuZ needs is refused with an Incompatible Controller message — update the controller firmware and connect again.

Feed rate on G1 lines

With a FocuZ compatible controller, the controller starts with no feed rate (F0) after connecting and after every reset. Until you set one, a G1 line without an F word is refused (error:22, undefined feed rate) — a safety stop, so a slow cut never runs at a feed you didn't choose. Put an F on your G1 lines (for example G1 X10 F500) in the Terminal, in Command actions and in Terminal sublayers. G0 rapids don't need one. When you press Run, FocuZ checks the job's Command and Terminal-sublayer lines and lists any G1 that would be refused, so it's caught before the job starts rather than halfway through. It also lists any line with a letter that has no number after it (for example the X in G1 X F500) — the controller would refuse that whole line. A Command action left blank is fine: it sends nothing and the job carries on.

FocuZ's own moves (the Jog panel, Axis Jog, Jog sublayers, the Return and Home actions) always carry their own feed, and they put the controller's G0/G1, feed and G90/G91 back the way they found them — so they never set a feed for you, and never remove one you set.

Distance mode (G90 / G91)

The small G90 / G91 label beside the command box shows whether the controller is currently in absolute (G90) or incremental (G91) mode; it shows — while disconnected.

  • The mode is yours: type G91 and it stays G91 until you type G90. FocuZ's own moves (jog buttons, lens moves, sublayer jogs, return actions) leave it the way they found it.
  • Every sequence run starts in G90. If a job needs incremental moves, put G91 in the job itself (on the line, or earlier in the same Terminal block) — a G91 typed before the run is not carried into it.
  • After a run, the controller is set back to G90 (absolute). To finish in G91, or in whatever mode it was in before the run, set After a run, set positioning mode (G90/G91) in Device ▸ Laser Setup's Motorized Axis (FocuZ controlled) section: As it was before the run, Absolute (G90) (default) or Incremental (G91). The change applies as soon as you pick it.

While a sequence is running

Only the status query ? and $G (show current modes) are sent while a sequence runs or is paused. Anything else is answered with "a sequence is running" and not sent — the refused line is also written to the log. To stop a run, use Pause / Cancel in FocuZ (or Soft Reset, which also cancels it — its confirmation says so, with No as the default).

Accessory relays — air, vacuum & more

The FocuZ:grbl controller has several auxiliary relay outputs (switched 24 V / 5 V) you can wire to peripherals — most commonly air assist and a vacuum / extraction fan, but any on/off accessory works.

Each output is switched with an M-code. You can send these:

  • manually, by typing the M-code in the Terminal, or
  • as a job step, with a GRBL - Command action in the Sequencer — e.g. turn air on before a marking action and off after it, so it's automatic every run.

Air assist around a mark (in a job)

  1. GRBL - Command — switch the air-assist output on.
  2. 2D Import (or 3D Slice) — the marking action.
  3. GRBL - Command — switch the output off.

Confirm the codes for your wiring

Which M-code maps to which physical output (and therefore to air vs. vacuum) depends on how your controller is wired and configured. Test each output from the Terminal and label them before relying on them in a job. (Exact output-code table to be documented for the standard FocuZ:grbl build.)

See also