G17 may not be in your program but if you have M2 as program end G17 is 
applied.

http://linuxcnc.org/docs/html/gcode/m-code.html#sec:M2-M30

JT

On 9/16/2013 12:46 PM, Chris Morley wrote:
>
>> From: dro...@tormach.com
>> To: emc-developers@lists.sourceforge.net
>> Date: Mon, 16 Sep 2013 08:32:39 -0500
>> Subject: Re: [Emc-developers] Active gcode display incorrectly
>>
>> Chris,
>>
>> I bet you will find that the discrepancy is a result of the difference 
>> between interpreter's state and machine state.  The active codes are set in 
>> interpreter time, usually the state that the machine will be in right before 
>> the next tool change (queue buster).  This is a real bummer for GUI writers 
>> who want to display the machine time modal state.  Also confusing is that 
>> some codes (e.g. M30) will change modal states, so that the M30 at the end 
>> of your program will cause your active codes to display G94 and G97, 
>> regardless of the actual CSS and F/rev state of your machine.
>>
>> Rogge
>>
> In this case the state should be the same.
> eg
> g18 is active and shown before tool change.
> G18 is active but G17 is shown after tool change
> G17 is _never_ applied in this program (it's a lathe program)
>
> Yes I have code to display things differently depending on active Gcodes
> in Gscreen - for instance G95 to show IPR, but now after a tool change
> that code is gone.
>
> Chris M
>                                       
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to