I have spent a lot of time trying to understand how to get something added to mach4 to do what my mach3 screenset does and I am stumped. The amount of work i have done on this and the little progress I have made with it is not great. I have tried using several scripts for m6 itself that rely on knowing the current tools length in the holder. That could work for some people but, you might as well just have separate gcode files and manually touch off the surface of the material between the different tools used. What is needed in the avid touch plate setup is an extra option.
I am absolutely positive that anyone using the avid machines with the touch plate setup would benefit from having this available to them. I can only hope that Avid or a community member with the skills required can develop this for the community.
I am going to describe what I think would be the best addition to the touch plate.
Within the touch plate program, there should be an option for a second probe location in the xy. Manually type in that machine location.
I have a plate mounted to a post that can be moved out of the way when loading materials. It is connected to the plate so that when the wire is connected to the spindle, it triggers the probe when touched. This can be at variable height because it can be moved. So, what needs to happen on job setup should be like this:
Load material, if job uses multiple tools then there should be a button in the touch plate window that enables a first setup step. This would be setting material zero and then move to the xy location that is stored for the second plate.
You would place the touch plate on the material surface, or bed if you use the bed. Then jog above it and press a button to probe that as z0 in this sequence.
Then z retracts to machine 0 and moves to the xy location of the second plate.
This second place is probed and the offset is stored somehow.
Now that we know the current tools z 0 location and the difference between it and the second plate, we can use that difference to adjust the next tool when the m6 is called.
Since the current avid screenset has a MTC location capture button, this is used during m6.
M6 is called, tool moves to tool change location. Next tool is inserted.
Attach wire to spindle, press next in window and tool moves to machine z 0 to move over to the xy of second plate.
Tool probes second plate. tool 2 touch location updates the difference stored and becomes the new difference stored and tool length is changed according to the calculated difference between the first difference and the second difference.
Go back to position before the start of m6 routine. cycle start to move through the next section of gcode.
I know this is possible. I just suck at programming for mach4 in lua. I also cannot find the time to get deep enough into it. This would benefit the entire customer base though. most of what I do does not leave a location to touch off of because it is gone by the time m6 is called.
Being able to run 1 file for an entire job and knowing that the next tool will be in the right place is pretty comforting.
This would work for the 4th axis as well. On the 4th, I always lose the location. Sheet goods are not as much of an issue.
Please avid, build this into the screenset. It is a huge benefit to all of us. Even if they do not know. They will love it after it exists. My only other option is using mach3 again because I have it there.