Hello Guest it is April 17, 2021, 02:59:13 AM

Author Topic: Z home overides at code start  (Read 1110 times)

0 Members and 1 Guest are viewing this topic.

Z home overides at code start
« on: October 10, 2017, 03:25:03 PM »
I've been using this machine with Mach 3 and Gecko G540 for almost a decade.  This problem may have occurred before, but isn't every time.   Today the code was created by Vectric V-Carve Pro 9.0.  After setting the X0, Y0 and Z0, I went to run the code.  Z always goes to home position first, but it went past the limit switch and stalled mechanically.  Letting the code run had Z go too low, past tabs and into the table.  It seems the stalling affected the Z0 setting position.

I went to the toolbox screen and the limit switch is working.  If I use "home all", it works just fine and does not mechanically bottom out.

X and Y do not "home" at start of code, just Z.  Is this something in Mach or with Vectric?

When things work, I don't tempt fate.  What is the intent of line 140: N140 G00 G43Z1.7424H1

The G-Code is as follows;

( File created: Tuesday October 10 2017 - 02:03 PM)
( for Mach2/3 from Vectric )
( Material Size)
( X= 9.875, Y= 4.250, Z= 0.755)
(Toolpaths used in this file:)
(Profile 1)
(Tools used in this file: )
(1 = End Mill {0.25 inch})
N130 (End Mill {0.25 inch})
N160(Toolpath:- Profile 1)

Re: Z home overides at code start
« Reply #1 on: October 10, 2017, 11:12:02 PM »
I found something.  If I set Z0 as the last item, then zero all and run the code it all works.  For some time I had had it run from multiple points and Z would home, but not mechanically hit, and it run properly.  Maybe lucky those times.

It still seems odd that only the Z would try to home and go past the home limit switch.
Re: Z home overides at code start
« Reply #2 on: October 15, 2017, 09:42:59 AM »
The real problem was the CAM software was putting in a "safe Z" higher than my axis was able to move.  So it went through the limit switch until a mechanical crash trying to get to the "safe Z."  I corrected the CAM software and all is good.