Welcome! Log In Create A New Profile

Advanced

Prints comes out mirrored prusa i3 please help..

Posted by reggie83 
Prints comes out mirrored prusa i3 please help..
April 04, 2015 11:48AM
Hello,

Marlin firmware

My prints cumming out mirrored so did some investigation and switched some things around, but the problem at the moment my X end-stop is not triggering.
The situation is:

X axis endstop is on the left (would like to keep it on that side) set as MAX wired as MAX X on ramps (the one not triggering) movement direction is correct pressing X+ it moves towards endstop.
Y axis endstop is in front set as MIN and working fine
Z axis endstop is on the bottom set as MIN and working fine

My question is am I missing something snippet of my code:

// The pullups are needed if you directly connect a mechanical endstop between the signal and ground pins.
#define ENDSTOPPULLUP_XMAX
#define ENDSTOPPULLUP_YMAX
#define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
#define ENDSTOPPULLUP_ZMIN

// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
//#define DISABLE_MAX_ENDSTOPS
//#define DISABLE_MIN_ENDSTOPS

// 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
#define E_ENABLE_ON 0 // For all extruders

// Disables axis when it's not being used.
#define DISABLE_X false
#define DISABLE_Y false
#define DISABLE_Z false
#define DISABLE_E false // For all extruders
#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled

// If you motor turns to wrong direction, you can invert it here:
#define INVERT_X_DIR false
#define INVERT_Y_DIR true
#define INVERT_Z_DIR true
#define INVERT_E0_DIR false
#define INVERT_E1_DIR false
#define INVERT_E2_DIR false
#define INVERT_E3_DIR false

// 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

#define min_software_endstops true // If true, axis won't move to coordinates less than HOME_POS.
#define max_software_endstops true // If true, axis won't move to coordinates greater than the defined lengths below.
Re: Prints comes out mirrored prusa i3 please help..
April 04, 2015 02:29PM
const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop

Change this one to false
Re: Prints comes out mirrored prusa i3 please help..
April 04, 2015 03:04PM
but if i do that it says it is triggered always doesn't matter if it pushed or not..
Re: Prints comes out mirrored prusa i3 please help..
April 04, 2015 03:23PM
Hi, I am having the same problem. Looks like the X axis is inverted for me, but I have no idea on how to fix this problem, did you find a solution?
Re: Prints comes out mirrored prusa i3 please help..
April 04, 2015 07:13PM
I didn't found solution yet still trying to figure it out..
Re: Prints comes out mirrored prusa i3 please help..
April 04, 2015 07:23PM
I found that it was the y-axis that was inverted. The solution was to connect the y-endstop to the max-endstop connector in RAMPS. It is the one above the min-endstop. Hope that it helps you too.

I have even gone through disassembly the x-carriage, believing that it was inverted.
Re: Prints comes out mirrored prusa i3 please help..
April 04, 2015 07:55PM
That brilliant i will give that a try in the morning what did you changed in firmware?
Re: Prints comes out mirrored prusa i3 please help..
April 05, 2015 04:11PM
I coundnt end stop to triger unless it is min but when i make it max it dont work..
Re: Prints comes out mirrored prusa i3 please help..
April 05, 2015 05:33PM
Quote

I coundnt end stop to triger unless it is min but when i make it max it dont work..

If this is the case, I will think its more of a board problem. Maybe a burned trace or wrong pin assignment?
Re: Prints comes out mirrored prusa i3 please help..
April 06, 2015 05:59PM
[forums.reprap.org]


_______________________________________
Waitaki 3D Printer
Re: Prints comes out mirrored prusa i3 please help..
May 04, 2015 11:52PM
Hi, I have simply placed the y-endstop connector one position above the one it was before. Than I would use 1 as Y_HOME_DIRECTION, or some other similar #define.

If you are still in trouble, I can send you a picture. Sorry for the delayed response, I will try to be more responsive.

HTH
Re: Prints comes out mirrored prusa i3 please help..
May 05, 2015 12:22AM
You could leave it plugged in to min endstop, and switch the pins in pins_RAMPS_13.h 2 to 3 and 3 to 2

I changed the direction of the stepper, and home direction. Then I changed the min/Max endstop pins in pins.h.
That worked. It's been awhile and it's an older version of Marlin. It would be changed in pins_RAMPS_13.h now.

#define X_MIN_PIN 3
#define X_MAX_PIN 2

To

#define X_MIN_PIN 2
#define X_MAX_PIN 3

Edited 1 time(s). Last edit at 05/05/2015 12:31AM by madmike8.
Re: Prints comes out mirrored prusa i3 please help..
May 05, 2015 11:34AM
Not sure where to start.

So right now your end stops if you are facing the printer are on the front for the Y and Left for the X. That would be the Min endstop postions for both. So they should be plugged in the the First and Third set of pins on the RAMPS board.



#define X_HOME_DIR 1
Your setting is backwards of where your end stops are. so I can see if you have this set and used the max endstop the print will be backwards.

should be
#define X_HOME_DIR -1


Then use M119 in your tool of choice to see the status of the end stop. Without any of them triggered all the ends stops should say open.

If you have any that say trigger go in you Config and edit the inverting setting for the end stops. to either true or false whatever it needs to make sure thay all say open when not triggered.
const bool X_MIN_ENDSTOP_INVERTING = true;
Re: Prints comes out mirrored prusa i3 please help..
May 05, 2015 01:05PM
all your connectors should be on the min x,y,z in your firmware uncomment disable max endstops (delete//) your home position should be front left corner if motors don't home and go opposite direction to where they going change the cable of the particular motor aroundon the pins .ins you should not change no pins or nothing in firmware


// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
const bool X_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops.
const bool Y_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops.
const bool Z_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops.
#define DISABLE_MAX_ENDSTOPS

// 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
#define E_ENABLE_ON 0 // For all extruders

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

#define INVERT_X_DIR false // for Mendel set to false, for Orca set to true
#define INVERT_Y_DIR true // for Mendel set to true, for Orca set to false
#define INVERT_Z_DIR false // for Mendel set to false, for Orca set to true
#define INVERT_E0_DIR true // for direct drive extruder v9 set to true, for geared extruder set to false
#define INVERT_E1_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false
#define INVERT_E2_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false

// 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

#define min_software_endstops true //If true, axis won't move to coordinates less than HOME_POS.
#define max_software_endstops true //If true, axis won't move to coordinates greater than the defined lengths below.
// Travel limits after homing
#define X_MAX_POS 200
#define X_MIN_POS 0
#define Y_MAX_POS 200
#define Y_MIN_POS 0
#define Z_MAX_POS 200
#define Z_MIN_POS 0

Edited 1 time(s). Last edit at 05/05/2015 01:06PM by chris33.


Check my rubbish blog for my prusa i3

up and running
[3dimetech.blogspot.co.uk]
Re: Prints comes out mirrored prusa i3 please help..
May 08, 2015 04:57PM
Hello there,

The Prusa i3 Rework has a max endstop. Therefore, even if the pins are reversed in the firmware settings, in which case there is no need to change any connections to the RAMPS, we must have Y_HOME_DIR = 1.

Best,
Elias.
Re: Prints comes out mirrored prusa i3 please help..
May 08, 2015 06:57PM
Reggie,

Which brand is your kit?
Sorry, only registered users may post in this forum.

Click here to login