motor and endstop problems

Post Reply
SL01
Posts: 0
Joined: Sat May 12, 2018 1:44 pm

motor and endstop problems

Post by SL01 » Tue May 29, 2018 3:38 am

I have updated the firmware with file Marlin_GT2560-PI3_Pro_C.zip (md5 sum: d39c926a434787ee5b6bdcd0ae1a3d22)
using arduino-1.0.1-windows.zip

Problem 1:
At first both X and Y motors were moving in opposite direction. I corrected that by changing these 2 lines in Configuration.h
#define INVERT_X_DIR true // for Mendel set to false, for Orca set to true
#define INVERT_Y_DIR false // for Mendel set to true, for Orca set to false
Now the direction for all motors is correct. Therefore problem 1 is solved.

Problem 2:
Sending home (with repetier or panel) Y (bed) goes to front instead of back where the endstop is. So I have to use emergency stop. X and Z home correctly.

I tried to change
// Sets direction of endstops when homing; 1=MAX, -1=MIN
#define Y_HOME_DIR 1 //was -1

but it does not move when I send it to home.

Problem 3:
Z axis moves approximately 6mm when I move it 1mm using repetier. Is there a seeting in the firmware that will correct this?

Thanks!
SL

SL01
Posts: 0
Joined: Sat May 12, 2018 1:44 pm

Re: motor and endstop problems

Post by SL01 » Wed May 30, 2018 1:46 am

I have resolved problem 3.

in configuration.h
change
#define DEFAULT_AXIS_STEPS_PER_UNIT {78.74,78.74,2560,95} // MXL, Z M8=1.25, MK8
to
#define DEFAULT_AXIS_STEPS_PER_UNIT {78.74,78.74,400,95} // MXL, Z M8=1.25, MK8
I found it at
https://3dprinting.stackexchange.com/qu ... eps-per-mm
There is a good explanation at that web page.

SL01

Gingko
Site Admin
Posts: 230
Joined: Tue Apr 24, 2018 10:43 am

Re: motor and endstop problems

Post by Gingko » Wed May 30, 2018 4:54 pm

Hi,
seems that Y-axis still running in opposite direction.
How does it perform when you move it with 10mm and -10mm value through LCD?

If it moves correctly, then the problem might be at the endstop.

SL01
Posts: 0
Joined: Sat May 12, 2018 1:44 pm

Re: motor and endstop problems

Post by SL01 » Thu May 31, 2018 1:27 am

Hi,
From the LCD I could move +mm but not -mm

After reviewing my changes I realized that I misinterpreted the Cartesian coordinates with the direction of the bed. As a result I have changed the line back to:
#define INVERT_Y_DIR true // for Mendel set to true, for Orca set to false

So +Y moves the bed to the front.
home Y moves the bed to the back and clicks the switch
but Repetier shows Y=200 ?
After some searching I realized the problem was not in the firmware but a setting in
Repetier, printer settings, printer shape tab, Home Y: set to Min

All 3 problems are now resolved. Thanks for your help.

On to the next step!

Post Reply