Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: jelle_bos on October 09, 2019, 06:31:42 AM

Title: Lua Probe touchplate over movement
Post by: jelle_bos on October 09, 2019, 06:31:42 AM
Hello people,

Iam currenlty programming my auto touchplate to measure tools automaticly by pressing a button. My sensor has an output which indicates if the zaxis traveled too far because it didn't recieve a signal that the probe was touched.

The problem I have now is that i don't know what to do when this output is activated. If I enable the estop the axis is stuck and I can't enable the drive. And when I use a gcode execute to make the zaxis go back to zero I get an error.

Could someone please help me?

Thanks in advance.
Title: Re: Lua Probe touchplate over movement
Post by: jelle_bos on October 09, 2019, 08:34:48 AM
another problem. How do i write the value to my tool heigth in the tool table?
Now i use this:G54 G10 L1 P1 Z#2002. but it doesnt seem to work. does someone know?