This code gives inconsistent results...
DoOEMButton(149)
DoOEMButton(1021)
If I set X axis moving, trigger limit, press 'run' on this code, it resets and allows me to move the axis again. I can repeat this cycle a number of times. Then (not sure if the fact that I opened another code window and typed in another few codes) when I set axis running, trip limit, and press 'Run' on the above code again, nothing happens. On shutting mach off, it gives me an error code, something like -99999999. On restarting mach, it has invented new machine and work coordinates for X axis.
Is OEMButton 149 known to be troublesome in this way?