Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: TTalma on February 08, 2019, 01:42:48 PM
-
As the title states is there any way to home a single axis? I have a setup I use rarely, and I only care about homing the Z axis. If I forget to home the machine I have to go through setting up my X and Y again.
-
Hi,
yes you can use a script which uses the API:
LUA Syntax:
rc = mc.mcAxisHome(
number mInst,
number axisId)
Description:
Used to start an axis homing.
Or you can use the Ref Z axis (or Ref X, Ref Y) on the machine diagnostics page.
Craig
-
The ref z on the diag page is perfect!