> Now there is one more thing I would need to add to my spindle section in hal, 
> and that is "Spindle at speed" future (machine waits for spindle to reach 
> rpm's).
> I found this guide for implementing this:
> http://linuxcnc.org/docs/html/examples/spindle.html (section 5 & 6.2)
> 
> As I have a bit different case (using sptepgen), I would need some help what 
> and where to use it.
> 
> Here is my section for running spindle:
> 

http://www.linuxcnc.org/docs/2.5/html/drivers/hostmot2.html#_pins_3

stepgen has a pin velocity-fb

compare velocity feedback to the commanded velocity, that gets you spindle at 
speed.

connect your spindle display to velocity-fb, that gets you a ramped display.

While it is still open loop, it's reasonable to expect the spindle motor is at 
the RPM the stepgen
says it is.

You may need to adjust the units on the commanded and stepgens velocity-fb.
May be other little details but you get the idea.

Chris M
                                          
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to