Hola compañeros, a ver si podeis hecharme una mano, despues de construir una impresora 3D y tenerla funcionando unas meses decido implementarle un detector inductivo que funciona a 220V a traves de un rele (cuando detecta cierra el rele e indica el HOME_Z), al menos en principio y a modo de prueba, llevo varios dias intentando la configuracion del engendro pero no consigo que me haga el HOME_Z, lo que hace es bajar un poco (sin detectar) y vuelve a subir otro poco y se para y asi hasta que me aburro. El marlin que uso es la v1.1.0-RC5 con CURA y la configuracion que tengo en marlin es (al menos la que creo que afecta al HOME)
Espero que me podais ayudar, y os dais cuenta de lo que me falta o me sobra en la configuracion.
muchas graciias.
Código:
#define ENDSTOPPULLUPS
#if DISABLED(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
//#define ENDSTOPPULLUP_ZMIN_PROBE
#endif
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
const bool X_MIN_ENDSTOP_INVERTING = true; // 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.
const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
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.
const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
#define DISABLE_MAX_ENDSTOPS
#define AUTO_BED_LEVELING_FEATURE
#define Z_MIN_PROBE_REPEATABILITY_TEST
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
#define AUTO_BED_LEVELING_GRID
#if ENABLED(AUTO_BED_LEVELING_GRID)
#define LEFT_PROBE_BED_POSITION 15
#define RIGHT_PROBE_BED_POSITION 170
#define FRONT_PROBE_BED_POSITION 20
#define BACK_PROBE_BED_POSITION 170
#define MIN_PROBE_EDGE 10
#define AUTO_BED_LEVELING_GRID_POINTS 2
#define X_PROBE_OFFSET_FROM_EXTRUDER -60Y_PROBE_OFFSET_FROM_EXTRUDER 0
#define Z_PROBE_OFFSET_FROM_EXTRUDER -5.6
#define XY_TRAVEL_SPEED 8000
#define Z_RAISE_BEFORE_PROBING 5
#define Z_RAISE_BETWEEN_PROBINGS 5
#define Z_RAISE_AFTER_PROBING 5
#define FIX_MOUNTED_PROBE
#define Z_SAFE_HOMING
#if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT 20 //((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28).
#define Z_SAFE_HOMING_Y_POINT 113 //((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28).
#endif
Espero que me podais ayudar, y os dais cuenta de lo que me falta o me sobra en la configuracion.
muchas graciias.