I would like to add a Z -axis touch probe to my router but I am abit confused how to do it properly. Ok... I am alot confused. LOL
The way my system is setup now I am using all 'NC' micro-switches for the homing of my axises and wired up in parallel according to the diagram found on the Xylotex website. Each switch is connected to it's own input pin on the parallel port. I want to keep my Z- Axis home switch at the top of the axis the way it is since I like to use the "Home All" feature in Mach2, so I can't connect to that circuit for the touch probe. At least I don't see how it would work if I did. I also like to zero my tools from the top of the stock so I was planning to just use a piece of flat aluminum stock .100" thick with a wire lead attached to it. Now I do have one input pin left on my parallel port which I was originally going to use for a A-Axis home switch but I doubt I will need a home switch on my rotary axis, so I could use this last input pin for a touch probe.
The question is how do I go about connecting it properly and setting up Mach2 to know what to do when it gets a signal? I'm guessing it would need to be set as if I was using a 'NO' switch but are there any other setting I need to set in Mach2 for me to be able to use some of the macro scripts I have seen posted, such as the digitize setting? I have already created a button in Mach2 for activating a "Z -Touch Probe" sequence and I used the macro that "termite" posted. The Z -axis goes down slowly as it should but without a proper circuit for the probe it will not do what it is suppose to.
So basically what I want to be able to do is click a button on the Mach2 screen that triggers the Z to move down slowly till the cutter comes into contact with the aluminum touch plate. Once contact has been made Mach2 resets the Z - axis DRO to +.100 or +.101 then moves back up a set distance, say 3 inches. But most important I would still like to tell my Z-axis to go home and it moves up to the home switch.
Is it possible or am I asking too much? If it is possible how do I go about doing it? I have no programing experience so I don't know how to create my own macros.
Thanks in advance for any advise.
Carl