Spindle Orient (M19) Help
- brianbonedoc
- Offline
- Junior Member
-
Less
More
- Posts: 33
- Thank you received: 2
18 May 2016 04:30 - 18 May 2016 04:31 #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!
Last edit: 18 May 2016 04:31 by brianbonedoc.
Please Log in or Create an account to join the conversation.
18 May 2016 10:08 #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 or Create an account to join the conversation.
- brianbonedoc
- Offline
- Junior Member
-
Less
More
- Posts: 33
- Thank you received: 2
18 May 2016 13:50 #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 or Create an account to join the conversation.
18 May 2016 14:08 #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 or Create an account to join the conversation.
- brianbonedoc
- Offline
- Junior Member
-
Less
More
- Posts: 33
- Thank you received: 2
18 May 2016 17:48 #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 or Create an account to join the conversation.
02 Oct 2018 15:00 #118355
by tivoi
Replied by tivoi on topic Spindle Orient (M19) Help
check RTLIB, pp don't have orient rtlib
loadrt orient names=orient
addf orient servo-thread
loadrt orient names=orient
addf orient servo-thread
Please Log in or Create an account to join the conversation.
Time to create page: 0.122 seconds