Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: flim63 on December 24, 2016, 09:21:30 AM

Title: Touch off UI resets 'next line of code'
Post by: flim63 on December 24, 2016, 09:21:30 AM
Mach4, latest hobby release. When I use the touch UI for Z zero it runs perfectly, but also the instant I click the button, the 'next line of code' in the run ops tab resets to 1. The G code window still shows the correct line highlighted in blue but if I cycle start, it runs from the beginning. If before I hit cycle I click a line above then the correct line (I haven't tried just clicking the correct line, sorry), the next line of code goes back and it runs as intended.

Also if I wanted to have a permanent touch plate for tool changes (router), does this require a LUA script or can it be done by another means? What g code would I need to run an auto Z function in this case. Thanks

Jason