On 6/2/15 2:44 PM, Frederic RIBLE wrote:
> I have a rack tool changer. I suffer from the fact the tool ID in the
> spindle is lost with a power off/on cycle.
> I would like to save it before linuxcnc power off, and restore it
> automatically when switching on my machine.

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.


-- 
Sebastian Kuzminsky

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

Reply via email to