grbl_stm32 icon indicating copy to clipboard operation
grbl_stm32 copied to clipboard

Spindle spin-up pause

Open J-Dunn opened this issue 5 years ago • 4 comments

Hi,

I notice in the code you put a "hack" in to allow a slow start of your spindle controller.

I have a chinese VFD with PID controlled spin up and speed control, so in principal I should not need this. I have a PWM on PB0 and it controls the spindle speed quite satisfactorily.

However, I can not seem to get any delay from G4 commands.

If I send
G4S5 S10000M3Y-5

It moves off directly and does not seem to recognise the G4 pause.

Is this what you were trying to work around or was that something else? Do you get a delay from G4S5 ?

J-Dunn avatar Aug 07 '19 19:08 J-Dunn

as far as I can tell G4 work just fine, what are you trying to do? if you want a delay after starting the spindle the G4 should be after the M3

langwadt avatar Aug 07 '19 19:08 langwadt

Thanks, I've just checked back on the output. It was not as I recalled. The initial move was done before I tried G4. In fact any attempt at a G4 , with or without S5 get an error like "invalid command" :?

J-Dunn avatar Aug 07 '19 19:08 J-Dunn

Jeez, just me being dumb and mixing stuff up. G4p5 works as expected. Thanks for the confirmation, it's always helpful to have a check since we can't be too numerous using this port. Apart from that little brain fart, it seems to be working great.

J-Dunn avatar Aug 07 '19 20:08 J-Dunn

I don't even use it, I use a port of grbl-mega on a board I build with powerstep drivers

langwadt avatar Aug 08 '19 20:08 langwadt