XY but no Z movement from G01
Hello, I am a novice with CAM and gcodes. I am trying out Fusion 360 for my Chinese JCUT wood router and created my first test 3D pocketing post (Fanuc). Previously I had used Rhino Cam and I remember having to modify the parameters of the Fanuc post but can't recall why or how, just that I do believe the standard FANUC did not work quite right with my machine.
Anyway, when I run the program, the machine rapids to the correct XYZ with the G00 command (there is Z movement). After this (with the G01 command) however, the path movement is limited to the XY plane in spite of there being Z coordinates in the line. There is no G18 or G19 in the set up lines but I don't think that could be the problem? Any help is greatly appreciated. The first bit of lines are here:
%
O1001
(T1 D=31.75 CR=0. - ZMIN=-109.531 - FLAT END MILL)
N10 G90 G94 G17 G49 G40 G80
N15 G21
N20 G28 G91 Z0.
N25 G90
(POCKET2)
N30 T1 M06
N35 S5000 M03
N40 G54
N45 G00 X130.859 Y128.661
N50 G43 Z35. H01
N55 G00 Z12.623 - this part seems to work
N60 G01 X130.841 Y128.667 Z12.275 F333. - no apparent Z movement here or beyond (I let it run for about 3000 lines before stopping it)
N65 X130.786 Y128.682 Z11.932
N70 X130.695 Y128.708 Z11.597
N75 X130.57 Y128.742 Z11.274
N80 X130.41 Y128.784 Z10.968
N85 X130.218 Y128.831 Z10.681
N90 X129.996 Y128.883 Z10.418
N95 G03 X129.747 Y128.937 Z10.181 I-3.319 J-14.712
N100 X129.473 Y128.991 Z9.973 I-3.069 J-14.766
N105 X129.177 Y129.044 Z9.798 I-2.795 J-14.82
N110 X128.863 Y129.094 Z9.656 I-2.499 J-14.873
N115 X128.534 Y129.138 Z9.55 I-2.185 J-14.922
N120 X128.195 Y129.176 Z9.481 I-1.856 J-14.967
Re: XY but no Z movement from G01
Sounds more like a hardware issue than your code. Can you jog your Z? If so and it is a code problem, it may be as simple as using a different post processor that is known to work with your setup. Try using one of the generic post processors and see if you can find one that works.
Re: XY but no Z movement from G01
Quote:
Originally Posted by
coherent
Sounds more like a hardware issue than your code. Can you jog your Z? If so and it is a code problem, it may be as simple as using a different post processor that is known to work with your setup. Try using one of the generic post processors and see if you can find one that works.
I am novice enough that I don't know what the generic post processors are called. There are several dozen to choose from. Can you let me know an example?
And, yes, the machine does move/jog in the Z axis without any problem
Re: XY but no Z movement from G01
Does G01 only in Z work (G91 G01 Z10 F--)
Re: XY but no Z movement from G01
Quote:
Originally Posted by
sinha_nsit
Does G01 only in Z work (G91 G01 Z10 F--)
G01 only makes X and Y move. G00 makes XYZ move. Z will not move with G01.
Re: XY but no Z movement from G01
Quote:
Originally Posted by
sinha_nsit
Does G91 G01 Z10 F-- work ?
i do not know since that line isn't in the file. should i write it in? if so, where?
in the past the fanuc post processor did not generate a g91 command with rhino cam 1.0. i am using fusion 360 now and it seems to generate more commands from a fanuc post
Re: XY but no Z movement from G01
Is tool 1 defined in the tool table? If not the controller won't know where to go because it has no tool length defined. Most controllers default to a tool length of zero, but yours may be different.
Re: XY but no Z movement from G01
Quote:
Originally Posted by
danielcoyle
Hello, I am a novice with CAM and gcodes. I am trying out Fusion 360 for my Chinese JCUT wood router and created my first test 3D pocketing post (Fanuc). Previously I had used Rhino Cam and I remember having to modify the parameters of the Fanuc post but can't recall why or how, just that I do believe the standard FANUC did not work quite right with my machine.
Anyway, when I run the program, the machine rapids to the correct XYZ with the G00 command (there is Z movement). After this (with the G01 command) however, the path movement is limited to the XY plane in spite of there being Z coordinates in the line. There is no G18 or G19 in the set up lines but I don't think that could be the problem? Any help is greatly appreciated. The first bit of lines are here:
%
O1001
(T1 D=31.75 CR=0. - ZMIN=-109.531 - FLAT END MILL)
N10 G90 G94 G17 G49 G40 G80
N15 G21
N20 G28 G91 Z0.
N25 G90
(POCKET2)
N30 T1 M06
N35 S5000 M03
N40 G54
N45 G00 X130.859 Y128.661
N50 G43 Z35. H01
N55 G00 Z12.623 - this part seems to work
N60 G01 X130.841 Y128.667 Z12.275 F333. - no apparent Z movement here or beyond (I let it run for about 3000 lines before stopping it)
N65 X130.786 Y128.682 Z11.932
N70 X130.695 Y128.708 Z11.597
N75 X130.57 Y128.742 Z11.274
N80 X130.41 Y128.784 Z10.968
N85 X130.218 Y128.831 Z10.681
N90 X129.996 Y128.883 Z10.418
N95 G03 X129.747 Y128.937 Z10.181 I-3.319 J-14.712
N100 X129.473 Y128.991 Z9.973 I-3.069 J-14.766
N105 X129.177 Y129.044 Z9.798 I-2.795 J-14.82
N110 X128.863 Y129.094 Z9.656 I-2.499 J-14.873
N115 X128.534 Y129.138 Z9.55 I-2.185 J-14.922
N120 X128.195 Y129.176 Z9.481 I-1.856 J-14.967
Kind of strange way to program something like this Z down is negative Z up is positive
All your moves are positive and they should be negative from the top of your part
Re: XY but no Z movement from G01
Quote:
Originally Posted by
mactec54
Kind of strange way to program something like this Z down is negative Z up is positive
All your moves are positive and they should be negative from the top of your part
yes. i see what you are saying MacTec. the Z values in the lines are absolute values and not relative/incremental (could this be the problem?). if i had posted the entirety of the lines you would see the Z values trend to 0 and then to negative values as the tool path passed into the stock surface. the values you are seeing are happening above the Z=0 point and represent retraction and clearance levels.
Re: XY but no Z movement from G01
Quote:
Originally Posted by
danielcoyle
yes. i see what you are saying MacTec. the Z values in the lines are absolute values and not relative/incremental (could this be the problem?). if i had posted the entirety of the lines you would see the Z values trend to 0 and then to negative values as the tool path passed into the stock surface. the values you are seeing are happening above the Z=0 point and represent retraction and clearance levels.
No Absolute G90 is what you should be working with, canned cycles are normally G91 incremental is the only time it is normally used or if someone is programing by hand
I would say your drawing is not correct and cam is not working how it should the top of your work should be zero so when you output the program it is going to start from the top of the part and work down, and all the Z moves will be Z-
Remove the G49 top line this cancels tool offsets which you would never need to do
Line N20 G0Z0 if you need it to go to Z0 remove the G28G91
None of this will change how this program will run unless the G49 is causing a problem which I doubt it is at this point, it's just that this code should never be there