-
Help with Z overtravel
We have a Fadal 3016 w/cnc 88. Using Format 1. I have a problem with the Z axis hitting the limit (top) at the end of my program. My knowledge of this machine (and g code in general ) is pretty limited. In case it is related I do have the Z home position set .010 down from the upper limit. However I can't figure out the reason it is reaching the limit. I could understand if it was ignoring the tool offset, but shouldn't that still be in effect? Last few lines below:
T5 M6 H5 (counter sink
M3 S500
M8
G0 Z.250
G81 X0.5845 Y-2.1843 R+0.2 Z-0.315 F4. G98
Y-3.8093
X3.397 Y-4.9968
X5.8345 Y-4.6218
Y-1.3718
X3.397 Y-0.9968
G80
M9 M5
Thanks!!:confused:
-
I am a little confused with the end of your program.
There is no "end of program" command or any return home command.
M5M9 is spindle off and coolant off and I don't see any Z or home moves.
I believe format 1 uses M2 for end of program.
Here is the end of 1 of my format 2 programs.
Should work for you as well if you change the M30 to M2.
I haven't tried it without yet but I believe the Z0 is not needed here either as the G28 is return home. But double redundancy never hurts anything)
N06028 M05M9
N06030 G91G28Z.0
N06032 G00G90E0X5.Y9.
N06034 M19
N06036 M30
%
-
Yes, I had removed the home command while trying to figure this out. Never thought about an end of program, wonder if that be the problem?
-
-
Try this:
G80M9
G53Z0
G53Y8.
M2
Advantage not leaving G90 or Absolute
This prevents the constant re-stating of G90 after the G91G28Z0
to get the Z axis to move up to the Machine 0
G53Y8. Moves the table out to operater (Format 2 only)
In Format 1 machine goes back to CS at end (useless)
-
I think the g53 will make the difference
On one of our little 3016's we use format 2 and our programs would look like
T5 M6 (counter sink
M3 S500
GOX#### Y#####
Z.250 H5 M8
G81 X0.5845 Y-2.1843 R+0.2 Z-0.315 F4. G98
Y-3.8093
X3.397 Y-4.9968
X5.8345 Y-4.6218
Y-1.3718
X3.397 Y-0.9968
G80
G0Z.1
M9 M5
G0Z0
M30
-
Thanks for the help, added the following to the program and it works fine. Actually Bobcad plugged it in for me.
G0 G80 G90 M5 M9 (end of program
G53 Z0
E0 X0 Y0 Z0 H0
M30