Well after a lot of editing, and restarting machinekit (linuxcnc) I have 
someting working.

https://youtu.be/-7O3b34jQpM

The hal and inifile is attached. the halfile has to be edited back to 
machinekit standard :-)

/niels


On Sunday, June 12, 2016 at 11:11:18 PM UTC+2, Niels Jalling wrote:
>
> Hi
>
> I have a small lathe with a spindle driven by a Leadshine Hybrid Servo 
> Drive. The servo drive is controlled by step/dir signals, 
>
> Now I am trying to make the spindle act both as a lathe-spindle or an 
> indexer for some milling operations.
>
> I have found a few examples on the linuxcnc forum but they don't work for 
> me.
>
> Any help appreciated.
>
> /Niels
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Attachment: Spindle-or-A.hal
Description: Binary data

Attachment: Spindle-or-A.ini
Description: Binary data

Reply via email to