587,812 active members*
3,293 visitors online*
Register for free
Login
Results 1 to 11 of 11
  1. #1
    Join Date
    Aug 2011
    Posts
    252

    Spindle Start Delay Settings

    My spindle is 24000 rpm and is up to that speed in 10 seconds.

    Question: It is possible to set delay start for RPM in percent?

    I mean 24000 is 100% in 10 seconds, if speed is set at 6000 rpm which is 25% of max speed, the delay start time to be also 25% from 10 seconds? (Like 2.5 seconds.)
    Can I do that with scripting or it has to be done as software implementation?
    Thank you.

  2. #2
    Join Date
    Sep 2018
    Posts
    14

    Re: Spindle Start Delay Settings

    The VFD is ramping up the spindle RPM while limiting the current not to exceed the spindle maximum current. There is no guarantee that the spindle speed increases linearly in time.

    Also, I would recommend to give 4-5 extra seconds for the VFD/spindle to stabilize the RPM - in the end it is an adaptive process, with the actual RPM "oscillating" around the desired RPM. Do those few seconds matter that much?

  3. #3
    Join Date
    Aug 2011
    Posts
    252

    Re: Spindle Start Delay Settings

    Quote Originally Posted by RaraAvis View Post
    Do those few seconds matter that much?
    Yes, in some circumstances...
    Thanks.

  4. #4
    Join Date
    Aug 2011
    Posts
    252

    Re: Spindle Start Delay Settings

    Ok, I've found _spindle_delay_start, now I need to think how to use it.

  5. #5
    Join Date
    Aug 2011
    Posts
    252

    Re: Spindle Start Delay Settings

    I found a way but can only use _prog_minspindle or _prog_maxspindle and are not useful anyway when program multiple toolpaths with different spindle speeds.
    So I modified my post processor and job done! I will set in PlanetCNC no delay.

    Edit: PlanetCNC have many useful scripts but the lack of documentation makes them almost impossible to use.

  6. #6
    Join Date
    Mar 2017
    Posts
    1332

    Re: Spindle Start Delay Settings

    Or you you could edit M3 script.
    This is where _spindle_delay_start is used.

    Code:
    O<PlanetCNC> if [#<_spindle_delay_start> GT 0]
      G04 P#<_spindle_delay_start>
    O<PlanetCNC> endif

  7. #7
    Join Date
    Aug 2011
    Posts
    252

    Re: Spindle Start Delay Settings

    Quote Originally Posted by PlanetCNC View Post
    Or you you could edit M3 script.
    This is where _spindle_delay_start is used.
    I knew this. The problem I had was not knowing how to check spindle command speed before execution to set the delay before execution for every spindle command.

  8. #8
    Join Date
    Mar 2017
    Posts
    1332

    Re: Spindle Start Delay Settings

    '_spindlespeed' parameter will get you current 'S' value

  9. #9
    Join Date
    Aug 2011
    Posts
    252

    Re: Spindle Start Delay Settings

    Quote Originally Posted by PlanetCNC View Post
    '_spindlespeed' parameter will get you current 'S' value
    I knew this to, I don't know what I did yesterday wrong, but today after another quick test it's surprisingly working... (maybe I was tired and made some mistakes)
    Thanks for reply's, otherwise I would have abandoned the attempt.

    OnStart script @ Line: 0
    Start spindle CW
    speed=6000 delay=3
    Stop spindle
    Start spindle CW
    speed=12000 delay=6
    Stop spindle
    Start spindle CW
    speed=24000 delay=12
    Stop spindle
    Start spindle CW
    speed=6000 delay=3
    Stop spindle
    OnEnd script @ Line: 8

  10. #10
    Join Date
    Mar 2017
    Posts
    1332

    Re: Spindle Start Delay Settings

    lack of documentation makes them almost impossible to use.
    I know documentation can be a lot better but it seems that in this case it was good enough.
    You knew everything was needed to do this thing :-)

  11. #11
    Join Date
    Aug 2011
    Posts
    252

    Re: Spindle Start Delay Settings

    Yes, but after searching through manual and scripts to see which does what...
    Hopefully will see documentation complete and will be a lot easier.
    Thank you.

Similar Threads

  1. Spindle soft start delay
    By justinj in forum LinuxCNC (formerly EMC2)
    Replies: 0
    Last Post: 08-23-2017, 04:25 AM
  2. Spindle delay
    By mkc2 in forum Mach Mill
    Replies: 3
    Last Post: 01-06-2009, 01:56 PM
  3. Pierce delay and plunge rate settings.
    By Fiero Addiction in forum Waterjet General Topics
    Replies: 0
    Last Post: 07-20-2008, 12:05 AM
  4. HL-2 close chuck, delay, cycle start
    By djr76 in forum Haas Lathes
    Replies: 3
    Last Post: 03-06-2008, 07:21 PM
  5. Start delay on Thermal Dynamics 151
    By Scratch in forum Waterjet General Topics
    Replies: 4
    Last Post: 06-01-2006, 05:22 PM

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
  •