- Posts: 20
- Thank you received: 0
Spindle Orient (M19) Help
- brianbonedoc
- Topic Author
- Offline
- Junior Member
-
Less
More
10 years 5 months ago #74805
by brianbonedoc
Spindle Orient (M19) Help was created by brianbonedoc
I have my Grizzly Lathe running PathPilot version of Linuxcnc and I thought it would be fun to play around and get the spindle orient to work. BTW - the orient.ko isn't natively in PP, so I put it in the rtlib and it doesn't error when called in the .hal.
My spindle is a VFD drive w/ a quadrature encoder and everything is working, tapping, threading beautifully - except of course M19.
I am using StepGen to drive the spindle and did try to edit my .hal according to Andy Pugh's example. I finally got it to boot, but when I turn on the spindle it just maxes out the rpm no matter what the input. Also the M19 doesn't move the spindle at all.
Hopefully it's something simple I am missing.
Thanks for any help!
My spindle is a VFD drive w/ a quadrature encoder and everything is working, tapping, threading beautifully - except of course M19.
I am using StepGen to drive the spindle and did try to edit my .hal according to Andy Pugh's example. I finally got it to boot, but when I turn on the spindle it just maxes out the rpm no matter what the input. Also the M19 doesn't move the spindle at all.
Hopefully it's something simple I am missing.
Thanks for any help!
Attachment not found
Attachment not found
Please Log in to join the conversation.
10 years 5 months ago #74808
by cncbasher
Replied by cncbasher on topic Spindle Orient (M19) Help
what are you expecting M19 to achieve on a lathe? , this is usually used to orentate a stopped spindle for ATC on a milling machine or a boring tool before toolchanging, etc . commonly used for orient of a toolholder, to a toolchanger .
Please Log in to join the conversation.
- brianbonedoc
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
10 years 5 months ago #74814
by brianbonedoc
Replied by brianbonedoc on topic Spindle Orient (M19) Help
Yeah I know but I was going to mess around w live tooling a bit.
Please Log in to join the conversation.
10 years 5 months ago #74815
by cncbasher
Replied by cncbasher on topic Spindle Orient (M19) Help
i'll take a look , email me , what you need , or want to happen ,
i may need to dig deeper .
i may need to dig deeper .
Please Log in to join the conversation.
- brianbonedoc
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
10 years 5 months ago #74821
by brianbonedoc
Replied by brianbonedoc on topic Spindle Orient (M19) Help
Sarah - thanks! Basically I just want it to respond to M19 commands. I don't really have a crazy need, but I wanted to mess around trying to use some live tooling either along the X or Z axis and to be able to rotate the part. It may not really work out well because I don't have a spindle brake, it's more of a challenge to make it work. Also I was hoping to use the encoder and PID to dial in the spindle speed a bit better. I have been using the Lincurve module but it would be more eloquent to use PID feedback.
I posted the hal and ini files above. Any tips would be awesome!
I posted the hal and ini files above. Any tips would be awesome!
Please Log in to join the conversation.
Time to create page: 0.097 seconds
