Michael is absolutely correct about this: " ...so Andy's scheme will report the last offset active, not the current one being used relative to execution"
In fact, any attempt to display the G5x offset, the spindle S command, or the feedrate F command, the modal G94/95 (feed per unit/feed per rev), G96/G97 (RPM/surface speed) that is current with respect to the motion of the machine will fail because these variables are set during the interpretation of the NGC file. The last values used before a "queue-buster" (e.g. tool change, probe, M66) are the ones that will be displayed the moment the run button is pressed. Rogge -----Original Message----- From: Michael Haberler [mailto:mai...@mah.priv.at] Sent: Thursday, June 07, 2012 12:36 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] Work Coordinates 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 ------------------------------------------------------------------------------ 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