Quantcast
Channel: Reprap Forum - RAMPS Electronics
Viewing all articles
Browse latest Browse all 1807

Endstop doing opposite of what it should (4 replies)

$
0
0
Hi all, I'm so close to getting this working, its 5AM in the morning and about to give up.

I have ramps 1.4 and my motor is working in both directions on if i have my endstop switch depressed. once I let go of the switch, the - direction stops working. This is the opposite function of what I want. (moving in both directions until endstop is depressed.)

Am I missing something very obvious here? I've tried setting these each both ways with no luck

I'm using sprinter configuration h and pronterface for testing the motor/endstop

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

//Uncomment if you have problems with a stepper driver enabeling too late, this will also set how many microseconds delay there will be after enabeling the driver
//#define DELAY_ENABLE 15

//-----------------------------------------------------------------------
// Disables axis when it's not being used.
//-----------------------------------------------------------------------
const bool DISABLE_X = false;
const bool DISABLE_Y = false;
const bool DISABLE_Z = false;
const bool DISABLE_E = false;

Thanks,
Vaughan

Viewing all articles
Browse latest Browse all 1807

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>