Y axis has two joints and they move in opposite directions

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

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

More
7 years 4 months ago #137192 by pl7i92
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

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

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

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

More
7 years 4 months ago #137373 by pl7i92
best advise is always to
swapping wires
as it does not interfear any software calculation

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

More
7 years 4 months ago #137388 by AgentWD40

pl7i92 wrote: 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.

More
7 years 4 months ago - 7 years 4 months ago #137407 by andypugh

AgentWD40 wrote: 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: 7 years 4 months ago by andypugh.

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

Time to create page: 0.201 seconds
Powered by Kunena Forum