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
I do have something like this as G-Code:
regardless of what the
spindle0.at-speedpin gets as signal, the moves afterM5begin immediately (also regardless of whether theG1is there or not). I would like to avoid having a spinning tool hit my toolprobe; so I think there is legitimate reason to also considerat-speedwhen the spindle is off and or the commanded spindle speed is 0.Actually I would expect
G38.nto form aat-speedbarrier by itself, without needing to resort to the hackyG1above to wait for the spindle to be at speed. Attached is a halscope log from the following actions:As can be seen, the Z movement starts immediately after the
M5, despiteat-speedlagging almost 10 seconds behind.halscope.csv