It turned out to be as silly mistake as usual - my HAL files were missing these lines:
net tool-prepare iocontrol.0.tool-prepare iocontrol.0.tool-prepared net tool-change iocontrol.0.tool-change iocontrol.0.tool-changed I will tidy up the tool change procedure and then install the tool length setter probe and most probably return with some more questions because currently my experience with probing is none, not to mention updating tool table entries after such endeavour (IIRC the latter is just a single g-code line but I suspect that there are quite a lot of things to mess up). Viesturs ceturtd., 2024. g. 7. nov., plkst. 13:54 — lietotājs Viesturs Lācis (<viesturs.la...@gmail.com>) rakstīja: > > Can anyone explain a little how queuebuster commands work and what > exactly is wrong with my code? > I tried whatever I could think of and based on Alciera's suggestion I > tried to add queuebuster lines in my main tool_change.ngc subroutine > file. The beginning of file is this: > > o<tool_change> sub > > (print, tool_change started) > > M66 E0 L0 > (print, tool_change after 1st queuebuster) > > M73 (auto-restore modal settings on return) > M66 E0 L0 > (print, tool_change after 2nd queuebuster) > G0 G53 X20 Y20 Z80 > M66 E0 L0 > (print, tool_change after 3rd queuebuster) > > (MSG, Tool change: loaded tool=#<_current_tool> ) > (MSG, Tool change: selected tool=#<_selected_tool> ) > M66 E0 L0 > (print, tool_change after 4th queuebuster) > > The result is that inly the first print appears in terminal. I do not > have anything connected to motion.analog-in-00 in HAL files. The thing > is that execution of file just stops - it does not freeze, just > nothing happens. Is that correct behavior? I would expect M66 to read > the value of input pin, save it to particular variable and move on to > next line. What am I missing? > > Viesturs > > > Viesturs > > trešd., 2024. g. 6. nov., plkst. 19:32 — lietotājs Viesturs Lācis > (<viesturs.la...@gmail.com>) rakstīja: > > > > Hello! > > > > I am stuck with M6 remap in the final stage of the Biesse retrofit. > > I suspect that not all of the mailing list readers are following the > > forum and vice versa, so I will share a link to my post with more > > detailed description: > > https://www.forum.linuxcnc.org/10-advanced-configuration/54366-remap-of-m6-not-working-correctly > > > > Any comments are appreciated. > > > > Viesturs _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users