Y axis has two joints and they move in opposite directions

More
7 years 4 months ago #137488 by norbertfarquharsh
I thank you for all your comments. I am attaching my .ini and .hal files after I worked on them yesterday

File Attachment:

File Name: testbed_20...6-21.ini
File Size:3.13 KB

File Attachment:

File Name: testbed_20...6-21.hal
File Size:4.68 KB

File Attachment:

File Name: testbed_20...6-21.ini
File Size:3.13 KB
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.

Please Log in or Create an account to join the conversation.

More
7 years 4 months ago #137490 by bevins

norbertfarquharsh wrote: I thank you for all your comments. I am attaching my .ini and .hal files after I worked on them yesterday

File Attachment:

File Name: testbed_20...6-21.ini
File Size:3.13 KB

File Attachment:

File Name: testbed_20...6-21.hal
File Size:4.68 KB

File Attachment:

File Name: testbed_20...6-21.ini
File Size:3.13 KB
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.

More
7 years 4 months ago #137591 by norbertfarquharsh
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.

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago #298130 by visharc
[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]
  1.  Swapping wires on driver
  2.  inverting Dir pin
  3.  Putting negative scaling for one of the y motor
  4. changing the direction in my Driver
[justify]Note : i have tried above mentioned solution one at a time not all at once Still No success
I have attached my ini and hal file help me out
 

File Attachment:

File Name: my-mill.hal
File Size:4.49 KB
 

File Attachment:

File Name: my-mill.ini
File Size:3.17 KB


This is the driver i am using  

Your browser does not support embedded PDFs. Please download the file here: Download PDF.

[/justify]

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago #298236 by andypugh

[justify]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 [/justify]
Is there a missing word in this sentence? 

If you are saying that jogging one way works, and jogging the other doesn't, then that would seem to suggest that one motor moves in the same direction regardless of the DIR pin, and you probably need to check that. (You can check DIR with a multimeter) 

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago #298255 by rodw
Some servos have a setting to reverse the default motion direction. This may need to be set on one drive.

Please Log in or Create an account to join the conversation.

Time to create page: 0.332 seconds
Powered by Kunena Forum