585,759 active members*
4,293 visitors online*
Register for free
Login
Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Jan 2017
    Posts
    2

    Adding taper to spindle variation macro

    Hey guys, new member here, trying to find a solution to my macro program (If its possible). Samsung SL-30 with the series 0i control. Boring out thin wall SS tubing, and I've already created a macro program to remove the chatter. Problem is between tool and part deflection I'm getting .001-.002" taper. Total size tolerance is +/- .0025", so often I'm cutting it close on tolerances. Here's the current program (the relevant portion). This program works great, awesome finish, but I'd really like to remove the taper if at all possible.


    #100=9.6 (PART LENGTH)
    #101=.005 (DISTANCE BEFORE SPEED CHANGE)
    #103=650 (RPM 1)
    #105=0 (COUNTER)
    #106=750 (RPM 2)


    G0 G28 U0
    G0 G28 W0
    G50 S1500
    G0 G40 G96 G99 T0101 M4S#103
    G0 X2.511
    M8
    G0 Z.25
    G1 Z0 F.01

    WHILE [#105LT#100] DO1
    G99 G1 W-#101 F.001 S[#103]
    #105=#105+#101
    G99 G1 W-#101 F.001 S[#106]
    #105=#105+#101
    END1

    G1 X 2.4
    G0 Z.25

  2. #2
    Join Date
    Jan 2017
    Posts
    2

    Re: Adding taper to spindle variation macro

    I then came up with this program, but the x move between RPM changes is so small, the machine does not acknowledge it.



    #100=9.6 (PART LENGTH)
    #101=.005 (DISTANCE BEFORE SPEED CHANGE)
    #102=.004
    #103=650 (RPM 1)
    #105=0 (COUNTER)
    #106=750 (RPM 2)
    #107=#101/#100
    #108=#107*#102 ( X step)


    G0 G28 U0
    G0 G28 W0
    G50 S1500
    G0 G40 G96 G99 T0101 M4S#103
    G0 X2.511
    M8
    G0 Z.25
    G1 Z0 F.01

    WHILE [#105LT#100] DO1
    G99 G1 W-#101 U#108 F.001 S[#103]
    #105=#105+#101
    G99 G1 W-#101 U#108 F.001 S[#106]
    #105=#105+#101
    END1

    G1 X 2.4
    G0 Z.25

Similar Threads

  1. Taper macro
    By Green Button in forum Okuma
    Replies: 2
    Last Post: 02-17-2012, 09:11 AM
  2. Spindle Speed Variation Control
    By gunda in forum Okuma
    Replies: 11
    Last Post: 01-31-2012, 10:38 PM
  3. Newb Question: Difference Between 40 Taper spindle and a 50 taper spindle
    By AndrewJP in forum Uncategorised MetalWorking Machines
    Replies: 5
    Last Post: 09-18-2010, 12:00 AM
  4. macro for spindle speed variation
    By lovetofish89 in forum Fanuc
    Replies: 4
    Last Post: 04-09-2010, 09:59 PM
  5. TL-1 SSV (spindle speed variation)
    By xyzcnc in forum Haas Lathes
    Replies: 5
    Last Post: 07-25-2007, 05:48 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •