- Posts: 4
- Thank you received: 0
Y-Gantry problems to setup
4 years 2 months ago #250450
by Onig01
Y-Gantry problems to setup was created by Onig01
Hello there,
i write here because im really frustrated. I were building a millingmachine over the last months and now im setting up LinuxCNC.
The last 2 days i tried to configure my second Y Axis. But I dont get the Config to work. (Im a complete LinuxCNC newbe)
Im using a China Bob and if i setup my machine as XYZ with the stepconf everything works fine. All and the correct motors are running but only 3 motors.
But when i try to add the second Y motor, LinuxCNC doesnt work like i want it to work. I post my ini and hal file.
Im following this guide: forum.linuxcnc.org/49-basic-configuratio...s-on-one-axis-gantry but i cant follow everything. Per example i have axis in my ini file under [TRAJ].
I tried so much. I must say, im really confused right now. Maybe some sleep will help
At this moment:
X-Motor turns right in Jogging
Y1 Motor also runs right when I Jog Y
but instead of Z my Y2 motor turns and my Z motor never turns.
I would be so happy if someone could help me to get my machine running.
Thank you very much and good night!
i write here because im really frustrated. I were building a millingmachine over the last months and now im setting up LinuxCNC.
The last 2 days i tried to configure my second Y Axis. But I dont get the Config to work. (Im a complete LinuxCNC newbe)
Im using a China Bob and if i setup my machine as XYZ with the stepconf everything works fine. All and the correct motors are running but only 3 motors.
But when i try to add the second Y motor, LinuxCNC doesnt work like i want it to work. I post my ini and hal file.
Im following this guide: forum.linuxcnc.org/49-basic-configuratio...s-on-one-axis-gantry but i cant follow everything. Per example i have axis in my ini file under [TRAJ].
I tried so much. I must say, im really confused right now. Maybe some sleep will help
At this moment:
X-Motor turns right in Jogging
Y1 Motor also runs right when I Jog Y
but instead of Z my Y2 motor turns and my Z motor never turns.
I would be so happy if someone could help me to get my machine running.
Thank you very much and good night!
Please Log in to join the conversation.
4 years 2 months ago #250458
by Clive S
Replied by Clive S on topic Y-Gantry problems to setup
I think you have these wrong.
Axis and Joint 0 is X so..... HOME_SEQUENCE= 1
Axis and Joint 1 is Y1 So..... HOME_SEQUENCE= -2
Axis and Joint 2 is Y2 So''' HOME_SEQUENCE= -2
Axis & Joint 3 is Z so HOME_SEQUENCE= 0
for a start change to above
Axis and Joint 0 is X so..... HOME_SEQUENCE= 1
Axis and Joint 1 is Y1 So..... HOME_SEQUENCE= -2
Axis and Joint 2 is Y2 So''' HOME_SEQUENCE= -2
Axis & Joint 3 is Z so HOME_SEQUENCE= 0
for a start change to above
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22015
- Thank you received: 4
4 years 2 months ago #250460
by tommylight
Replied by tommylight on topic Y-Gantry problems to setup
Also
AXES=3
not 4, there are 4 joints but 3 axes.
AXES=3
not 4, there are 4 joints but 3 axes.
Please Log in to join the conversation.
4 years 2 months ago #250462
by Clive S
Well spotted
Replied by Clive S on topic Y-Gantry problems to setup
Also
AXES=3
not 4, there are 4 joints but 3 axes.
Well spotted
Please Log in to join the conversation.
4 years 2 months ago #250463
by Onig01
Replied by Onig01 on topic Y-Gantry problems to setup
I think i found my problem....
I got 2.7.15 installed instead of 2.8...
I got 2.7.15 installed instead of 2.8...
Please Log in to join the conversation.
4 years 2 months ago #250464
by Clive S
Yes you need 2.8.. for gantry homing but the above still applies
Replied by Clive S on topic Y-Gantry problems to setup
I think i found my problem....
I got 2.7.15 installed instead of 2.8...
Yes you need 2.8.. for gantry homing but the above still applies
Please Log in to join the conversation.
4 years 2 months ago #250466
by Onig01
Replied by Onig01 on topic Y-Gantry problems to setup
Im just makeing a new stick to install 2.8.2 new.
Will write if i was lucky.
Thank you so much for answering so fast!
Will write if i was lucky.
Thank you so much for answering so fast!
Please Log in to join the conversation.
4 years 2 months ago #250494
by Onig01
Replied by Onig01 on topic Y-Gantry problems to setup
Hello togheter,
now i installed 2.8.2 and it seems like my configuration is working now.
But i have a problem with my home-signals.
I want to share pin inputs because i dont have much on the bob.
I tought to use:
Pin10 for y2 and x
Pin11 for z, y1 and my tool probe over traveling
Pin12 my tool probe
I understand, that i have to link the pin signal to a variable and then the variable to my net min-home.
I also tried something but i have a type missmatch. bit and float. I dont think i can do a typecast in linuxcnc?
Actually I try to link z and y1 signal so i could reference my z axis. (step by step i think if i can manage that the other 2 axis should be almost copy paste)
Maybe someone could look at my hal file and help me a bit?
now i installed 2.8.2 and it seems like my configuration is working now.
But i have a problem with my home-signals.
I want to share pin inputs because i dont have much on the bob.
I tought to use:
Pin10 for y2 and x
Pin11 for z, y1 and my tool probe over traveling
Pin12 my tool probe
I understand, that i have to link the pin signal to a variable and then the variable to my net min-home.
I also tried something but i have a type missmatch. bit and float. I dont think i can do a typecast in linuxcnc?
Actually I try to link z and y1 signal so i could reference my z axis. (step by step i think if i can manage that the other 2 axis should be almost copy paste)
Maybe someone could look at my hal file and help me a bit?
Please Log in to join the conversation.
4 years 2 months ago #250558
by rodw
Replied by rodw on topic Y-Gantry problems to setup
mnux2 expects a float and you are using a bit.You can use conv_u32_float on the inputs but you would also need to convert the outout back to a bit as well using conv_float_u32
Please Log in to join the conversation.
4 years 1 month ago #251127
by andypugh
Replied by andypugh on topic Y-Gantry problems to setup
Rather than use mux2 and lots of float conversions, use mux_generic and configure as bit-type in and out.
Please Log in to join the conversation.
Time to create page: 0.104 seconds
