synthetos / TinyG

Affordable Industrial Grade Motion Control
https://github.com/synthetos/TinyG/wiki
890 stars 293 forks source link

Delay after spindle starts #11

Open sacidu93 opened 12 years ago

sacidu93 commented 12 years ago

Generally, Spindles take some accelerating time to reach the rpm desired, after sending M03 or M04 the controller starts immediately the next move even if the spindle does not reach the speed, this may cause some problems, particularly when processing with high speed . To avoid this, the solution is to edit the gcode file and insert a Dwell G4 after M3 or M4 command (which is not automatically done by CAM software), or why don't use a new parameter in TinyG config, the user can set some seconds after Spindle start or set it to Zero to disable it, like you do with "$si" . This is the delay to wait till the spindle gets to speed, and TinyG waits this amount of time till it performs the next command.

aldenhart commented 12 years ago

Spindle delay is on the short list of the things to do. I like your approach.

(I didn't mean to close the issue. I just hit the wrong button. Distracted.)