I did this a few months ago & it worked, but now that I have lengthened my MPCNC by 4" in the Y & 2" in the X, I wanted to change it. For some reason this is not working. Maybe there was something else I needed to change. Here is what I changed in the firmware that I downloaded from here last August. I see there is a newer firmware dated 11/25/15 & these limits are set to 1000. Maybe I should try that & leave them set to 1000?
// Travel limits after homing (units are in mm)
#define X_MAX_POS 570
#define X_MIN_POS 0
#define Y_MAX_POS 820
#define Y_MIN_POS 0
#define Z_MAX_POS 152
#define Z_MIN_POS 0
I had changed this to 520 & 720 for the X & Y last time & it will not go past 520 or 720. It obviously worked before since it stops at 520 & 720 & the change I just made to the endstops is working now, so I know it uploaded the revised firmware. Anyone have a clue as to what I am doing wrong?
I also set the endstop inverting to false for the X & Y axis, since I wired these the same way my 3d printer was wired.
// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
Thanks for any help,
David