- Posts: 69
- Thank you received: 0
VMC related HAL questions.
But I also noted that I need to home the spindle(?) because where it's at when I start linuxcnc is going to be 0 deg. And that is no problem unless someone (me) rotates the spindle by hand when the machine is turned off..
Any ideas?
Please Log in to join the conversation.
thewho wrote: Yay, I can activate outputs from MDI :woohoo:
But I also noted that I need to home the spindle(?) because where it's at when I start linuxcnc is going to be 0 deg. And that is no problem unless someone (me) rotates the spindle by hand when the machine is turned off..
Any ideas?
Ah, yes, you have just reminded me of something else on my list of things to do when I get round to it.
I intend to add the spindle to the homing sequence.
sourceforge.net/p/emc/mailman/message/34441533/
What is required is to set the spindle-index-enable to true, then rotate the spindle until it goes false.
Until this is added to the homing sequence I think it will have to be done by cunning and guile.
The spindle-index-enable signal can be set true in the HAL file:
You then need to ensure that the spindle rotates once through index to reset the encoder.
Adding a sequence of fixed direction moves to the toolchange G-code is probably the best way to do this.
Note that this won't necessarily work properly if the motion.spindle-orient-mode pin is not netted to the orient.0.mode pin. I forgot to do that in the sample HAL file.
Please Log in to join the conversation.
I finally learned the basics of hal and got the spindle orient routine to work really good. I had to limit the output so that I could get a fast response without excessive overshoot.
There is still work to be done in the subroutine but I'm really close to being satisfied with it :whistle:
Please Log in to join the conversation.
That is the same machine I have
Please Log in to join the conversation.
Today I'm running the first parts on the machine and found something that I have overlooked previously.
If tool in spindle is the required one it still does a toolchange.
I don't want to screw something up (did enough of that two days ago) so I'm asking before I try anything :whistle:
Will this work?
Please Log in to join the conversation.
sspeed33317 wrote: Do you know who this is?
I think it is Awetmore
My post missed the quote the first time. That video is the same machine as mine. I tried to search his name but couldn't come up with anything. I'm curious how he approached getting the tool changer working on his.
Please Log in to join the conversation.
thewho wrote: Today I'm running the first parts on the machine and found something that I have overlooked previously.
If tool in spindle is the required one it still does a toolchange.
You probably always want to do the tool retract, just so the approach move is always the same.
Please Log in to join the conversation.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
- Posts: 22012
- Thank you received: 4
Or am i missing something ?
Please Log in to join the conversation.
tommylight wrote: Well it is 5:42 AM here and i have not slept yet, but that sure looks like a dot.
Or am i missing something ?
resubscribing to the topic so it shows up in my topics. The new software flushed all that on me.
Please Log in to join the conversation.
