Welcome! Log In Create A New Profile

Advanced

Wrong Axis is movingsad smiley

Posted by paul_schenker 
Wrong Axis is movingsad smiley
September 13, 2024 05:41PM
Hi there,

I have set up a custom built printer using Ramps 1.4 and Marlin.
My problem is that when i want to move z the x axis moves everything else is completely working and ok.

Thanks for any help.
Paul Anton Schenker (Newbie in softwarespinning smiley sticking its tongue out)
Re: Wrong Axis is movingsad smiley
September 13, 2024 10:08PM
You would have to edit the boards pins file to have this fault, or perhaps setting the wrong MOTHERBOARD

Or plug the steppers in wrong location.



Edited 1 time(s). Last edit at 09/14/2024 12:11AM by Dust.
Re: Wrong Axis is movingsad smiley
September 17, 2024 03:18PM
Everything is plugged in correctly, but I'm a bit stuck on how to define the port. ecause there are multiple 2A, 2B, etc. So I can't define them like that, and I can't find the raw number of those.

does anny boddy know something about that
thanks for the answer paul anton schenker
Re: Wrong Axis is movingsad smiley
September 17, 2024 11:19PM
The 2B, 2A, 1A 1B four pin ports are the output of the stepper drivers. This has nothing to do with board pins.


The board pins are well documented

[reprap.org] Top left
Re: Wrong Axis is movingsad smiley
September 19, 2024 09:59AM
But to define the pins I need to know their numbers and I can`t find them.
Right ? sad smiley
And I donĀ“t know their number.

so wat should I do.
Re: Wrong Axis is movingsad smiley
September 19, 2024 12:30PM
Using the basic Marlin, Marlin 2 is a little different but similar

You can look at the pin numbers in
pins_RAMPS.h

Using Arduino IDE

//
// Steppers
//
#define X_STEP_PIN         54
#define X_DIR_PIN          55
#define X_ENABLE_PIN       38
#ifndef X_CS_PIN
  #define X_CS_PIN         53
#endif

#define Y_STEP_PIN         60
#define Y_DIR_PIN          61
#define Y_ENABLE_PIN       56
#ifndef Y_CS_PIN
  #define Y_CS_PIN         49
#endif

#define Z_STEP_PIN         46
#define Z_DIR_PIN          48
#define Z_ENABLE_PIN       62
#ifndef Z_CS_PIN
  #define Z_CS_PIN         40
#endif

#define E0_STEP_PIN        26
#define E0_DIR_PIN         28
#define E0_ENABLE_PIN      24
#ifndef E0_CS_PIN
  #define E0_CS_PIN        42
#endif

#define E1_STEP_PIN        36
#define E1_DIR_PIN         34
#define E1_ENABLE_PIN      30
#ifndef E1_CS_PIN
  #define E1_CS_PIN        44
#endif

/**


I then swapped E0 to E1 pin numbers because my E0 driver died did not have current funds to purchase another.
And wanted to see if it would work. It did.

Edited 2 time(s). Last edit at 09/19/2024 01:09PM by Roberts_Clif.


Computer Programmer / Electronics Technician
Re: Wrong Axis is movingsad smiley
September 19, 2024 06:22PM

Sorry, only registered users may post in this forum.

Click here to login