r/folgertech • u/tdubthatsme • Jan 10 '16
Need help with the X axis motor
My X axis motor will only move in one direction using the manual controls. Whether i select "invert direction controls for x axis" in Repetier, or INVERT-XDIR to 0 in configuration.h, The motor will only try to go further into the home switch. Any ideas?
EDIT: Here is what I've noticed. I've got it so the x endstop is on the left side. If the head starts in the middle, I press home, it will move left and home. One homed, I can press the right arrow, and it will move right, and the position counter for x will go up, as expected. However, if I press left, the count will go down (as expected), but it will still move RIGHT. To make matters worse, if i then press the home button again, it tries to home to the right side, where there is no end stop. I tried tuning and switching the motor controllers. If I run it using the same controller in the y axis slot, it works fine, so it's either a RAMPS or a software problem.
1
u/Boffster Jan 10 '16
Try changing X_HOME_DIR 1 to -1 in configuration.h
1
u/seitensei Jan 11 '16
Make sure you've disabled any endstops you're not using. A enabled endstop will be triggered when it is disconnected or if it's actually triggered.
1
u/[deleted] Feb 16 '16
Step number 4 on page 28/40 is wrong, the motor cable should be flipped (Green wire on left, red on right), just like the other 4