How to. 2 or more motors on one axis. Gantry
01 Jan 2021 06:10 #193701
by nau
I had even switched Y home switches (home from Y2 connected to Y1 pin and vice versa) behaviour is same destroying-full (already smashed two sensors).
Home direction - while homing both axis comes in right direction to home switches. All of my axis have sensor connected at same side of motors. And it's works in XYZ mode just perfectly.
Frankly I don't understand one thing: all my sensors is at same side of motors, Z axis configured as -205 to 0 and search vel is positive, X axis 0 to 610 and search vel is NEGATIVE, Y axis is 0 to 1005 but search vel is POSITIVE. Where is a logic?
Replied by nau on topic How to. 2 or more motors on one axis. Gantry LinuxCNC 2.8 Master
It is impossible that connection is wrong. I've checked many times that both Y joints connected in right pins. Checked signals and joints status - all match (home-y1 -> joint1, home-y2 -> joint2 and etc).This sounds like the home switch is not connected to the right pin or the homing direction is wrong. I've been caught with similar issues heaps of times...
I had even switched Y home switches (home from Y2 connected to Y1 pin and vice versa) behaviour is same destroying-full (already smashed two sensors).
Home direction - while homing both axis comes in right direction to home switches. All of my axis have sensor connected at same side of motors. And it's works in XYZ mode just perfectly.
Frankly I don't understand one thing: all my sensors is at same side of motors, Z axis configured as -205 to 0 and search vel is positive, X axis 0 to 610 and search vel is NEGATIVE, Y axis is 0 to 1005 but search vel is POSITIVE. Where is a logic?
Please Log in or Create an account to join the conversation.
01 Jan 2021 07:51 #193705
by rodw
Tommy, I don't think that is always the case. what happens with your beloved axis if you delete kinstype=both? Joint mode is banned from my Gmocappy config and I never see joints. And why would you bother with joint mode?
Replied by rodw on topic How to. 2 or more motors on one axis. Gantry LinuxCNC 2.8 Master
+1
This sounds like the home switch is not connected to the right pin or the homing direction is wrong. I've been caught with similar issues heaps of times...
And yes, when using tandem axis ( two motors for the same axis ) LinuxCNC is always in joint mode until homed, then it switches to world mode.
Tommy, I don't think that is always the case. what happens with your beloved axis if you delete kinstype=both? Joint mode is banned from my Gmocappy config and I never see joints. And why would you bother with joint mode?
Please Log in or Create an account to join the conversation.
01 Jan 2021 07:59 #193706
by phillc54
Replied by phillc54 on topic How to. 2 or more motors on one axis. Gantry LinuxCNC 2.8 Master
Have you tried with a negative latch velocity on JOINT_1 and JOINT_2
HOME_LATCH_VEL = -0.781250
Please Log in or Create an account to join the conversation.
01 Jan 2021 08:01 #193707
by rodw
Replied by rodw on topic How to. 2 or more motors on one axis. Gantry LinuxCNC 2.8 Master
Actually, when I think back, I had similar issues and reduced all of the various homing velocities to be super slow (say 10%-20% of whatever you are using now. That lets you see whats going on...
Please Log in or Create an account to join the conversation.
01 Jan 2021 08:32 #193708
by nau
First attempt - "Home switch inactive before start of latch move j=2"
Second attempt - One of the axis had been homed
Third attempt - One more sensor smashed.
Replied by nau on topic How to. 2 or more motors on one axis. Gantry LinuxCNC 2.8 Master
I did.Have you tried with a negative latch velocity on JOINT_1 and JOINT_2
HOME_LATCH_VEL = -0.781250
First attempt - "Home switch inactive before start of latch move j=2"
Second attempt - One of the axis had been homed
Third attempt - One more sensor smashed.
Please Log in or Create an account to join the conversation.
01 Jan 2021 08:44 #193709
by phillc54
Replied by phillc54 on topic How to. 2 or more motors on one axis. Gantry LinuxCNC 2.8 Master
When you said earlier that it worked as a 3 axis config did you then try with the other Y axis as the second axis.
If you are smashing sensors then you probably should try mounting them so that cannot happen.
If you are smashing sensors then you probably should try mounting them so that cannot happen.
Please Log in or Create an account to join the conversation.
01 Jan 2021 14:00 #193723
by nau
Also i've decreased homing velocity to 5 and check what happens more clearly. Both Y drives in right direction hit sensors, stop and then it drives Y2 axis (even if both home sensor is ON).
Replied by nau on topic How to. 2 or more motors on one axis. Gantry LinuxCNC 2.8 Master
You mean swap physically pins from Y1 and Y2 axis and home switches? Yes I've swapped that and with XYZ config it works exactly fine.When you said earlier that it worked as a 3 axis config did you then try with the other Y axis as the second axis.
If you are smashing sensors then you probably should try mounting them so that cannot happen.
Also i've decreased homing velocity to 5 and check what happens more clearly. Both Y drives in right direction hit sensors, stop and then it drives Y2 axis (even if both home sensor is ON).
Please Log in or Create an account to join the conversation.
01 Jan 2021 14:37 #193725
by Clive S
Replied by Clive S on topic How to. 2 or more motors on one axis. Gantry LinuxCNC 2.8 Master
This is a stab in the dark but I would try to cut and paste the section of the ini file into a text editor then cut and paste it back.
This will guarantee that there is no hidden control codes in the file.
This will guarantee that there is no hidden control codes in the file.
Please Log in or Create an account to join the conversation.
01 Jan 2021 19:54 #193752
by rodw
Make sure the axis is deliberately skewed before homing at slow speed. What you should see is both axes proceed towards the home switch. The first one there will stop and wait until the other catches up. Then they both should back off the home switch position in unison, move forward to trigger it again, then move to the home offset position. If one side has a direction of travel wrong, or its looking for the incorrect sensor, it will sail past.
I think the only other thing to check is if it is the current version of 2.8 that you are using. If not then upgrade your config.
I think we have reached the limits of what can be done with remote trouble shooting. The unfortunate thing is that there are thousands of machines that are homing correctly so it not Linuxcnc at fault. You need to walk away for a day or two and then come back with fresh eyes, study the homing configuration docs and resolve the issue.
Replied by rodw on topic How to. 2 or more motors on one axis. Gantry LinuxCNC 2.8 Master
You mean swap physically pins from Y1 and Y2 axis and home switches? Yes I've swapped that and with XYZ config it works exactly fine.When you said earlier that it worked as a 3 axis config did you then try with the other Y axis as the second axis.
If you are smashing sensors then you probably should try mounting them so that cannot happen.
Also i've decreased homing velocity to 5 and check what happens more clearly. Both Y drives in right direction hit sensors, stop and then it drives Y2 axis (even if both home sensor is ON).
Make sure the axis is deliberately skewed before homing at slow speed. What you should see is both axes proceed towards the home switch. The first one there will stop and wait until the other catches up. Then they both should back off the home switch position in unison, move forward to trigger it again, then move to the home offset position. If one side has a direction of travel wrong, or its looking for the incorrect sensor, it will sail past.
I think the only other thing to check is if it is the current version of 2.8 that you are using. If not then upgrade your config.
I think we have reached the limits of what can be done with remote trouble shooting. The unfortunate thing is that there are thousands of machines that are homing correctly so it not Linuxcnc at fault. You need to walk away for a day or two and then come back with fresh eyes, study the homing configuration docs and resolve the issue.
Please Log in or Create an account to join the conversation.
- Trihwangyudi1990
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
02 Jan 2021 05:42 #193804
by Trihwangyudi1990
Replied by Trihwangyudi1990 on topic How to. 2 or more motors on one axis. Gantry LinuxCNC 2.8 Master
I have 2 Y axis... Now its not work after i edit INI file and HAL file...
Try to move z axis but in screen moving Y1 axis (join 2 in my hal file)
Its swaping...
This my ini and hal file
Try to move z axis but in screen moving Y1 axis (join 2 in my hal file)
Its swaping...
This my ini and hal file
Please Log in or Create an account to join the conversation.
Time to create page: 0.099 seconds