- Posts: 23
- Thank you received: 0
Remote start button
I am adding an indexer to a new Haas VF4 at my work. We couldn't justify a full fourth axis from Haas
I have an old 4th axis I will just use as an indexer. I couldnt find a easy place to interface to the haas control.
I planned on just putting a switch inside the so the Haas would go over and push the button when one side
of the part was complete. Linux would just rotate (x)degrees everytime the tool pushes the button.
(we are drilling nearly 8000 holes radially around a tube so dont really want to stand there and push start
Just a point in the direction in the docs would be great
I did look at the run\ pause run example in the forum here but its more than I need
Thanks in advance
Terry
Please Log in to join the conversation.
The code is here (but make sure you do the update mentioned in the thread)
www.homemodelenginemachinist.com/threads...le-controller.25091/
More recently there was a suggestion that you might be able to use a M40 on a Fanuc control to trigger a relay but the Arduino would need to return another signal to signify the indexing was completed. If your machine has this feature, I think this would be a fairly simple modification to the code in the GoDivide() function combined with a hardware interrupt to see the relay come on.
This seems to be exactly what you need... I think you'd have to pay attention to the indexer gearing as on a 90:1 rotary table with a 1.8 degree stepper, you have 18,000 discrete steps (or 180,000 with 10x microstepping). but with 8,000 holes, that is 2.25 stepper steps per division. The indexer will then step 2 steps per division until it accumulates a full step of error when it will add one step to the next division. With 10x microstepping, there would be 22.5 steps per division so every second step , it go 23 steps but I'm not sure how accurate position holding would be. 0.9 degree stepper would be better..... But maybe you have a servo on your indexer....
Please Log in to join the conversation.
www.haascnc.com/productivity/control/8m.html
You can do this!
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
On the other side, an arduino, a tiny monitor, some buttons or an encoder, power supply, time to program it, etc will quickly get over the price of a used computer that runs Linuxcnc nicely.
What kind of motor/drive does the 4th axis use ?
Did not see any of the answers, i open a bunch of tabs and read through, so by the time i got to read this Rod was already here !
Thank you.
Please Log in to join the conversation.
I don’t need any stepper lessons cause it’s a servo 4th axis
It’s not 8000 holes in one radial circle there are rows of about 250
It’s a new Haas so I’m not going to mess with any wiring in the back.
I know there is plenty of M functions on the Haas control but not necessary.
I’ve already have a functioning 4th axis just need the remote start button.
Please Log in to join the conversation.
net cycle-start <= hm2_5i25.0.7i77.0.0.input-12 halui.mode.auto halui.program.run
Please Log in to join the conversation.
input.xx halui.mode.auto halui.program .run— this is what I needed
I’ve been using LinuxCNC for at least 10 years on a Hurco VMC and a HardingeHNC. Just never used a separate start button, always used a keyboard. I tried to avoid asking this simple question as not to look dumb.
I’ve met Chris Morley, Andy Pugh, Jon Elson when at Stuart’s place. Hope they don’t see this.
Please Log in to join the conversation.
The M code relay could be your start button and it would be simple to assert another signal at the end of your g code program.
Think about the improvements in run time you would achieve. No need to waste time moving to press a switch and no risk of indexing before a cycle is complete. Just insert an M code and the machine will patiently wait for your indexing to complete and resume operation.
Please Log in to join the conversation.
I was hoping at least M7(mist coolant)was there because that’s not an option code, thought there would at least be a place to hook something up. Looked to me if you didn’t order it it’s not there. I’ll look again. Only thing he let me do wiring wise was bypass the door interlocks. They don’t make that easy anymore
Please Log in to join the conversation.
tcninja wrote: I looked in the back at the relay area
I was hoping at least M7(mist coolant)was there because that’s not an option code, thought there would at least be a place to hook something up. Looked to me if you didn’t order it it’s not there. I’ll look again. Only thing he let me do wiring wise was bypass the door interlocks. They don’t make that easy anymore
Ah well it was a good idea!
Please Log in to join the conversation.
