I dont think these ideas will work/produce sensible results - Andy's idea conveys the readahead-time setting of #5220 - halui wont be able to report anything useful because the emctstatus message doesnt contain that value (#5220)
the way I understand it all offsets (coordinate, tool, axis) are solved during interpretation of the NGC file in the canon layer and motion never sees them - this could well be finished before the machine starts moving (this is an issue and discussions are underway how to change that, but there will be nothing tangible for at least a year IMO because the changes will be massive, and structural, not just a quick fix) so Andy's scheme will report the last offset active, not the current one being used relative to execution the only workable solution I see to this problem for now is to generate a new canon message, or tack on the #5220 value onto a fitting existing message, because this will be queued and arrive at motion 'in time' - Michael Am 07.06.2012 um 11:35 schrieb andy pugh: > On 6 June 2012 19:29, andy pugh <bodge...@gmail.com> wrote: > >> O100 IF [#5220 EQ 1] >> M66 E0 Q#5221 >> M66 E1 Q#5222 >> … >> O100 ENDIF >> O101 IF [#5220 EQ 2] >> M66 E0 Q#5241 > > > Actually, I think that you can skip the IF statements because numbered > parameters can be indirected > > M66 E0 Q#[5211 + 10 * #5220] ; 5211 because #5220 is always at least 1 > M66 E1 Q#[5212 + 10 * #5220] > M66 E2 Q#[5213 + 10 * #5220] > M66 E3 Q#[5214 + 10 * #5220] > > > -- > atp > If you can't fix it, you don't own it. > http://www.ifixit.com/Manifesto > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users