Configurate Slave Axis
Are you saying that this could be done in Linuxcnc and if so would you have the time to point me to the correct way to do it?
Yes, you can do exactly the same thing in LinuxCNC. I don't think that it is 100% the right thing.
It's _nicer_ in the joints_axes4 version of the development branch, but in the current release version you need to set up [AXIS_A] to have the same homing sequence number as [AXIS_Y] (or X, depending on the gantry) then copy and paste the stuff from the configs/gantry/gantry.hal HAL file that mentions gantrykins into your HAL file, replacing the reference to trivkins.
Please Log in or Create an account to join the conversation.
Yes, you can do exactly the same thing in LinuxCNC. I don't think that it is 100% the right thing.[/quote]
Is there a more correct way to do it that you know of or is this the best I can hope for at the present time.
I will have a go with Linuxcnc and see if I can fathom it out. Thanks yet again Andy. ..Clive
Please Log in or Create an account to join the conversation.
Is there a more correct way to do it that you know of or is this the best I can hope for at the present time.[/quote][quote="andypugh" post=42330
Yes, you can do exactly the same thing in LinuxCNC. I don't think that it is 100% the right thing.
Well... I have just been discussing Mach3 and LinuxCNC on the IRC, and it seems that Mach3 might be a little better.
The two packages work in very similar ways, broadly. One difference is that Mach3 apparently stops the first joint that hits a switch until the second joint hits the switch and stops. Then they do a synchronised stop on the latch move too.
At the moment LinuxCNC allows the first side to hit the switch to start it's latch move immediately. This is probably acceptable, as it probably won't make the racking actually any worse, even though the two sides may be travelling in different directions.
Where there is a possibility for things to go wrong with LinuxCNC is the rapid move to the home position after the latch. If one side is doing a rapid and one is still latching, then it could be rather bad. The answer here is to have the HOME position be very close indeed to the latch position, so that the rapid move is tiny.
Please Log in or Create an account to join the conversation.
Where there is a possibility for things to go wrong with LinuxCNC is the rapid move to the home position after the latch. If one side is doing a rapid and one is still latching, then it could be rather bad. The answer here is to have the HOME position be very close indeed to the latch position, so that the rapid move is tiny.
Thanks for the full explanation Andy that really helps. I do have my home position close to the switches as once homed you can then send it anywhere you like.
I will have to have a good think about it but I hope it is going to be on the a gender for the future. ..Clive
Please Log in or Create an account to join the conversation.
Does anyone have this two drives one axis set up working on a gantry router? Which I suspect would be the most common situation. I wont have anything I could test with until I have a project that needs/forces me to put the router together. (Stored, space limitations) It had a central screw driving the gantry. But that is going away, many issues. So I am while the winter is slowing things down, I am getting up to speed on LinuxCNC. I have to remember that change too.
Please Log in or Create an account to join the conversation.
Does anyone have this two drives one axis set up working on a gantry router?
I don't, but many people do.
You can experiment with how it "feels" using the supplied sample configs.
Please Log in or Create an account to join the conversation.
- viesturs.lacis
- Offline
- Premium Member
- Posts: 108
- Thank you received: 4
Does anyone have this two drives one axis set up working on a gantry router?
I have built/retrofitted 2 gantry machines for myself and built 3 gantry machines for my customers. What kind of advice is needed?
Basically setting up LInuxCNC for gantry machine is easy. The only difference is loading appropriate kinematics module. Gantrykins is already included, but you always can create your own module to have whatever axis <--> joint mappings you need.
For gantrykins this might be useful to take a look at:
linuxcnc.org/docs/html/man/man9/gantrykins.9.html
Using gantrykins is not that easy. There are several things to take into account for safe use of the machine:
1) pay _special_ attention to remember to switch to world mode after homing not to accidentaly jog machine in joint mode only one of the gantry joints, which, depending on machine, can cause some damage;
2) executing MDI commands by triggering HALUI pins will leave machine in joint mode after command is completed; see previous point for potential consequences; switching to world mode is always available.
I myself have done these mistakes so many times that now I check for 3 times that machine is in correct mode after any of these 2 actions - homing or mdi though halui.
I think that there was something else, but these are things that annoy me most.
Other than that gantrykins does its job nicely.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Using gantrykins is not that easy. There are several things to take into account for safe use of the machine:
1) pay _special_ attention to remember to switch to world mode after homing not to accidentaly jog machine in joint mode only one of the gantry joints, which, depending on machine, can cause some damage;
2) executing MDI commands by triggering HALUI pins will leave machine in joint mode after command is completed; see previous point for potential consequences; switching to world mode is always available.:
This alone would put me off if it can't be solved with Linuxcnc as it is an accident waiting to happen. It has to be automatic surely ..Clive
Please Log in or Create an account to join the conversation.
I just slave the two axis together in hal, I have solid stops that can be checked to make sure it has not drifted and the machine is parked against them when shutting down.
Rick G
Please Log in or Create an account to join the conversation.