584,837 active members*
5,602 visitors online*
Register for free
Login
Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2014
    Posts
    4

    Varying spindle speed

    Hi, Having problems with vibration when machining shafts. The control system I am using is the Fanuc O T series. I have read a few articles about using a macro to vary the spindle speed thus eliminating the vibration. At the moment having to do this manually. Can anyone shed light on how to create a macro in a program? The machines are a Victor and Daewoo CNC lathe. Also machining in imperial.

  2. #2
    Join Date
    Aug 2014
    Posts
    7

    Re: Varying spindle speed

    clear the interference in command voltages(0-10v).not seriel spindle. you can get perfect speed...

  3. #3
    Join Date
    Sep 2010
    Posts
    1230

    Re: Varying spindle speed

    Quote Originally Posted by ally6677 View Post
    Hi, Having problems with vibration when machining shafts. The control system I am using is the Fanuc O T series. I have read a few articles about using a macro to vary the spindle speed thus eliminating the vibration. At the moment having to do this manually. Can anyone shed light on how to create a macro in a program? The machines are a Victor and Daewoo CNC lathe. Also machining in imperial.
    I doubt very much that you could do this successfully with a User Macro Program. You can't have the Macro Program running in the Background varying the Spindle Speed, whilst the machining program is being executed. The only way I can see you doing this with a Custom Macro program would be to break the tool path up into many segments and vary the speed at the intersection of each segment.

    Controls that have this feature inbuilt achieve the result via the PLC program.

    I'd be interested in seeing the article you referred to if you're able to Post a link to it.

    Regards,

    Bill

  4. #4
    Join Date
    Dec 2012
    Posts
    22

    Re: Varying spindle speed

    Maybe the OP is looking for something like this:

    #100=500 (part length)
    #101=10 (travel length before speed increase)
    #102=50 (rpm variation every #101 distance)
    #103=300 (spindle RPM)
    #104=#103 (rpm counter)
    #105=0 (counter)

    G0G90X()Z.1M3S#103
    G1Z0F50
    WHILE[#105LT#100]DO1
    G91Z-#101F50S[#103+#102]
    #105=#105+#101
    IF[#103GT#104]THEN#102=[-#102]
    IF[#103LT#104]THEN#102=ABS[#102]
    END1
    G0X()
    Etc...

    This macro will vary the RPM by 50, either up or down, through the entire length it is turning the part. Change the #100 variables accordingly to fit your application.

    Kind Regards,

    Paul

  5. #5
    Join Date
    Dec 2012
    Posts
    22

    Re: Varying spindle speed

    By the way... I found this macro on another site... therefore cannot take credit for it's creation.

    Just trying to help the OP.

    - Paul

  6. #6
    Join Date
    Sep 2014
    Posts
    4

    Re: Varying spindle speed

    Thanks. I'll try this when I get a minute and I'll let you know.

    Ally

  7. #7
    Join Date
    Sep 2014
    Posts
    4

    Re: Varying spindle speed

    Hi,
    Thanks for the replies guys. Paul I will try this tomorrow. Many thanks for your help.

    Ally )

Similar Threads

  1. Replies: 1
    Last Post: 08-02-2013, 10:07 PM
  2. Need help with varying tip voltage/ poor cut quality
    By binfordw in forum Hypertherm Plasma
    Replies: 8
    Last Post: 03-30-2012, 12:25 PM
  3. Varying zero for cutting on non flat surfaces.
    By zonker in forum Mechanical Calculations/Engineering Design
    Replies: 9
    Last Post: 01-13-2010, 05:34 PM
  4. engraving a piece with varying thickness?
    By theclive in forum Laser Engraving / Cutting Machine General Topics
    Replies: 8
    Last Post: 04-25-2007, 10:26 PM
  5. BPSeriesI / Centroid control- Spindle speed all out of whack with speed dial?
    By peter.blais in forum Bridgeport / Hardinge Mills
    Replies: 9
    Last Post: 08-08-2006, 09:29 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
  •