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
Anet A8 Fin de carrera ok pero no hace que pare
#1
Exclamación 
Hola a todos, 

Lo primero, gracias por los diferentes aportes relacionados con la Anet A8, me han servido de mucha ayuda.
 
Acabo de instalar unas Ramp 1.4 y estoy teniendo problemas con los finales de carrera. En resumen: para eje "y" y "z" no funcionan. Utilizo los que NO tienen PBC, vamos, con 2 salidas solo.

Los he comprobado en Pronterface y todos estan correctos. En OPEN. Si hago un M119 con alguno pulsado la señal llega correcta y aparecen como TRIGGERED, por lo que aparentemente funcionan.

El del eje X funciona correctamente, pero para Z e Y no hay forma.

Los tengo configurados asi
#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 = true; // set to true to invert the logic of the endstop.
const bool Z_MIN_ENDSTOP_INVERTING = false; // 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.


He probado a:

-intercambiar posiciones de los ENDSTOPS y sigue sin funcionar
-cambiar en marlin const bool Y_MIN_ENDSTOP_INVERTING = true false; // set to true to invert the logic of the endstop. Funciona pero mal; si esta abierto el eje Y no se puede desplazar hacia delante, mientras que si lo pulso si (cosa que me descoloca porque al estar en true no pasa de forma inversa)
-Cambiar en marlin el z_MIN_ENDSTOP_INVERTING = true false; // set to true to invert the logic of the endstop. Esto no hace nada.

Opinion:

Mi idea es que hay algo entre la comunicacion de los motores con los ENDSTOP que esta mal configurado, pero no consigo ver que es. He repasado el configuration.h y no encuentro posibles fallos. ¿Alguien tiene idea de que me puede estar pasando?

Gracias por vuestro tiempo
GR
  Responder
#2
Hola, no pones como tienes configurados los finales de carrera a usar.
Está un poco más arriba de donde indicas:

//===========================================================================
//============================== Endstop Settings ===========================
//===========================================================================

// @section homing

// Specify here all the endstop connectors that are connected to any endstop or probe.
// Almost all printers will be using one per axis. Probes will use one or more of the
// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
#define USE_XMIN_PLUG
#define USE_YMIN_PLUG  // Estos son los finales de carrera que tiene una A8
#define USE_ZMIN_PLUG

//#define USE_XMAX_PLUG
//#define USE_YMAX_PLUG
//#define USE_ZMAX_PLUG

// coarse Endstop Settings
//#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

#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  // Si utilizas los interruptores normales de la A8 (de dos cables) con la RAMPS, tienes que habilitar las resistencias internas de PullUp.
 #define ENDSTOPPULLUP_ZMIN^

 //#define ENDSTOPPULLUP_ZMIN_PROBE
#endif

// 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.             // Para los interruptores de la A8 (NO) tienen que estar a true.
#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 false // set to true to invert the logic of the probe.

// Enable this feature if all enabled endstop pins are interrupt-capable.
// This will remove the need to poll the interrupt pins, saving many CPU cycles.
//#define ENDSTOP_INTERRUPTS_FEATURE


Configurado como he puesto, tendría que funcionar correctamente.
Doy por sentado que no tienes un sensor instalado.
Por otra parte, los dos cables de los interruptores de la A8 van conectados a los pines S y - de la RAMPS (no importa cual va en cual).
Saludos.
  Responder
#3
Gracias!

Era eso, tal cual. Por el camino descubrí que tenía algunas otras cosas mal configuradas también.
  Responder


Posibles temas similares…
Tema Autor Respuestas Vistas Último mensaje
  Cama anet A8 fria pero marca 85º/60º Agumon 42 7,205 22-11-2023, 03:27 PM
Último mensaje: Simemart
Fotografía me vino una pieza que no se que es yeremi 1 466 05-11-2021, 08:46 PM
Último mensaje: Simemart
  CONSULTA Final de carrera anet A8 eje X Velocce 9 1,000 12-10-2021, 11:33 AM
Último mensaje: Simemart
  Anet A8 no imprime en el lugar que le indico a la cama danreina 7 1,481 08-11-2020, 08:35 AM
Último mensaje: Mekruh27
  cama caliente comienza a calentar, pero se para ottochuffen 0 738 09-06-2020, 11:54 AM
Último mensaje: ottochuffen