Hello Guest it is December 13, 2019, 03:51:56 AM

Author Topic: Auto tool zero...Z-probing  (Read 489 times)

0 Members and 1 Guest are viewing this topic.

Re: Auto tool zero...Z-probing
« Reply #10 on: March 03, 2019, 11:32:18 AM »
Hi,
which one? A screen shot ....something?

I am asking questions and you are not answering.
Have you got the axes moving accurately?
What happens when you MDI g31's?

Craig
My wife left with my best friend...
     and I miss him!
Re: Auto tool zero...Z-probing
« Reply #11 on: March 03, 2019, 12:19:20 PM »
Ok also let me double check to make sure my
STEP PER UNIT is correct
Re: Auto tool zero...Z-probing
« Reply #12 on: March 03, 2019, 08:39:34 PM »
I redid my step per unit.. is still the same thing I dont understand what I'm doing wrong....also when I do g31 it goes down only 1" but I have higher number for it to probe
I have to be like .125" over the plate
Re: Auto tool zero...Z-probing
« Reply #13 on: March 03, 2019, 08:54:08 PM »
Hi,
if you are using mm units why are you describing in inch units?

Lets establish a few basics.

If you look on the Output LEDs panel on the Machine Diagnostics panel does the Probe LED light up when
you manually touch the plate? If not your probe circuit and/or connection to your BoB/controller is faulty
or you have not correctly assigned  the port and pin to Machs probe input signal.

To establish whether G31 works jog to over the top of the touch plate, about 2mm above the surface.
<Zero> the Z axis.
Now MDI G31 z-5 f100.

The machine should lower at 100mm/min until it touches the touch plate and stop.
Were you to check now the value of the pound variable #5073 it should contain the current Z axis coordinate relative
to the Z=0 you started at.

Craig
My wife left with my best friend...
     and I miss him!
Re: Auto tool zero...Z-probing
« Reply #14 on: March 03, 2019, 10:08:15 PM »
The led works fine and when I did the G31 it also work good
But I can't find the #5073....
Re: Auto tool zero...Z-probing
« Reply #15 on: March 03, 2019, 10:26:55 PM »
Hi,
#5073 is a pound variable.

Diagnostic/Regfile.....per attached

Brings up the Regfile diagnostic panel. Note that it can be pinned to the top level if you need it for diagnostics while
running a file for instance. Expand the pound variable tree. Use the Pound Variable Display Range to see variables you are
interested in.

Either way, whether you can see the pound variable or not it appears that G31 probe command is working.
That is the basis of all probe and touch off routines. You have proved that the hardware is doing its part.

Exactly what touch off routine are you using?. Maybe the underlying code is visible which would allow you to see
why your setup is not working.

Craig
My wife left with my best friend...
     and I miss him!
Re: Auto tool zero...Z-probing
« Reply #16 on: March 03, 2019, 10:45:40 PM »
My #5073: -36,378382 that's what shows
Re: Auto tool zero...Z-probing
« Reply #17 on: March 03, 2019, 10:49:56 PM »
Hi,
try clearing it by double clicking and overwriting.

Then try your G31 MDI again.

Have you read page 38 of the Mill Gcode Programming Guide in the Docs folder?.

I may have put you crook with the pound variable number. See page 38 for what each variable is.

Craig
My wife left with my best friend...
     and I miss him!
Re: Auto tool zero...Z-probing
« Reply #18 on: March 03, 2019, 10:57:08 PM »
   --touch button  script
If (Tframe == nil) then

       --touchoff module
       package.loaded.mctouchoff = nil
       mctouch = require "mctouchoff"

       Tframe = mctouchoff.Dialog()
else
        Tframe : show()
         Tframe : Raise()
end

   This is what I have ...
Re: Auto tool zero...Z-probing
« Reply #19 on: March 03, 2019, 11:07:59 PM »
Hi,
look in Mach4Hobby/Modules for the file mcTouchOff.lua and you will find the code. It is unfortunately a biggish
file (292k) and so the chance of you spotting the fault is slim unless you are already good with Lua.

I suspect that you are putting in the wrong parameters into the probing routine.
Can you take a screen shot of the parameters you are loading?

Craig
My wife left with my best friend...
     and I miss him!