Bugs item #3519235, was opened at 2012-04-18 12:33
Message generated for change (Tracker Item Submitted) made by drogge
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3519235&group_id=6744

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: G-code Interpreter
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel Rogge (drogge)
Assigned to: Nobody/Anonymous (nobody)
Summary: G96/G97 status not correctly reflected in Active Gcodes

Initial Comment:
"G97" is displayed in the Active Gcodes string, regardless of whether the 
machine is in G97 (Spindle RPM mode) or G96 (Spindle CSS mode).  To demonstrate 
this bug, which is present in 2.4 and 2.5, open a sim Axis config, home the 
machine, go to MDI.  Verify that the Active G Codes displays G97.  Then enter 
"G96 S50" in the MDI line (corresponding to CSS, 50 ft or M per min depending 
on G20/G21 settings).  G97 is still displayed in the Active Gcodes window.  It 
should be G96.
I've got a very limited understanding of what takes place under the hood, but 
it appears that settings->spindle_mode is never set, which means that 
settings->spindle_mode always returns 0, corresponding to G97.  I made some 
changes to set settings-spindle_mode mimicking the way that the G94/95 feed 
rate mode is set.  The attached patch does fix the problem.  I would appreciate 
it if someone with more intimate knowledge of the interpreter could take a 
glance at this.

This is my first time making a patch using git, so apologies in advance if I've 
not gotten it right.  I tried to follow the wiki instructions to the letter 
(pulled a copy of master, made changes, compiled, tested, committed, made the 
patch.)

Thanks!

Rogge

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3519235&group_id=6744

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to