ok - just so I understand correctly what the goal is: a) the Interpreters perception of tool number (#5400 ff), the UI display of same and both halui.tool.number and iocontrol.0.tool-number shall reflect the 'Q' argument after an M61Qx (y/n)
b) an M61Qx will also load tool offsets for tool <x> as offsets of the current tool (y/n) c) are you in the dark just as me what an M61Qx does when RANDOM_TOOLCHANGER=1 (y/n ;-) Options for c): ignore/make an error/suggest to me what should be done wrt toolchange-in-gcode-subroutines, the fix I'm looking at will be to call the M6_COMMAND sub with a third parameter which will indicate "I'm just an M61 and am just mean to set the tool number and not rattle the hardware' so things can be tracked at the gcode level this should take care of the following bug report: > I just installed the emc2-dev-9b416ba and tried out the tool Changing > stuf. At first look it seems to work perfekt for my aktuell project of > rebuilding an Heckler & Koch BA-20. Unfortunately on this machine it is > not posible to get the tool out of the spindle without using the tool > changer, becaus it is a mechanical system. > > For that reason there will be everytime a tool in the spindle while > shutting down the machine. So when switching on the machine, I home all > axis and then I set the tool using M61 Q5 to tell EMC that tool 5 is in > the spindle. After this I want to make a toolchange and the machine have > to drob tool 5 in pocket 5. > > halshow says iocontrol.0.tool-number is set to 5 as it should be, but > using owordm6-ui.ini the tool-number will remain 0 in the panel and > #5400 will remain 0 also. > > Should this be corrected? the issue seems to be that only _setup.current_pocket is set from the Q parameter - it looks some more action is needed -mah Am 24.03.2011 um 08:15 schrieb Michał Geszkiewicz: > It's a bug. > I've tried to fix it some time ago but with no success. > > regards, > Michael > > Michael Haberler pisze: >> I am puzzled by the behaviour of M61 (or unsure what it actually is supposed >> to do). >> >> If I run say emc axis_mm.ini in configs/sim, turn on/home and in MDI: >> >> - execute T3M6: >> halui.tool.number and iocontrol.0.tool-number both are 3 >> Axis shows 'Tool 3' in status line >> parameter #5400 returns 3.0 >> >> looks good so far. >> >> - execute 'M61 Q2' which is supposed to 'set the tool number' >> halui.tool.number and iocontrol.0.tool-number both are 2 >> >> BUT: Axis still shows Tool 3 (!), and #5400 still is 3 (!) >> >> is that intentional, or a bug? I assume Axis should display 'Tool 2' and >> #5400 become 2? >> >> >> tried both on master and 2.4.6, identical results >> >> -Michael >> >> >> ------------------------------------------------------------------------------ >> Enable your software for Intel(R) Active Management Technology to meet the >> growing manageability and security demands of your customers. Businesses >> are taking advantage of Intel(R) vPro (TM) technology - will your software >> be a part of the solution? Download the Intel(R) Manageability Checker >> today! http://p.sf.net/sfu/intel-dev2devmar >> _______________________________________________ >> Emc-developers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/emc-developers >> >> >> > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
