Welcome! Log In Create A New Profile

Advanced

X & Y movements are backwards

Posted by PixelPusher 
X & Y movements are backwards
October 30, 2015 06:46AM
After many tries I still cannot get my X and Y moving in the correct direction. The config below is what I'm using now, I know it's wrong (backwards) but at least it's working and I'm able to get some really cool prints going! Unfortunately, I have to reverse my object in 3ds Max which will be a problem in the future.
I'm sorry, I've tried changing these values, and moving X pin to the "Max" slot on my RAMPS board... nothing seems to work.
desperate.
thanks for the help!

Note: I've tried changing INVERT X dir to 1, the X HOME to 1, and moving my endstop pin to "Max" position on RAMPS. It all moves correctly, but then my Endstop (which is on the right side) does not work.

#define INVERT_X_DIR 0
#define INVERT_Y_DIR 0
#define INVERT_Z_DIR 1
#define X_HOME_DIR -1
#define Y_HOME_DIR 1
#define Z_HOME_DIR -1
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
Attachments:
open | download - X&Y.jpg (140.1 KB)
Re: X & Y movements are backwards
November 01, 2015 06:06AM
Have you tried rotating the motor connection on the ramps so that they are the other way around?
Most of the problems are because of connection being wrong.
Re: X & Y movements are backwards
November 07, 2015 02:38AM
You haven’t said what type of machine... ill presume I3 type machine
(other machines can move differently, eg K8200 type machines the bed move in X and Y, inverting the direction of movement in X)

re
#define INVERT_X_DIR 0
#define INVERT_Y_DIR 0
#define INVERT_Z_DIR 1

These define the direction of movement, they are different for each printer depending on stepper plug wiring.

So make it match the following movement:
X + moves the hotend to the right and X - moves the hotend to the left
Y + moves the bed towards the front and Y - moves the bed towards the back.
Z + moves the hotend up away from the bed and Z - moves the hotend down towards the bed

re
#define X_HOME_DIR -1
#define Y_HOME_DIR 1
#define Z_HOME_DIR -1

This set the location of the endstops
X:
If the end stop is on the left its a min endstop and should be set to -1 (NB on a ramps you need use the min endstop plug, this is the same for X,Y and Z)
If the end stop is on the right its a max endstop and should be set to 1 (NB on a ramps you need use the max endstop for plug,this is the same for X,Y and Z)
Y:
If the endstop is at the back its a min endstop and should be set to -1 (this confuses lots of people, but is reversed as its movement in relation to the hot end)
if the endstop is at the front its a max endstop and should be set to 1
Z:
If the endstop is at the bed its a min endstop and should be set to -1
if the endstop is at the top of travel its a max endstop and should be set to 1

re
#define X_MAX_POS 205
#define X_MIN_POS 0
#define Y_MAX_POS 205
#define Y_MIN_POS 0
#define Z_MAX_POS 200
#define Z_MIN_POS 0

These define the limits of travel. If using max endstops these must be accurate, as when it homes to max it then thinks it is at the MAX_POS

NB Position 0,0,0 is X Left, Y bed back, and Z down.

Edited 3 time(s). Last edit at 11/07/2015 02:46AM by Dust.
Sorry, only registered users may post in this forum.

Click here to login