On 10/03/2015 10:21 AM, Niemand Sonst wrote: > Hallo, please do the following: > > start sim axis and halshow, to whatch: > > - motion.toolofset.z > - iocontrol.0.tool-number > > Home the machine and go to mdi tab, execute the following commands: > > T3 M6 > G43 > > OK, hal stuff is fine, now.. > > M61Q0 > > No hal pin changed!
I see this too (in 2.6.10). The bottom line of Axis changed from "Tool 3, offset 1.234, diameter 5" to "No tool", but the iocontrol.0.tool-number pin did not change. That's a bug for sure. M61 is probably one of our less-tested codes... > IMHO > motion.toolofset.z should be "0.0" > iocontrol.0.tool-number should be "-1" I disagree, i think motion.tooloffset.z should not change until G43, and iocontrol.0.tool-number should be 0. > OK, go on and do G43 > > OK tooloffset is now "0.0" Good. > but tool remain "3" Bad. > Try T3 M6 Does not work, as linuxcnc do think the tool is still mounted! > > OK more strange stuff? > > Do M61 Q0 > > OK now all is OK in hal pin. Huh, the second "m61 q0" changes iocontrol.0.tool-number to -1. That's pretty broken. > The behavior is strange and IMHO incorrect. > > Who can solve that? I agree it's incorrect. Would love to see a test the encodes the correct behavior, followed by a fix that makes the test pass. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
