Ian W. Wright wrote:
> Thanks Geert.
> 
> John, the script is working fine thank you. I have one more small 
> question - when I issue an M05 to stop the spindle, it does so instantly 
> with a jerk, is there any way to make the spindle decelerate to a stop 
> instead - it might just be kinder to the hardware..?

Ah, I know what is happening.  Stepgen normally does ramping, but the 
enable/disable input takes precedence.  The spindle step generator is 
currently being enabled and disabled by spindle-on.  That means that as 
soon as you say "turn off the spindle", the step sequence stops.

To fix that, you want to drive the stepgen.3.enable pin with the same 
signal that enables the other step generators (X, Y, and Z).  That 
signal is probably "machine-on" or something along those lines - start 
EMC, open a shell, and use "halcmd show sig" to see what signals you have.

Regards,

John Kasunich

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to