bump
Does anyone on here have experience with this. I have come up with the g-code but something in the startup block is causing very slow feedrates . . . extremely slow!
U can see below where the 500 ipm feed is . . . it moves slow here. The move in just the z axis is fine though. I believe the lines around the G107 are wrong and the book doesn't explain this well. Thanks.
G30U0W0
G54G98
G0T1010(3/8" END MILL .06" RADIUS)
M5
M111
G98
M43
G28H0
G50C0
G0Z.2
X1.5
G97S1000M13
G18
C0.
G107C0.R0.75
G0C263.7672
G1X1.4F18.
C263.7672 Z0.173
Z-0.027
G18C105.3672 Z0.061F500.
G02 C54.9 Z-0.1927 R0.255
G01 Z-0.3234 F18.
bump
Can you point out exactly were it is moving slow? Are you saying in the G18 line it is moving slow but in the Z-0.027 it is moving fine? Dose your CRT display the proper feed?
Stevo
steve, you're correct. it moves fine when only moving in the z axis. yes, the crt does display the feed i have programmed in.
i believe the g107 line should contain code that tells the machine when the x coordinate switches over to a different named axis. i'm not sure at the moment what this is.
any help would be appreciated. . . thanks!
Ok so in the red area it is moving at a feed of 18. Now in the black area you want it to move at a F500 but it is moving slow. Do you know exactly how slow it is moving? Is it moving at a F18? If so my guess would be that the G18 line is not picking up the feed. Probably because of switching planes. Does your G02 line run at a feed of 500? I would try putting the F500 in a seperate line right before the G18 to see if that works.
G1X1.4F18.
C263.7672 Z0.173
Z-0.027
G18C105.3672 Z0.061F500.
G02 C54.9 Z-0.1927 R0.255
G01 Z-0.3234 F18.
Stevo
the feeds have been behaving as they should (modal). it's just that the G18 plane moves are wicked slow. that's why i put 500 ipm for a feed in there. the crt displays the correct feed all the time. i'm gonna run a new g107 line right now.
I should have suggested a different way. I have never tried changing planes in a feed move line. Try changing your plane before your move.
G1X1.4F18.
C263.7672 Z0.173
Z-0.027
G18
C105.3672 Z0.061F500.
G02 C54.9 Z-0.1927 R0.255
G01 Z-0.3234 F18.
Stevo
another problem i'm having is that the line containing "G02 C54.9 Z-0.1927 R0.255" is causing the machine to move about a foot in the Z direction.
this makes me truly believe there is a major error in the g107 line
Are you working on a VMC with a rotary axis(C)? What is the definition of your G107? I don't see G107 in my book. Is this a custom G code for calling macro program?
Stevo
this is a live tooling lathe (kia skt21lms)
i believe i attached a pic of the piece in the chuck
i just tried this because i copied line by line a piece of code given to us by the machinery dealer (the only code i have that works on this machine for cylindrical):
G30U0W0
G54G98
G0T1010(3/8" END MILL .06" RADIUS)
M5
M111
G98
M43
G28H0
G50C0
G0Z.2
X1.6
G97S1000M13
G18
C0.
G107C250.R0.75
G1X1.6F18.
G1X1.4C263.7672F100.
G18C263.7672 Z0.173F18.
Z-0.027
G18C105.3672 Z0.061
G02 C54.9 Z-0.1927 R0.255
G01 Z-0.3234
Looks like you are trying to mill a lobe on the end of the bar. Try using XC programming and forget G107. It's difficult to see what you are doing. Are you using your endmill mounted axially or radially (pointing in Z direction or X direction)?
e.g.
O14(XC )
M1
G0G40
T0404
S4500M8
G17
G90
G00 X0. C0.
G12
G00Z10.
G00 X0.18 C1.26
G00Z1.
G01 Z-0.1F499.
G01 X-0.82F500.
G01 X-9.27 C7.99
G01 X-10.02
G01 C1.24
G00 Z1.
G00 X0.18 C1.26
G01 Z-0.1F499.
G01 C7.99F500.
blah...blah...
G01 Z-0.1F499.
G01 X9.47F500.
G00 Z20.
G13
G18
M9
G28W0.
G28U0.
M99
This example will not mill your lobe, I just snatched it from a XC prog I've used.
Hope this helps