Welcome! Log In Create A New Profile

Advanced

[Help] Motors only moving one direccion after homing.

Posted by doser_fu 
[Help] Motors only moving one direccion after homing.
January 23, 2016 03:56PM
Hi,

I'm new to 3d printers, i am building a P3Steel and i have ended in a very weird issue.

After connecting and reconnecting everything to ramps 1.4 to assure myself everything was ok, endstops changed just in case (they were ok) i still have the same problem. Im working with Arduino Mega + Ramps 1.4 + Nema 17 motors and mechanical endstops, firmware is Marlin.

All axis will go home, touch the endstop and stop, X=0 Y=0 Z=0 but when i try to move positive values in pronterface the thing goes towards the endstop, it adds positive values and i can go back but it will only move in the same way, towards the endstop and pushing it....

Any ideas? Hope someone can helpme!

Thanks!!!!
Re: [Help] Motors only moving one direccion after homing.
January 23, 2016 08:03PM
Lots of things to check..

1) Identify position of endstops
Depending where your endstops are they are either min or max endstops
X axis Min endstop is on the left, Max endstop is on the right
Y axis Min endstop us at the back, Max endstop is at the front
Z axis Min endstop is down, Max endstop is at the top

2) set you firmware appropriately
Now you have identified which are min and which are max endstops set the firmware to know this
ie Find and set the following to match your hardware.
// Sets direction of endstops when homing; 1=MAX, -1=MIN
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

3) Hardware plugs.
If you have a ramps style controller you need have the min endstops on min endstops pins and max endstops on max endstop pins.
Move as appropriate to match your hardware

4) Direction of travel
X axis: + movement moves the head right, - movement moves the head left
Y axis: + movement move the bed forward, - movement moves the bed back
Z axis: + movement moves the head up, - movement moves the head down
If any are incorrect find
#define INVERT_X_DIR
#define INVERT_Y_DIR
#define INVERT_Z_DIR
And change from true to false and from false to true on any axis that is backwards.

5) Check your endstops work.
Check each endstop actually works.
Send a M119 to the printer, this will show you what the printer sees as the endstop status
When the endstop is not being activated it will be shown as open
When the endstop is being activated it will be shown as triggered
Check both states for each endstop.

In normal operation any endstops that say Triggered, you cant move in that direction.

Edited 2 time(s). Last edit at 01/23/2016 08:10PM by Dust.
Re: [Help] Motors only moving one direccion after homing.
January 23, 2016 08:09PM
I've already checked all that...

I'm starting to beleive my ramps has something wrong...

Thanks for your reply winking smiley

Edited 1 time(s). Last edit at 01/23/2016 08:09PM by doser_fu.
Re: [Help] Motors only moving one direccion after homing.
January 23, 2016 08:15PM
It actually executes the "Home" ok, it finds 0 0 0, i move it +1 and it moves -1 (counts as +1 in soft) then i can go go back -1 and goes back to 0 on soft but keeps on stepping towards the endstop, pushing it...
Re: [Help] Motors only moving one direccion after homing.
January 23, 2016 08:17PM
Post your configuration.h to pastebin.com and link to it here... so we can take a look

There is a direction pin on each pololu modules... it just goes directly to a mega IO pin.
but the likelihood of all 3 of them being dead... is remote.

It does sound like you haven’t done step 4 above...

Edited 2 time(s). Last edit at 01/23/2016 08:20PM by Dust.
Re: [Help] Motors only moving one direccion after homing.
January 23, 2016 08:20PM
[pastebin.com]

Thanks for ur time smiling smiley winking smiley
Re: [Help] Motors only moving one direccion after homing.
January 23, 2016 08:27PM
I cant do step 4 because before "homing" motors will only move in the home direction, and when home is done... things are not happening as they should...! :/
Re: [Help] Motors only moving one direccion after homing.
January 23, 2016 09:31PM
Something to try...

physically move the X axis to a central position

send the printer a "G92 X100" (make the printer think its at X=100)
send the printer a "M119" (show endstop status, and past results here, X endstops should be open)
send the printer a "G90" (Set to Absolute Positioning)
send the printer a "G1 X110 F300" (this should move the X axis to the right 10mm, slowly)
What does it do for you?
send the printer a "G1 X100 F300" (this should move the X axis to the left 10mm, slowly)
What does it do for you?

If both of these moves move in the same direction, then yes It sounds like you have a hardware fault

Edited 1 time(s). Last edit at 01/23/2016 09:44PM by Dust.
Re: [Help] Motors only moving one direccion after homing.
January 23, 2016 10:30PM
Both in the same way... 10mm back, 10mm back

hardware then?

Thanks, your are prooving im not completely mad... smiling smiley
Attachments:
open | download - Captura de pantalla 2016-01-24 a las 4.28.10.png (226.3 KB)
Re: [Help] Motors only moving one direccion after homing.
January 25, 2016 09:33AM
uhmmm... i just changed the Ramps and the arduino for new ones... problem still here... :/

Motors? (all?)

Please help! sad smiley
Re: [Help] Motors only moving one direccion after homing.
January 25, 2016 10:02AM
Its not likely to be motors (you can turn the motor plugs around 180 and they will move in the revere direction (NEVER unplug steppers while the power is on)

bad soldering on pololu modules?

If you look at [www.pololu.com] you will see the direction line in one of the corners... check the soldering on the corner pins

The only other option is firmware... where did you get your firmware? [github.com] ?

Maybe a bad eeprom setting? that can cause all sorts of weird issues.. nope checked your configuration.h, you have that disabled...
Re: [Help] Motors only moving one direccion after homing.
January 25, 2016 10:13AM
I'll check pololus as soon as i can...

Firmware is from the one that sold me the kit...

thankss!
Re: [Help] Motors only moving one direccion after homing.
January 25, 2016 02:08PM
mmm... it looks as the problem is at the firmware... pololus are ok...

i dont have a clue of whats happening.... :/
Re: [Help] Motors only moving one direccion after homing.
January 25, 2016 07:55PM
So grab a fresh copy of the firmware from [github.com]

You could try copying your old configuration.h over the default one. But I would backup the default one first

Compile and upload it
Re: [Help] Motors only moving one direccion after homing.
January 27, 2016 03:41AM
Sorry, pololus are fried... i dont know when, but sometime along the test/error trip i must have burned them... (adjusting them with a metal screwdriver maybe...) just changed them and it works. Should've tested new pololus a long time ago... :/

Thanks for your time and knowledge smiling smiley
Re: [Help] Motors only moving one direccion after homing.
January 27, 2016 04:15AM
Pololus normally die a lot more catastrophically than that..

At least your now moving forward (and backwards!) tongue sticking out smiley .

Edited 1 time(s). Last edit at 01/27/2016 04:15AM by Dust.
Re: [Help] Motors only moving one direccion after homing.
April 30, 2016 08:28AM
Hola, perdon, pero probastes verificar las conexiones del motor, yo tenia uno que me giraba siempre para el mismo lado y era la conexion de sus bobinas.
Saludos
Sorry, only registered users may post in this forum.

Click here to login