Riddle me this. G31Y0.7 will work in MIDI, it will advance to touch and stop, if no touch it will stop when reaching Y=0.7. As it should.
I attach it to a button. Press the button and nothing happens. Choose Operator > Edit button script> select the button, change nothing and save. The file runs as soon as I close the editor (if reset allows). But wont run when the button is pressed. Any ideas? TIA Ben
SetUserLabel 200,"Start probing"
Code "G31 Y0.7"
While IsMoving()
Wend
SetUserLabel 200,"Finished probing"