LinuxCNC as 4th axis indexer controller
- owen
- Offline
- New Member
-
- Posts: 3
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23321
- Thank you received: 4948
Please Log in or Create an account to join the conversation.
- owen
- Offline
- New Member
-
- Posts: 3
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23321
- Thank you received: 4948
I think it would take a long time to make the arduino controller have a user friendly interface for setting up an indexer job. .
I was anticipating that there wouldn't need to be a GUI, as the Haas would do all the communication.
But, if the Haas can only send a pulse, it would be relatively easy to use a switch connected to Arduino GPIO to choose 45, 10, 5, 3, 2, 1 degree indexing intervals.
Please Log in or Create an account to join the conversation.
- owen
- Offline
- New Member
-
- Posts: 3
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23321
- Thank you received: 4948
I was under the impression that that I could set up a simple Linuxcnc computer that has an input signal from the haas to trigger a move and an output to the haas after the move.
Yes you almost certainly can. It just seems a lot of computing hardware just for an indexer.
Yes, a simple G-code sub with wait-on-input watching a GPIO pin trihhered by the HAAS.From reading some of the Linuxcnc documentation this seams to be within it's capability without writing any custom code right?
I just want to start the linuxcnc program before the haas program and have it wait for the mcode signal before it makes any moves. I'm not sure I see what would make the arduino easier considering that I would have to write the code.
The Arduino could just sit in the controller box and not need a GUI, monitor, power supply, hard-drive.... or any further interaction.
How many digital outputs does the HAS have? You could have it pulse one output for 1 degree and another for 10 degrees. (and maybe a third for reverse rotation)
Please Log in or Create an account to join the conversation.
- bevins
-
- Offline
- Platinum Member
-
- Posts: 1944
- Thank you received: 337
Please Log in or Create an account to join the conversation.