I have been working on a Z probe macro, similar to a recent post.
I use the keygrabber to input joystick signals.
I have 6 jogging buttons, 3 buttons to set the jog rate, 1 button to zero X and Y, and 1 button to zero Z.
The jogging buttons are routed directly using Config - Ports and Pins
I have been successfully using these for months.
Now added 2 more buttons through the keygrabber. One of them initiates M991.m1s through the oem(301) and the other is routed to input#1.
The codes are attached.
My problem is that everything works perfectly, except that after doing a Z probe the two buttons that move X and Y and Z to zero do not work. Everything else in the macropump.m1s does work. I have to close down Mach3 and start again to get my normal buttons working again. Any suggestions as to where I have gone wrong?