This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

  • 0 voto(s) - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5
Problemas del home z con detector (Solucionado)
#1
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)
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.
  Responder
#2
(25-04-2016, 08:49 PM)josuto escribió: 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)

prueba a no invertir la la señal de endstop Z_MIN en esta linea...


const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.

cambiala por esta otra...

const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
Que no se vea, no significa que no exista...
  Responder
#3
(26-04-2016, 09:51 PM)Archer escribió:
(25-04-2016, 08:49 PM)josuto escribió: 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)

prueba a no invertir la la señal de endstop Z_MIN en esta linea...


const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.

cambiala por esta otra...

const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.

Gracias por contestar Archer, no funciona, lo que hace es subir siempre (logico, porque al detectar al HOME_Z disparado no baja mas (El contacto que tengo en el endstop Z es NA)).
No he posteado todas las pruebas que le he hecho, (menudo tocho me habria salido), pero se las he hecho de todos los colores, logica, ilogicas, disparates, asincronas y secuenciales, y no hay forma.
Empiezo a sospechar de la version que tengo del MARLIN y cambiarla a otra que este contrastada con el autolevel funcionando con servo (aunque yo utilizo detector la implementecion es un contacto NA) pero no se si eso seria liarlo mas aun.
Seguire probando
un saludo
  Responder
#4
Bueno, el asunto esta solucionado. La configuracion estaba bien desde el principio, lo que me pasaba (y aun no lo tengo bien rumiado), era que el conector y su cable que estaban conectados a un contacto aislado Normalmente Abierto del rele metia señales raras a la ramp (por eso subia una veces, bajaba otras, pero nunca hacia el HOME_Z), se lo achaco a posibles señales inducidas por la bobina del rele (por buscarle alguna explicacion), pero al fin ya esta haciendo el HOME_Z y el autolevel correctamente.
Muchas gracias y un saludo
  Responder


Posibles temas similares…
Tema Autor Respuestas Vistas Último mensaje
  CONSULTA !!Ayuda!! Marlin 2.0 No consigo hacer Home en el centro de la cama caliente juankike 8 3,547 28-03-2022, 09:57 PM
Último mensaje: SoMAG
  Problema home eje z Luckaneitor 2 1,085 25-10-2020, 09:03 PM
Último mensaje: Peter13
  Calentar antes de hacer Home Recovery Power Drathelern 3 1,860 07-12-2019, 11:33 AM
Último mensaje: Simemart
  [SOLUCIONADO]¿Es compatible Marlin con MKS GEN-2Z v1.1? Thulsa_Doom 17 10,018 27-04-2019, 10:29 PM
Último mensaje: Simemart
  Eje z baja al hacer home para luego subir. PROBLEMA. xero83 0 1,386 16-06-2018, 06:29 PM
Último mensaje: xero83