Here is how I did it for a similar job. It was cutting a failry flexible material so I had to increment X as well as Z but you can just set xstep to 0.
#<ndiscs> = 10 (number to cut) #<zstep> = 6.5 (amount to increment Z each time) #<xstep> = 0.007 (amount to increment X each time) (for 10 discs z=0 is 83mm from the chuck jaws) #<zpos> = 0 #<xpos> = 0 (tool 7 is front turning tool) (tool 8 is rear parting tool) g18 t7 m6 g43 g10 l2 p1 z0 x0 m4s1800 g0x50 g0z0 f200 g0x36 g1x-1 g0z1 O100 repeat [#<ndiscs>] g43 h7 f200 g0 x35 g10 l2 p1 z#<zpos> x#<xpos> #<zpos> = [#<zpos> - #<zstep>] #<xpos> = [#<xpos> + #<xstep>] g0 z2 g1 x32 g1 z-6.5 g1 x29.4 g1 z-1.98 g2 z-1.27 x28.2 r0.725 g2 z0 x0 r79 g0 z1 x29.5 s2200 g0 z-6.5 f150 g1 x28.8 g1 z-2.3 g2 z-1.41 x27.42 r0.9 g2 z-0.2 x0 r78.8 g1 x-1 s1800 g0 z1 x50 g43 h8 g0 z-4.6 x-29 f80 g1 x-26 f150 g1 x-6 f60 g1 x0 g0 x-50 O100 endrepeat g43 h7 g10 l2 p1 z0 x0 g0z1 x20 m30 Les On 06/05/11 23:15, Marshland Mail wrote: > I need to cut multiple small parts on my lathe and I wanted to do 3 or > so at a time. For me, the easiest way is a loop. Cut one, move to the > start of the next part, reset absolute zero on the Z (I always have > absolute 0 at the start of the part) cut the next, again move and reset > Z, cut the next, then move to the original start and reset the Z to 0 > to start all over again. > > Tool offset could be used, but have a 6 post tool changer and that would > mean setting all the tools etc etc > > Any suggestions? ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
