512,641 active members
4,070 visitors online
Register for free
IndustryArena Forum > Machine Controllers Software and Solutions > Fanuc > macro for spindle speed variation
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2009

    Question macro for spindle speed variation

    Does any one have a macro for Spindle speed variation similar to the HAAS SSV commands?? I am turning a long thin shaft and want to eliminate chatter issues and speed up the cycle time to reduce costs.

  2. #2
    Gold Member
    Join Date
    Jun 2008
    what kind of fanuc control are you using?

    Can you post your code on when and where you want to speed up the spindle?


  3. #3
    Join Date
    Mar 2009
    I can speed up or slow down any where but what I am looking for is a macro that will pulse the spindle +/- say 50 rpm as the cut is on going, similar to the HAAS ssv commands. I found that while the tool is in cut and I use the overides as it machines, to pulse the spindle manually this almost completely eliminates chatter and I was able to increase surface speeds and feeds, but I cannot be at the control for every part due to this is in a cell type setting and there are 3 other machines to tend to. Haas has commands using m codes to call up a macro to do this and cancel the macro but I don't have a Haas lathe at this time. Years ago I used the macro I am looking for, at another job, but lost the code that I had used and I am hoping that someone out there has a copy of similar macros.

  4. #4
    Gold Member
    Join Date
    Jun 2008
    I posted this over in the other forum where you asked the samething but did not see a response so I am posting here as well.

    Not sure if this will work and I did not prove it out as I have no open machines right now. Another problem as already stated in the other thread this may stall at the increase and decrease points before moving the incremental distance waiting for the spindle to reach the specified speed.

    This is probably going to leave witness marks on the part at every #101 increment. Make sure none of these variables are being used for something else.

    We may have to do a macro interrupt to get the “IF” statements outside the WHILE condition so there is no waiting on variable changes that may be effected by the look ahead.

    #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)



  5. #5
    Join Date
    Mar 2009
    Thanks I'll give this a try as I remember this looks close to what i had but old age is catching up to me

Similar Threads

  1. First Machine- Northboys yet another JGRO variation
    By Northboy in forum CNC Wood Router Project Log
    Replies: 58
    Last Post: 02-25-2010, 10:24 PM
  2. Constant cutting speed macro
    By MrWild in forum Dolphin CADCAM
    Replies: 4
    Last Post: 06-10-2008, 11:18 AM
  3. TL-1 SSV (spindle speed variation)
    By xyzcnc in forum Haas Lathes
    Replies: 5
    Last Post: 07-25-2007, 05:48 AM
  4. How to modify HPLG file to compensate for the speed variation of my laser engraver ?
    By g1zmo in forum General Laser Engraving / Cutting Machine Discussion
    Replies: 0
    Last Post: 05-10-2007, 04:16 AM
  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

Posting Permissions

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