Skip to content

spindle-at-speed is not waited for when disabling the spindle #4158

@wucke13

Description

@wucke13

I do have something like this as G-Code:

M5
G91
G1 Z+0.001
G38.3 Z-0.5

regardless of what the spindle0.at-speed pin gets as signal, the moves after M5 begin immediately (also regardless of whether the G1 is there or not). I would like to avoid having a spinning tool hit my toolprobe; so I think there is legitimate reason to also consider at-speed when the spindle is off and or the commanded spindle speed is 0.

Actually I would expect G38.n to form a at-speed barrier by itself, without needing to resort to the hacky G1 above to wait for the spindle to be at speed. Attached is a halscope log from the following actions:

  • Enable spindle
  • Start the G-Code listed above

As can be seen, the Z movement starts immediately after the M5, despite at-speed lagging almost 10 seconds behind.

halscope.csv

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions