Le 2015-06-04 01:51, Sebastian Kuzminsky a écrit :
>
> I think the easiest way to do this is to remap M6 to record the loaded
> tool number in a file or parameter, and add a user-defined subroutine to
> your RS274NGC_STARTUP_CODE to read the tool number from there and inform
> LinuxCNC using M61.
>
Yes, that was my initial idea, but for some mysterious reason, here M61 
does not work in RS274NGC_STARTUP_CODE.
May be a side effect of "NO_FORCE_HOMING =  0".
Anyway, I have solved the issue with "RANDOM_TOOLCHANGER = 1" and 
extract the current tool number from first line of tool table.


------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to