1

Topic: stepper motors will only move in one direction?

Hi I am build a new printer (smartone 200)  I have a ramps 1.4 board and my stepper motors will only move in one direction?  any ideas?

2

Re: stepper motors will only move in one direction?

hansen644 wrote:

Hi I am build a new printer (smartone 200)  I have a ramps 1.4 board and my stepper motors will only move in one direction?  any ideas?

The logic on your endstops are wrong. Just work on only one axis till it works then use those settings on the others.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

3

Re: stepper motors will only move in one direction?

Thanks I got the motors to move, but the endstops are not working?  not sure what setting to make the  ends stops?

4

Re: stepper motors will only move in one direction?

hansen644 wrote:

Thanks I got the motors to move, but the endstops are not working?  not sure what setting to make the  ends stops?

So lets start with basics. Are your endstops optical or mechanical? Do you only have lower limit endstops as in home or do you have max limit as well. So is there only one per axis or two?

With all axis in the home position send an M119 command through a terminal window such as Pronterface and tell me the current endstop status it reports back.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

5

Re: stepper motors will only move in one direction?

HI I have uploaded marlin firmware and the LCD screen now works but the stepper motors only turn one direction.
I have one mechanical end stop per axis.  I will download pronterface and let you know. what the status says.  I do know on the LCD it says endstops maxed or something that that it said.  So I am guess it is a end stop issue in the firmware.

6

Re: stepper motors will only move in one direction?

pronterface says    echo:endstops hit:  X:0.01

7

Re: stepper motors will only move in one direction?

Ok been working on it and now got it back on repetier firmware. all seems to work now but  the X axis endstop. And the z endstop works opposite.  I have the z end stop toward the bottom near my glass bed and the z endstop works when the z is going up and I manually press the end stop.  Now sure how to fix that yet.  ideas?  the X endstop nothing seems to happen at all. but it did in marlin firware?

8

Re: stepper motors will only move in one direction?

hansen644 wrote:

pronterface says    echo:endstops hit:  X:0.01

When all axis are in home position, type M119 then click send in the small box bottom right then report back the endstop status there should be three to six positions reported. Not one.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

9

Re: stepper motors will only move in one direction?

its says ok 0
x_min:L y_min:L z_min:L
ok 0
ok 0
ok 0
ok 0
ok 0
ok 0

the ok 0 keep going and going

10

Re: stepper motors will only move in one direction?

I did not hit the home button though.  If I do the x axis will go all the way and try to keep going

11 (edited by carl_m1968 2015-06-10 22:10:56)

Re: stepper motors will only move in one direction?

They OK is  normal. It is the top line (x_min:L y_min:L z_min:L) that we are interested in. It shows that your endstops are all low or not showing in logic as triggered. I need to see the section of your Configuration.H that includes all the endstop settings. So copy and paste it here.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

12

Re: stepper motors will only move in one direction?

// ##########################################################################################
// ##                            Endstop configuration                                     ##
// ##########################################################################################

/* By default all endstops are pulled up to HIGH. You need a pullup if you
use a mechanical endstop connected with GND. Set value to false for no pullup
on this endstop.
*/
#define ENDSTOP_PULLUP_X_MIN true
#define ENDSTOP_PULLUP_Y_MIN true
#define ENDSTOP_PULLUP_Z_MIN true
#define ENDSTOP_PULLUP_X_MAX true
#define ENDSTOP_PULLUP_Y_MAX true
#define ENDSTOP_PULLUP_Z_MAX true

//set to true to invert the logic of the endstops
#define ENDSTOP_X_MIN_INVERTING false
#define ENDSTOP_Y_MIN_INVERTING false
#define ENDSTOP_Z_MIN_INVERTING false
#define ENDSTOP_X_MAX_INVERTING false
#define ENDSTOP_Y_MAX_INVERTING false
#define ENDSTOP_Z_MAX_INVERTING false

// Set the values true where you have a hardware endstop. The Pin number is taken from pins.h.

#define MIN_HARDWARE_ENDSTOP_X true
#define MIN_HARDWARE_ENDSTOP_Y true
#define MIN_HARDWARE_ENDSTOP_Z true
#define MAX_HARDWARE_ENDSTOP_X false
#define MAX_HARDWARE_ENDSTOP_Y false
#define MAX_HARDWARE_ENDSTOP_Z false

//If your axes are only moving in one direction, make sure the endstops are connected properly.
//If your axes move in one direction ONLY when the endstops are triggered, set ENDSTOPS_INVERTING to true here



//// ADVANCED SETTINGS - to tweak parameters

// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
#define X_ENABLE_ON 0
#define Y_ENABLE_ON 0
#define Z_ENABLE_ON 0

// Disables axis when it's not being used.
#define DISABLE_X false
#define DISABLE_Y false
#define DISABLE_Z false
#define DISABLE_E false

// Inverting axis direction
#define INVERT_X_DIR false
#define INVERT_Y_DIR true
#define INVERT_Z_DIR true

//// ENDSTOP SETTINGS:
// 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

// Delta robot radius endstop
#define max_software_endstop_r true

//If true, axis won't move to coordinates less than zero.
#define min_software_endstop_x false
#define min_software_endstop_y false
#define min_software_endstop_z false

//If true, axis won't move to coordinates greater than the defined lengths below.
#define max_software_endstop_x true
#define max_software_endstop_y true
#define max_software_endstop_z true

// If during homing the endstop is reached, ho many mm should the printer move back for the second try
#define ENDSTOP_X_BACK_MOVE 5
#define ENDSTOP_Y_BACK_MOVE 5
#define ENDSTOP_Z_BACK_MOVE 2

// For higher precision you can reduce the speed for the second test on the endstop
// during homing operation. The homing speed is divided by the value. 1 = same speed, 2 = half speed
#define ENDSTOP_X_RETEST_REDUCTION_FACTOR 2
#define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 2
#define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 2

// When you have several endstops in one circuit you need to disable it after homing by moving a
// small amount back. This is also the case with H-belt systems.
#define ENDSTOP_X_BACK_ON_HOME 1
#define ENDSTOP_Y_BACK_ON_HOME 1
#define ENDSTOP_Z_BACK_ON_HOME 0.4

// You can disable endstop checking for print moves. This is needed, if you get sometimes
// false signals from your endstops. If your endstops don't give false signals, you
// can set it on for safety.
#define ALWAYS_CHECK_ENDSTOPS false

// maximum positions in mm - only fixed numbers!
// For delta robot Z_MAX_LENGTH is the maximum travel of the towers and should be set to the distance between the hotend
// and the platform when the printer is at its home position.
// If EEPROM is enabled these values will be overidden with the values in the EEPROM
#define X_MAX_LENGTH 200
#define Y_MAX_LENGTH 200
#define Z_MAX_LENGTH 300

// Coordinates for the minimum axis. Can also be negative if you want to have the bed start at 0 and the printer can go to the left side
// of the bed. Maximum coordinate is given by adding the above X_MAX_LENGTH values.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0

13

Re: stepper motors will only move in one direction?

Set your X, Y, and Z inverting to TRUE.

Then send another M119 command through Pronterface. It should now respond with x_min:H y_min:H z_min:H I hope.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

14

Re: stepper motors will only move in one direction?

Did you mean change this one? // Inverting axis direction
#define INVERT_X_DIR false
#define INVERT_Y_DIR true
#define INVERT_Z_DIR true

I changed the x above and m119 still shows the same

15

Re: stepper motors will only move in one direction?

Also just noticed that when running my  z axis up the motors start to bind. Fight each other? They are both turning the correct way and work ok if I unplug one. But that can be the next problem to get past after the endstop problem

16

Re: stepper motors will only move in one direction?

hansen644 wrote:

Did you mean change this one? // Inverting axis direction
#define INVERT_X_DIR false
#define INVERT_Y_DIR true
#define INVERT_Z_DIR true

I changed the x above and m119 still shows the same


No, those invert the motor direction. I am referring to these lines.

//set to true to invert the logic of the endstops
#define ENDSTOP_X_MIN_INVERTING false
#define ENDSTOP_Y_MIN_INVERTING false
#define ENDSTOP_Z_MIN_INVERTING false
#define ENDSTOP_X_MAX_INVERTING false
#define ENDSTOP_Y_MAX_INVERTING false
#define ENDSTOP_Z_MAX_INVERTING false

The first three should be set to true. Ignore anything about endstop and MAX. You do not have MAX endstops.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

17 (edited by hansen644 2015-06-11 01:13:19)

Re: stepper motors will only move in one direction?

Ok m119 now shows x_min:H y_min:H z_min:H

I just tried moving the x axis and manually held the endstop with my finger and the endstop still has no responce?

18

Re: stepper motors will only move in one direction?

Ok found that #define ALWAYS_CHECK_ENDSTOPS true  was set to false. 
Now x and y endstops work but  have not tried z yet do the the motor binding thing I can not figure out yet. 
But the x end stop is on the left side of my printer and does not stop if from going left but will stop the x movement going to the right?  ideas on how to change that?
Also any ideas on my z motor binding problem?  thanks for your help a bunch

19

Re: stepper motors will only move in one direction?

Just tested z endstop and it work in the opposite direction also. Not sure what setting to change to correct that?

20

Re: stepper motors will only move in one direction?

hansen644 wrote:

Ok found that #define ALWAYS_CHECK_ENDSTOPS true  was set to false. 
Now x and y endstops work but  have not tried z yet do the the motor binding thing I can not figure out yet. 
But the x end stop is on the left side of my printer and does not stop if from going left but will stop the x movement going to the right?  ideas on how to change that?
Also any ideas on my z motor binding problem?  thanks for your help a bunch

Let me just confirm before we go further. With pronterface open if you click the home button for each axis, does it move to the back left corner?

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

21

Re: stepper motors will only move in one direction?

I just tried the x home and it moves it to the right and keeps on trying to go further

22

Re: stepper motors will only move in one direction?

pronterface x movements are working opposite of RH.  not sure why but I rather use RH in the long run

23

Re: stepper motors will only move in one direction?

hansen644 wrote:

pronterface x movements are working opposite of RH.  not sure why but I rather use RH in the long run

Then use RH. We only need proterface to talk to the unit as RH does not have an input window. I just need to confirm that when a home command is issued the motors move correct as it is related to the endstop logic.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

24

Re: stepper motors will only move in one direction?

OK. but yes it goes the the far right.   not sure how to make the endstop settings correct

25

Re: stepper motors will only move in one direction?

z and x endstops work on the wrong end of the physical movement.