On Wednesday 03 June 2015 07:58:54 Frederic RIBLE wrote: > Le 2015-06-03 10:13, andy pugh a écrit : > > iocontrol.0.tool-number isn't necessarily expected to reflect the > > tool in the spindle. That pin is only active during a tool change. > > > > The Axis GUI (if using Axis) will show that the tool is still in the > > spindle. Also, in the remap code #<tool_in_spindle> should show the > > right number. > > Yes! It works with Axis, but not with my modified Machineface. > Problem is now solved by reading the tool table as Axis does with the > line "current_tool = self.stat.tool_table[0]" > What is strange is that "self.stat.tool_in_spindle" is not usable > here: it reports 0 at start up, even there is a tool in the spindle. > Thank you very much for your help > Frederic.
This would appear to be a doable fix. Would it be possible to add the tool in the spindle to the end of the position.txt file so that would be restored at initilzation time? Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
