Spindle as Joint or Spindle

More
3 years 7 months ago #266908 by GaryLa
Replied by GaryLa on topic Spindle as Joint or Spindle
I was going to try the sim_encoder approach this weekend, but I think you just saved me some bother and time.

Thanks!

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #266941 by andypugh

... Some info here too: wiki.linuxcnc.org/cgi-bin/wiki.pl?SpindleOrient

EDIT: But then maybe not.... humpff...  All this was for spindle orientation, not the same thing as spindle as C axis... My bad.
image missing /media/kunena/emoticons/unsure.png
A C-axis version would look much the same. Just with joint.3.motor-pos-cmd as the control rather than spindle.0.orient-angle (or whatever that pin is, I am in the Apple store killing time :-)
 
The following user(s) said Thank You: JPL

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago #266942 by andypugh
Also, there is a HAL component that can create "fake" index for step-dir controlled drives without encoder.

forum.linuxcnc.org/24-hal-components/388...or-simulation#223508
The following user(s) said Thank You: GaryLa

Please Log in or Create an account to join the conversation.

More
3 years 7 months ago - 3 years 7 months ago #266946 by GaryLa
Replied by GaryLa on topic Spindle as Joint or Spindle
JPL pointed out that thread, too. I reviewed it and it looks perfect. Thanks for writing that.

If you're interested in using andy's code, I've added some notes on using it with MESA boards.

Fake Encoder for Spindles as Steppers
Last edit: 3 years 7 months ago by GaryLa.

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum