3
« on: October 18, 2007, 09:55:04 AM »
I've got Mach3 running pretty well right now. I just set up a floating torch head, and have a few code questions. I can get the G28.1 command to reference the home switch, no problems there. But, after the reference command, the Z axis DRO doesn't reset to zero.
What I would like to have happen is the G28.1 command be run to reference the home switch, the Z axis offset be reported, and then the new Z height it referenced become zero.
My thought is that this way every time the torch head references the switch it re-zeros for the code to run based on the height/thickness of the metal at that location. By re-referencing before every cut I am hoping to avoid the torch dragging on the metal or trying to fire too far above the metal.
I am currently using LazyCAM for my .dxf to Gcode conversions, and I'm not sure of any way to get it done in LazyCAM. Any help would be greatly appreciated.