Bugs item #2891275, was opened at 2009-11-03 15:19
Message generated for change (Comment added) made by micges
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=2891275&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: Motion Controller
Group: None
Status: Open
Resolution: Accepted
Priority: 6
Private: No
Submitted By: Dale Grover (dalegrover)
Assigned to: John Kasunich (jmkasunich)
Summary: m3 preceded by s0, further sNNN ignored

Initial Comment:
If speed is set to 0 (s0) either explicitly or when EMC is first started, m3 / 
sNNN will not turn on the spindle.  E.g., s1000 m3 / m5 / s0 / m3 / s1000.  
Radek suggested looking at code in function emcSpindleSpeed() in taskintf.cc, 
specifically "taskintf.cc:1377:  if (emcmotStatus.spindle.speed == 0) return 0; 
//spindle stopped, not updating speed".  Since logging (2009-11-02.txt) was not 
enabled at the time for emc-devel, here's part of the IRC comment:
cradek: it's possible you could paper over this, but a thorough fix (IMO) would 
be to make motion's commands more closely represent task's canonical commands 
(which are fairly well matched to how the gcode works)
[12:50pm] cradek: this is not the first bug of this style
[12:51pm] cradek: since "set the css offset" is part of the "turn the spindle 
on" message, we had a bug where changing tools and loading a new TLO would 
incorrectly start the spindle!  clearly (IMO) they should be separate messages 
that more closely represent how the gcode works

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

>Comment By: Michael (micges)
Date: 2010-03-03 19:31

Message:
I've just noticed that sending m4 without S1000 will set NML emcStatus
fields .brake and .direction  field correclty.
And those filelds will be inconsistent with hal pins values.

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

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

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to