Welcome! Log In Create A New Profile

Advanced

Anet A8 Marlin 2.0 Firmware Cura Slicer OctoPrint Stops are not working

Posted by NaderHamzei 
Anet A8 Marlin 2.0 Firmware Cura Slicer OctoPrint Stops are not working
July 22, 2020 05:31PM
I updated my ANET A8 to the optiloader with an Arduino Uno and uploaded the Marlin build with Visual Code.

The only issue I am is my X Y & Z Stops are not working properly. I am using OctoPrint and with the Terminal Viewer I can see that the Stops are properly triggered when I manually press one stop and issue a 'M119' command. It states trigger and the open ones are marked open. But the printer steppers aren't stopping when it triggers the stop.

Inside the Configuration.h file I found the following:

// Enable pullup for all endstops to prevent a floating state
#define ENDSTOPPULLUPS
.

.
// Enable pulldown for all endstops to prevent a floating state
//#define ENDSTOPPULLDOWNS
.

.
.
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING true // Set to true to invert the logic of the probe.

Should I comment out '#define ENDSTOPPULLUPS' and uncomment '#define ENDSTOPPULLDOWNS'?
What should the proper MIN & MAX boolean be for the endstops?

Any other ideas what it could be? Thanks in Advance!
Re: Anet A8 Marlin 2.0 Firmware Cura Slicer OctoPrint Stops are not working
July 22, 2020 10:57PM
Use the example config files from [github.com]
Re: Anet A8 Marlin 2.0 Firmware Cura Slicer OctoPrint Stops are not working
July 25, 2020 04:30PM
ok, I tried those and have a build error. I am using Marlin 2.0.5.3 March 30, 2020. could this be a mismatch
below is the build results. And below that is an error in _Statusscreen.h that is new

BUILD RESULTS:
.
.
Compiling .pio\build\sanguino1284p\src\src\module\endstops.cpp.o
Compiling .pio\build\sanguino1284p\src\src\module\motion.cpp.o
Compiling .pio\build\sanguino1284p\src\src\module\planner.cpp.o
Compiling .pio\build\sanguino1284p\src\src\module\planner_bezier.cpp.o
Compiling .pio\build\sanguino1284p\src\src\module\printcounter.cpp.o
Marlin\src\module\motion.cpp:77:71: error: 'X_HOME_BUMP_MM' was not declared in this scope
#define XYZ_CONSTS(T, NAME, OPT) const PROGMEM XYZval NAME##_P = { X_##OPT, Y_##OPT, Z_##OPT }
^
Marlin\src\module\motion.cpp:83:1: note: in expansion of macro 'XYZ_CONSTS'
XYZ_CONSTS(float, home_bump_mm, HOME_BUMP_MM);
^
Marlin\src\module\motion.cpp:77:80: error: 'Y_HOME_BUMP_MM' was not declared in this scope
#define XYZ_CONSTS(T, NAME, OPT) const PROGMEM XYZval NAME##_P = { X_##OPT, Y_##OPT, Z_##OPT }
^
Marlin\src\module\motion.cpp:83:1: note: in expansion of macro 'XYZ_CONSTS'
XYZ_CONSTS(float, home_bump_mm, HOME_BUMP_MM);
^
Marlin\src\module\motion.cpp:77:89: error: 'Z_HOME_BUMP_MM' was not declared in this scope
#define XYZ_CONSTS(T, NAME, OPT) const PROGMEM XYZval NAME##_P = { X_##OPT, Y_##OPT, Z_##OPT }
^
Marlin\src\module\motion.cpp:83:1: note: in expansion of macro 'XYZ_CONSTS'
XYZ_CONSTS(float, home_bump_mm, HOME_BUMP_MM);
^
*** [.pio\build\sanguino1284p\src\src\module\motion.cpp.o] Error 1
=================================================================== [FAILED] Took 111.28 seconds ===================================================================

Environment Status Duration
------------------------ -------- ------------
mega2560 IGNORED
mega1280 IGNORED
rambo IGNORED
FYSETC_F6_13 IGNORED
FYSETC_F6_14 IGNORED
sanguino644p IGNORED
sanguino1284p FAILED 00:01:51.275
melzi IGNORED
melzi_optiboot IGNORED
at90usb1286_cdc IGNORED
at90usb1286_dfu IGNORED
DUE IGNORED
DUE_USB IGNORED
DUE_debug IGNORED
LPC1768 IGNORED
LPC1769 IGNORED
STM32F103RC IGNORED
STM32F103RC_fysetc IGNORED
STM32F103RC_btt IGNORED
STM32F103RC_btt_USB IGNORED
STM32F103RC_btt_512K IGNORED
STM32F103RC_btt_512K_USB IGNORED
STM32F103RE IGNORED
STM32F103RE_btt IGNORED
STM32F103RE_btt_USB IGNORED
STM32F4 IGNORED
STM32F7 IGNORED
ARMED IGNORED
STM32F103VE_GTM32 IGNORED
STM32F103VE_longer IGNORED
mks_robin_mini IGNORED
mks_robin_nano IGNORED
mks_robin IGNORED
mks_robin_pro IGNORED
mks_robin_lite IGNORED
mks_robin_lite3 IGNORED
jgaurora_a5s_a1 IGNORED
STM32F103CB_malyan IGNORED
chitu_f103 IGNORED
STM32F401VE_STEVAL IGNORED
FLYF407ZG IGNORED
FYSETC_S6 IGNORED
STM32F407VE_black IGNORED
BIGTREE_SKR_PRO IGNORED
BIGTREE_GTR_V1_0 IGNORED
BIGTREE_BTT002 IGNORED
teensy31 IGNORED
teensy35 IGNORED
esp32 IGNORED
linux_native IGNORED
SAMD51_grandcentral_m4 IGNORED
rumba32_f446ve IGNORED
rumba32_mks IGNORED
include_tree IGNORED
=============================================================== 1 failed, 0 succeeded in 00:01:51.275 ===============================================================



Line 42 _Statusscreen.h expected a ';'[42,49]

const unsigned char status_logo_bmp[] PROGMEM = {
B01110000,B00000000,B00001000,B00000011,B10001110,
B10001000,B00000000,B00001000,B00000100,B01010001,
B10001010,B11000111,B00111110,B00000100,B01010001,
B11111011,B00101000,B10001000,B00000111,B11001110,
B10001010,B00101111,B00001000,B00000100,B01010001,
B10001010,B00101000,B00001000,B00000100,B01010001,
B10001010,B00100111,B00000110,B00000100,B01001110
};

suggestions?
Re: Anet A8 Marlin 2.0 Firmware Cura Slicer OctoPrint Stops are not working
July 26, 2020 12:03AM
your using an older marlin, that is the latest config files.

use config files that match your version from [github.com]
Sorry, only registered users may post in this forum.

Click here to login