I have not tested it yet but in theory you could just add a line like this to your M6 macro file:
Code: Select all
If #4120 == 99 THEN M68 ELSE M88
One word of caution when you convert your probe to wireless. We know that a VFD can mess with wired connections so you can imagine what it can do interfering with a wireless connection. The other critical issue by adding sender/receiver electronics is the introduction of latency. I could not find any information on the xoomspeed website what type of communication they are using but it doesn't look like they have much experience in low latency wireless communication. It's very easy to introduce about 100 milliseconds of signal latency with a wireless communication. With the default CNC12 slow probing feed-rate of 76.2mm/min your probe will travel about 0.127mm within 100 milliseconds. So if you measuring a slot, the latency over travel will be on both sides of the slot, doubling your measuring error of the slot width to 0.254mm.
If the latency would be consistent, you could adjust the probing tip diameter to account for the over travel but the problem with most wireless technologies is that the latency can vary a lot.
I suggest you are running some comparison measurements wired and wireless to get a good understanding if the wireless technology used in the xoomspeed box is acceptable to you.
-swissi