Y-Gantry problems to setup
- Onig01
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 1
25 Aug 2022 20:37 #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 or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2239
- Thank you received: 474
25 Aug 2022 21:22 #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 or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19471
- Thank you received: 6530
25 Aug 2022 21:28 #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.
The following user(s) said Thank You: Clive S
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2239
- Thank you received: 474
25 Aug 2022 21:34 #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 or Create an account to join the conversation.
- Onig01
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 1
25 Aug 2022 21:35 #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 or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2239
- Thank you received: 474
25 Aug 2022 21:37 - 25 Aug 2022 21:38 #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
Last edit: 25 Aug 2022 21:38 by Clive S.
Please Log in or Create an account to join the conversation.
- Onig01
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 1
25 Aug 2022 21:39 #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!
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- Onig01
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 1
26 Aug 2022 08:32 - 26 Aug 2022 08:32 #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?
Last edit: 26 Aug 2022 08:32 by Onig01.
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10789
- Thank you received: 3554
27 Aug 2022 04:10 #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 or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
03 Sep 2022 19:17 #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.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
Time to create page: 0.068 seconds