Y axis has two joints and they move in opposite directions
- norbertfarquharsh
- Offline
- Senior Member
Less
More
- Posts: 58
- Thank you received: 0
18 Jun 2019 15:06 #137190
by norbertfarquharsh
I have tried to solve this problem and looked at the ,hal and .ini file and tried different things and cannot figure why in the Y axis the joints move in opposite directions.
I will also say that I cannot get homing to work properly with the HOME_IGNORE_LIMITS set to NO as they are supposed to be.
I have edited the files greatly to get the gantry operation set up so I suspect I have errors but I cannot spot them and would appreciate any help.
I will also say that I cannot get homing to work properly with the HOME_IGNORE_LIMITS set to NO as they are supposed to be.
I have edited the files greatly to get the gantry operation set up so I suspect I have errors but I cannot spot them and would appreciate any help.
Please Log in or Create an account to join the conversation.
18 Jun 2019 15:15 #137192
by pl7i92
Replied by pl7i92 on topic Y axis has two joints and they move in opposite directions
Hi
it is best practise to give one of the Steppers a wire SWITCH
Switch from
A+ A- B+ B- to
A- A+ B- B+
only on one
YOU Can invert the DIR output pin of the one that is nearest cable
depending on what controller you got
setp parport.0.pin-03-out-invert 1
net ydir => parport.0.pin-03-out
it is best practise to give one of the Steppers a wire SWITCH
Switch from
A+ A- B+ B- to
A- A+ B- B+
only on one
YOU Can invert the DIR output pin of the one that is nearest cable
depending on what controller you got
setp parport.0.pin-03-out-invert 1
net ydir => parport.0.pin-03-out
Please Log in or Create an account to join the conversation.
20 Jun 2019 12:31 #137370
by andypugh
Replied by andypugh on topic Y axis has two joints and they move in opposite directions
As well as swapping wires or inverting the dir pin you can try setting [JOINT_2]SCALE = -6400
But only do one of these three things or they will cancel out.
But only do one of these three things or they will cancel out.
Please Log in or Create an account to join the conversation.
20 Jun 2019 12:36 #137373
by pl7i92
Replied by pl7i92 on topic Y axis has two joints and they move in opposite directions
best advise is always to
swapping wires
as it does not interfear any software calculation
swapping wires
as it does not interfear any software calculation
Please Log in or Create an account to join the conversation.
20 Jun 2019 14:53 #137388
by AgentWD40
I'm curious, where would this cause problems with the software?
Replied by AgentWD40 on topic Y axis has two joints and they move in opposite directions
best advise is always to
swapping wires
as it does not interfear any software calculation
I'm curious, where would this cause problems with the software?
Please Log in or Create an account to join the conversation.
20 Jun 2019 18:51 - 20 Jun 2019 19:05 #137407
by andypugh
Well, when I suggested a negative scale I couldn't decide whether the homing directions needed to be switched too.
In the end I decided not. But the fact that I had to think about it hints at the problem.
Replied by andypugh on topic Y axis has two joints and they move in opposite directions
I'm curious, where would this cause problems with the software?
Well, when I suggested a negative scale I couldn't decide whether the homing directions needed to be switched too.
In the end I decided not. But the fact that I had to think about it hints at the problem.
Last edit: 20 Jun 2019 19:05 by andypugh.
Please Log in or Create an account to join the conversation.
- norbertfarquharsh
- Offline
- Senior Member
Less
More
- Posts: 58
- Thank you received: 0
21 Jun 2019 14:09 #137488
by norbertfarquharsh
Replied by norbertfarquharsh on topic Y axis has two joints and they move in opposite directions
I thank you for all your comments. I am attaching my .ini and .hal files after I worked on them yesterday
Yesterday was the first I had been able to work on this.
This is a machine that had worked until I recently found out about 2.8 and downloaded it and installed it. So I was puzzled why the wiring would have gone bad. I figured I had made mistakes when I did the hand edits on the files after generating them with stepconf.
So yesterday I tried different arrangements of the inversion of the y0 and y1 joints and with both not inverted they both go in the same direction. Now all I have to do is to get the Y axis so that it goes in the right direction when it tries home.
Thanks again.
This is a machine that had worked until I recently found out about 2.8 and downloaded it and installed it. So I was puzzled why the wiring would have gone bad. I figured I had made mistakes when I did the hand edits on the files after generating them with stepconf.
So yesterday I tried different arrangements of the inversion of the y0 and y1 joints and with both not inverted they both go in the same direction. Now all I have to do is to get the Y axis so that it goes in the right direction when it tries home.
Thanks again.
Please Log in or Create an account to join the conversation.
21 Jun 2019 14:23 #137490
by bevins
Change the sign of home_search_vel. I think thats the correct one.
Homing Docs
Replied by bevins on topic Y axis has two joints and they move in opposite directions
I thank you for all your comments. I am attaching my .ini and .hal files after I worked on them yesterday Yesterday was the first I had been able to work on this.
This is a machine that had worked until I recently found out about 2.8 and downloaded it and installed it. So I was puzzled why the wiring would have gone bad. I figured I had made mistakes when I did the hand edits on the files after generating them with stepconf.
So yesterday I tried different arrangements of the inversion of the y0 and y1 joints and with both not inverted they both go in the same direction. Now all I have to do is to get the Y axis so that it goes in the right direction when it tries home.
Thanks again.
Change the sign of home_search_vel. I think thats the correct one.
Homing Docs
Please Log in or Create an account to join the conversation.
- norbertfarquharsh
- Offline
- Senior Member
Less
More
- Posts: 58
- Thank you received: 0
22 Jun 2019 14:41 #137591
by norbertfarquharsh
Replied by norbertfarquharsh on topic Y axis has two joints and they move in opposite directions
Thank you very much for that. I had printed out the homing part of the linuxcnc documentation but had not looked through it yet but I tried the change you suggested
and all is well.
and all is well.
Please Log in or Create an account to join the conversation.
12 Apr 2024 21:17 #298130
by visharc
Replied by visharc on topic Y axis has two joints and they move in opposite directions
[justify]Hello I am new here I am also facing a similar problem .I am setup my stepconf for tandem y axis (Dual y axis) when i am jogging the machine in direction it works fine but when i jog it in - direction both y axis motors moves in opposite direction and throws my gantry out of square
solution i have tried[/justify]
I have attached my ini and hal file help me out
This is the driver i am using
[/justify]
solution i have tried[/justify]
- Swapping wires on driver
- inverting Dir pin
- Putting negative scaling for one of the y motor
- changing the direction in my Driver
I have attached my ini and hal file help me out
This is the driver i am using
[/justify]
Attachments:
Please Log in or Create an account to join the conversation.
Time to create page: 0.300 seconds