17-08-2019, 05:21 PM
hola, estoy programando un pequeño router con marlin 1.9. pero me está dando guerrilla los endstop.
el eje Y se estrella. tal cual. pero envio m119 para comprobar, y me sale como trigered si lo pulso. open cuando lo suelto.
he probado a ponerlos en na, nc. cambiando las configuraciones..... también lo he cambiado haber si iba a ser el pulsador..... funciona, de todas las formas. e invirtiendo ejes, cambiando los pines por el de x u z funciona. y es el otro el que se estrella. solo al que le asigno el Y.
ande u que he tocado en marlin para que no pare al llegar.??
esta es la configuracion de los finales, pullups activadas, interruptores nc, comun a gnd. al pulsar se pone a 5v al abrir el contacto. como digo con m119 veo que funcionan.
un saludo
el eje Y se estrella. tal cual. pero envio m119 para comprobar, y me sale como trigered si lo pulso. open cuando lo suelto.
he probado a ponerlos en na, nc. cambiando las configuraciones..... también lo he cambiado haber si iba a ser el pulsador..... funciona, de todas las formas. e invirtiendo ejes, cambiando los pines por el de x u z funciona. y es el otro el que se estrella. solo al que le asigno el Y.
ande u que he tocado en marlin para que no pare al llegar.??
esta es la configuracion de los finales, pullups activadas, interruptores nc, comun a gnd. al pulsar se pone a 5v al abrir el contacto. como digo con m119 veo que funcionan.
Código:
// @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
#define USE_ZMIN_PLUG
#define USE_XMAX_PLUG
//#define USE_YMAX_PLUG
#define USE_ZMAX_PLUG
// Enable pullup for all endstops to prevent a floating state
#define ENDSTOPPULLUPS
#if DISABLED(ENDSTOPPULLUPS)
// Disable ENDSTOPPULLUPS to set pullups individually
//#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).
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING false // 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 true // 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.
un saludo