Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: kcassella on February 15, 2020, 07:57:02 AM
-
Hello,
When I set the work offset for my Gcode file to X0 Y0 and move the axis to another location, I'll enter G00 X0Y0 in the MDI, hit cycle start, the axis will not move. If I enter G00 X10, the axis will move 10mm. I can't figure out why the axis will not move to zero location.
Also, the Go to Work Zero button will not work. I did change the script to:
GoToWorkZero()
local inst = mc.mcGetInstance()
mc.mcCntlMdiExecute(inst, "G00 G53 Z0\nG00 X0 Y0\nG00 Z0")
Why will the axis not move back to work zero location?
Could someone please help!!!
Thanks,
Kerry
-
Any chance you are in Incremental motion mode?
-
No, I'm in continuous mode. Unless there is a different location for that would cause this problem. I'm able to move the axis to any position using the MDI screen except back to work zero.
Thanks,
Kerry
-
Steve,
You were right. I found under Configure, Control - Distance Mode was set to Incremental. I set Distance Mode to Absolute. Working good now.
Thank you for your help.
Kerry
-
Hi,
its normal to set your machine to Absolute Distance mode in Machs Control plugin you can switch back and forth
to absolute/incremental mode by use of g90/g91 in Gcode. Page 50 'Mill Gcode Progrmming.pdf in Mach4Hobby/Docs.
Craig