30
« on: March 18, 2019, 10:56:55 AM »
Hi all, this is more of a "teach me CNC" than a Mach 4 specific issue, but I was hoping to get your thoughts.
For the first time since I started this hobby, I have a machine with home/limit sensors. I used to just open Mach 3, zero the machine coordinate system at the work zero and cut away (all work offsets being zero). If the power went out and I machined off the corner I used to zero the part, then the part was scrap.
Now I turn on the machine, home to inductive proximity sensors, then home to the servo encoder marker pulse. This seems to be very repeatable - as it should be. My question is about how to properly use work offsets. After this homing sequence, I believe the machine starts in G53 and is located at 0,0,0. From there, I believe you can write gcode relative to a work zero defined in G54-G59. What it seems like I need to do is go into the MDI, enter G54, then edge find my part zero. When I zero this, does mach automatically and permanently save the work offset? Is there something I need to do in order to get it to be saved?
Now for tool offsets. I preset my tool lengths off the machine relative to the nose of the spindle. My code typically has a call like:
M06 T5
G43 H5
This loads the tool and height offset info for tool 5. Sometimes it seems like the first line runs and throws some weird number into the Z axis DRO, then when the second line runs, the correct tool position is reloaded into the DRO. I ran into an issue where this weird number triggered an error of being outside of soft limits even though the tool was perfectly well inside the limits.
What is the proper procedure to turn on the machine, home, locate the work zero, save the work offset, and handle tool length offsets?
Thanks!