I think I nailed it

what needs to be done:
- fix iocontrolv2 and iocontrol to load_tool_number() on M61
- fix interp_convert.cc to call set_tool_parameters() post M61 

Axis and #5400 now do the right thing 
M6_COMMAND is also called on M61; pass param #2: 1 if M6, 0 if M61; pass param 
#3: 0 if M6, Q-value if M61
m6demo.ngc adapted

the (uncleaned and loosely tested) patch for preview by the brave:

http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/fix-m61-param5400-wip

I'll play some more with in the evening and clean it up

I guess a modified version of this should also go into 2.4

-m


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

Reply via email to