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.



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

Reply via email to