Hello Guest it is April 18, 2024, 01:34:30 PM

Author Topic: g code help  (Read 3196 times)

0 Members and 1 Guest are viewing this topic.

g code help
« on: May 26, 2011, 02:42:10 PM »
why does my code want to cut at the machine cord z0?
i set it so the maneul tool change can be done by hand.

this is a single g code part that i got my g55 offset to make 2 at once. i have 2 vices on the mill.


( Produced       :- 10:20:50  Thursday, May 26, 2011 )
( CNC File       :- right side plates )
( Post Processor :- M_MACH3 )
( Part Number ID :-  )
N5G00G20G17G90G40G49G80
N6S1500M03
N7G94
N8M09
N9S0
N10G49
N11T1M06  ( End Mill )
N12G00G43Z0.5H1
N13S3800M03
N14G94g54
N15M08
N16X0.2Y-0.175
N17Z0.05
N18G01Z-0.06F20.0
N19X0.0Y-0.175F45.0
N20X-6.0Y-0.175
N21X-6.2Y-0.175
N22G00Z0.5
N23X0.2Y-0.175
N24Z-0.01
N25G01Z-0.12F20.0
N26X0.0Y-0.175F45.0
N27X-6.0Y-0.175
N28X-6.2Y-0.175
N29G00Z0.5
N30X0.2Y-0.175
N31Z-0.07
N32G01Z-0.18F20.0
N33X0.0Y-0.175F45.0
N34X-6.0Y-0.175
N35X-6.2Y-0.175
N36G00Z0.5


g55


N16X0.2Y-0.175
N17Z0.05
N18G01Z-0.06F20.0
N19X0.0Y-0.175F45.0
N20X-6.0Y-0.175
N21X-6.2Y-0.175
N22G00Z0.5
N23X0.2Y-0.175
N24Z-0.01
N25G01Z-0.12F20.0
N26X0.0Y-0.175F45.0
N27X-6.0Y-0.175
N28X-6.2Y-0.175
N29G00Z0.5
N30X0.2Y-0.175
N31Z-0.07
N32G01Z-0.18F20.0
N33X0.0Y-0.175F45.0
N34X-6.0Y-0.175
N35X-6.2Y-0.175
N36G00Z0.5
N37M09
N38S0





N39M09
N40G49
N41T2M06  ( End Mill )
N42G00G43Z0.5H2
N43S3500M03
N44G94
N45X-6.2Y-0.175
N46X-6.6Y-1.428
N47Z0.05
N48G01Z-0.05F20.0
N49X-6.0Y-1.428F25.0
N50X-0.472Y-1.428
N51X-0.472Y-0.862
N52X-6.0Y-0.862
N53X-6.6Y-0.862
N54G00Z0.5
N55X-6.6Y-1.428
N56Z0.0
N57G01Z-0.1F20.0
N58X-6.0Y-1.428F25.0
N59X-0.472Y-1.428
N60X-0.472Y-0.862
N61X-6.0Y-0.862
N62X-6.6Y-0.862
N63G00Z0.5
N64X0.6Y-0.862
N65Z-0.05
N66G01Z-0.14F20.0
N67X0.0Y-0.862F25.0
N68X-3.778Y-0.862
N69X-3.778Y-1.428
N70X0.0Y-1.428
N71X0.6Y-1.428
N72G00Z0.5
N73X0.6Y-0.862
N74Z-0.09
N75G01Z-0.18F20.0
N76X0.0Y-0.862F25.0
N77X-3.778Y-0.862
N78X-3.778Y-1.428
N79X0.0Y-1.428
N80X0.6Y-1.428
N81G00Z0.5

g54


N45X-6.2Y-0.175
N46X-6.6Y-1.428
N47Z0.05
N48G01Z-0.05F20.0
N49X-6.0Y-1.428F25.0
N50X-0.472Y-1.428
N51X-0.472Y-0.862
N52X-6.0Y-0.862
N53X-6.6Y-0.862
N54G00Z0.5
N55X-6.6Y-1.428
N56Z0.0
N57G01Z-0.1F20.0
N58X-6.0Y-1.428F25.0
N59X-0.472Y-1.428
N60X-0.472Y-0.862
N61X-6.0Y-0.862
N62X-6.6Y-0.862
N63G00Z0.5
N64X0.6Y-0.862
N65Z-0.05
N66G01Z-0.14F20.0
N67X0.0Y-0.862F25.0
N68X-3.778Y-0.862
N69X-3.778Y-1.428
N70X0.0Y-1.428
N71X0.6Y-1.428
N72G00Z0.5
N73X0.6Y-0.862
N74Z-0.09
N75G01Z-0.18F20.0
N76X0.0Y-0.862F25.0
N77X-3.778Y-0.862
N78X-3.778Y-1.428
N79X0.0Y-1.428
N80X0.6Y-1.428
N81G00Z0.5



N82S0
N83M09
g0z1.0
N84M30
%
Re: g code help
« Reply #1 on: May 26, 2011, 05:14:08 PM »
i got it.
my fixture offsets where wack. i am smarter now. ;D
Re: g code help
« Reply #2 on: May 26, 2011, 07:27:01 PM »
so, do the fixture offsets not save? ???

i think i am just going to draw up 2 pieces and cam that. works 100% that way.....