Results 1 to 8 of 8
Thread: auto bed help iv3 8'
-
03-22-2015, 12:59 PM #1
- Join Date
- Mar 2015
- Posts
- 5
auto bed help iv3 8'
hi, i have a iv3 and i been trying to configure a newer version of Marlin for it. the default makerfarm version of marlin doent support auto bed leveling.
i try compareing the 2 side by side. but i get a few errors
Marlin_main.cpp: In function 'void process_commands()': Marlin_main.cpp:2784: error: 'X_MIN_ENDSTOP_INVERTING' was not declared in this scope Marlin_main.cpp:2792: error: 'Y_MIN_ENDSTOP_INVERTING' was not declared in this scope Marlin_main.cpp:2800: error: 'Z_MIN_ENDSTOP_INVERTING' was not declared in this scope
not sure whats going on. please if someone could tell me. please and thanks
-
03-22-2015, 05:29 PM #2
My suggestion would be to check out: https://github.com/MarlinFirmware/Marlin
The Marlin firmware has been going through a bug fix and clean up phase. Its not done yet, but the code base at that URL is very usable and stable. Why don't you try crossing your Configuration.h values over to that and if you have problems I'll jump in and help.
-
03-22-2015, 05:32 PM #3
- Join Date
- Mar 2015
- Posts
- 5
thanks ill try this one out
-
03-22-2015, 05:37 PM #4
- Join Date
- Mar 2015
- Posts
- 5
ok i think its code of given me problems. here is it in makerfarm
#ifndef ENDSTOPPULLUPS
// fine Enstop settings: Individual Pullups. will be ignord if ENDSTOPPULLUPS is defined
#define ENDSTOPPULLUP_XMAX
#define ENDSTOPPULLUP_YMAX
#define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
//#define ENDSTOPPULLUP_ZMIN
#endif
#ifdef ENDSTOPPULLUPS
// #define ENDSTOPPULLUP_XMAX
// #define ENDSTOPPULLUP_YMAX
// #define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
#define ENDSTOPPULLUP_ZMIN
#endif
// 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
here it in the new marlin firmware
#ifndef ENDSTOPPULLUPS
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
#define ENDSTOPPULLUP_XMAX
#define ENDSTOPPULLUP_YMAX
#define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
//#define ENDSTOPPULLUP_ZMIN
#endif
#ifdef ENDSTOPPULLUPS
// #define ENDSTOPPULLUP_XMAX
// #define ENDSTOPPULLUP_YMAX
// #define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
#define ENDSTOPPULLUP_ZMIN
#endif
// 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.
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
not sure why it given me problems should i just cut the parts out to fit the old one?
-
03-22-2015, 08:38 PM #5
Take the 'Official' values from the MakerFarm Configuration.h file and change those values in the new Configuration.h file. See if it compiles and builds OK. And if it does, see if the printer behaves correctly.
-
03-22-2015, 08:48 PM #6
- Join Date
- Mar 2015
- Posts
- 5
i did and i get this as an error
Marlin_main.cpp: In function 'void process_commands()':
Marlin_main.cpp:2784: error: 'X_MIN_ENDSTOP_INVERTING' was not declared in this scope
Marlin_main.cpp:2792: error: 'Y_MIN_ENDSTOP_INVERTING' was not declared in this scope
Marlin_main.cpp:2800: error: 'Z_MIN_ENDSTOP_INVERTING' was not declared in this scope
all nice and red is you look back at what i first you can see there is 3 const bool X vs. the new one one that has 6
the new ones being
const bool X_MAX_ENDSTOP_INVERTING
const bool Y_MAX_ENDSTOP_INVERTING
const bool Z_MAX_ENDSTOP_INVERTING
cause these are not part of the old one i have no clue what its values could be?
-
03-22-2015, 08:50 PM #7
- Join Date
- Mar 2015
- Posts
- 5
SERIAL_PROTOCOLLN(((READ(X_MIN_PIN)^X_MIN_ENDSTOP_ INVERTING)?MSG_ENDSTOP_HIT:MSG_ENDSTOP_OPEN));
is the main problem
-
03-22-2015, 10:12 PM #8
- Join Date
- Nov 2014
- Posts
- 522
you need to fix this line
Code://#define DISABLE_MAX_ENDSTOPS
to this
Code:#define DISABLE_MAX_ENDSTOPS
that should remove the check for the max endstop inverting so that it will compile, and since makerfarm printers don't use max endstops, disabling them is not a big deal, and can actually prevent bugs/problems down the road.
Holes and pockmarks in print walls
Yesterday, 09:14 AM in General 3D Printing Discussion