Hello Guest it is March 29, 2024, 08:54:50 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Nasty76

Pages: 1
1
General Mach Discussion / Mach 3 auto zero Z macro Bug?
« on: October 03, 2020, 04:06:26 PM »
Hi i make my own macro to get tool height and i see some wierd happend
 when debug my script i see something wierd sometime , and thats probaly happend sometimes normal z zero script too , i have broken some mill bits.
when macro call
Code "G90 G31 Z" &somenumber somenumber is just example 

While IsMoving() ' Wait for probe move to finish
Wend

testvar = GetVar(2002) ' Read the touch point
getvar (2002) return total wrong value example my dro say -9 and testvar is -15 and even i change height of touch it still -15 when i shutdown mach 3 and start again then i get correct testvar value , is it bug or bad macro code ?but after shutdown and restart mach3 macro work correct

Pages: 1