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
Autolevel con sensor inductivo configuracion marlin
#1
Hola a todos. He montado el sensor inductivo para hacer autolevel y me encuentro que cuando lo activo en marlin al hacer home a todos los ejes desde la pantalla lcd o desde el pc. 

Me dice que los ejes X:91.0 Y:79.0 Z:0 en vez de  X:0 Y:0 Z:0 en el lcd. y claro no me hace el autolevel....


os pongo mi configuracion de marlin.

Código:
// @section homing

// 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
 //#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 = false; // 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 = false; // set to true to invert the logic of the endstop.
const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
const bool Z_MAX_ENDSTOP_INVERTING = false; // 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 DISABLE_MIN_ENDSTOPS

// If you want to enable the Z probe pin, but disable its use, uncomment the line below.
// This only affects a Z probe endstop if you have separate Z min endstop as well and have
// activated Z_MIN_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z probe,
// this has no effect.
#define DISABLE_Z_MIN_PROBE_ENDSTOP

// @section machine

// Travel limits after homing (units are in mm)
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS 183
#define Y_MAX_POS 200
#define Z_MAX_POS 190
//===========================================================================
//============================ Bed Auto Leveling ============================
//===========================================================================

// @section bedlevel

#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
//#define DEBUG_LEVELING_FEATURE
#define Z_MIN_PROBE_REPEATABILITY_TEST  // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.

#if ENABLED(AUTO_BED_LEVELING_FEATURE)

 // There are 2 different ways to specify probing locations:
 //
 // - "grid" mode
 //   Probe several points in a rectangular grid.
 //   You specify the rectangle and the density of sample points.
 //   This mode is preferred because there are more measurements.
 //
 // - "3-point" mode
 //   Probe 3 arbitrary points on the bed (that aren't colinear)
 //   You specify the XY coordinates of all 3 points.

 // Enable this to sample the bed in a grid (least squares solution).
 // Note: this feature generates 10KB extra code size.
 #define AUTO_BED_LEVELING_GRID

 #if ENABLED(AUTO_BED_LEVELING_GRID)

   #define LEFT_PROBE_BED_POSITION 30
   #define RIGHT_PROBE_BED_POSITION 170
   #define FRONT_PROBE_BED_POSITION 30
   #define BACK_PROBE_BED_POSITION 170

   #define MIN_PROBE_EDGE 10 // The Z probe minimum square sides can be no smaller than this.

   // Set the number of grid points per dimension.
   // You probably don't need more than 3 (squared=9).
   #define AUTO_BED_LEVELING_GRID_POINTS 4

 #else  // !AUTO_BED_LEVELING_GRID

     // Arbitrary points to probe.
     // A simple cross-product is used to estimate the plane of the bed.
     #define ABL_PROBE_PT_1_X 15
     #define ABL_PROBE_PT_1_Y 180
     #define ABL_PROBE_PT_2_X 15
     #define ABL_PROBE_PT_2_Y 20
     #define ABL_PROBE_PT_3_X 170
     #define ABL_PROBE_PT_3_Y 20

 #endif // AUTO_BED_LEVELING_GRID

 // Offsets to the Z probe relative to the nozzle tip.
 // X and Y offsets must be integers.
 #define X_PROBE_OFFSET_FROM_EXTRUDER 0     // Z probe to nozzle X offset: -left  +right
 #define Y_PROBE_OFFSET_FROM_EXTRUDER 21     // Z probe to nozzle Y offset: -front +behind
 #define Z_PROBE_OFFSET_FROM_EXTRUDER -0 // Z probe to nozzle Z offset: -below (always!)

 #define Z_RAISE_BEFORE_HOMING 4       // (in mm) Raise Z axis before homing (G28) for Z probe clearance.
                                       // Be sure you have this distance over your Z_MAX_POS in case.

 #define XY_TRAVEL_SPEED 8000         // X and Y axis travel speed between probes, in mm/min.

 #define Z_RAISE_BEFORE_PROBING 15   // How much the Z axis will be raised before traveling to the first probing point.
 #define Z_RAISE_BETWEEN_PROBINGS 5  // How much the Z axis will be raised when traveling from between next probing points.
 #define Z_RAISE_AFTER_PROBING 15    // How much the Z axis will be raised after the last probing point.

//#define Z_PROBE_END_SCRIPT "G1 Z10 F12000\nG1 X15 Y330\nG1 Z0.5\nG1 Z10" // These commands will be executed in the end of G29 routine.
                                                                           // Useful to retract a deployable Z probe.

 //#define Z_PROBE_SLED // Turn on if you have a Z probe mounted on a sled like those designed by Charles Bell.
 //#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.


 //If you have enabled the Bed Auto Leveling and are using the same Z Probe for Z Homing,
 //it is highly recommended you let this Z_SAFE_HOMING enabled!!!

 #define Z_SAFE_HOMING   // This feature is meant to avoid Z homing with Z probe outside the bed area.
                         // When defined, it will:
                         // - Allow Z homing only after X and Y homing AND stepper drivers still enabled.
                         // - If stepper drivers timeout, it will need X and Y homing again before Z homing.
                         // - Position the Z probe in a defined XY point before Z Homing when homing all axis (G28).
                         // - Block Z homing only when the Z probe is outside bed area.

 #if ENABLED(Z_SAFE_HOMING)

   #define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2)    // X point for Z homing when homing all axis (G28).
   #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)    // Y point for Z homing when homing all axis (G28).

 #endif

// @section homing

// The position of the homing switches
//#define MANUAL_HOME_POSITIONS  // If defined, MANUAL_*_HOME_POS below will be used
//#define BED_CENTER_AT_0_0  // If defined, the center of the bed is at (X=0, Y=0)

// Manual homing switch locations:
// For deltabots this means top and center of the Cartesian print volume.
#if ENABLED(MANUAL_HOME_POSITIONS)
  #define MANUAL_X_HOME_POS 0
  #define MANUAL_Y_HOME_POS 0
  #define MANUAL_Z_HOME_POS 0
  //#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.
#endif

Alguien sabe que puede ocurrir porque en todos los tutoriales que encuentro solo hay que descomentar #define AUTO_BED_LEVELING_FEATURE , ajustar el offset del sensor respecto del nozzle que en mi caso son Y 21 mm detras del nozzle X en linea   y cambiar la logica del endstop z min a true. 

El signal del sensor lo tengo conectado donde el endstop zmin signal 

UN saludo.
  Responder
#2
Esto me sale en el log de repetier

23:05:10.620 : N19 G28 *11
23:05:13.289 : ok
23:05:14.165 : N21 G29 *1
23:05:14.169 : G29 Auto Bed Leveling
23:05:14.239 : Eqn coefficients: a: 0.00000000 b: 0.00000000 d: 0.00000000
23:05:14.243 : planeNormal x: 0.000000 y: 0.000000 z: 1.000000
23:05:14.243 :
23:05:14.247 : Bed Level Correction Matrix:
23:05:14.248 : +1.000000 +0.000000 +0.000000
23:05:14.251 : +0.000000 +1.000000 +0.000000
23:05:14.255 : +0.000000 +0.000000 +1.000000
23:05:14.255 : ok
23:07:40.966 : N51 M114 *51
23:07:40.974 : X:170.00 Y:191.00 Z:0.00 E:0.00 Count X: 170.00 Y:191.00 Z:0.00
23:07:40.974 : ok

G28 Me hace homing perfecto usando el sensor como home Z
G29 Hace como un pequeño movimiento hacia el endstop Xmin y me dice que ha tomado las medidas...
M114 me dice que esta en el "centro de la cama" pero no se mueve del X:0 Y:0

He porbado con distintas versiones de marlin pero no hay manera...
  Responder
#3
(04-02-2016, 11:06 PM)Jaimelito escribió: Esto me sale en el log de repetier

23:05:10.620 : N19 G28 *11
23:05:13.289 : ok
23:05:14.165 : N21 G29 *1
23:05:14.169 : G29 Auto Bed Leveling
23:05:14.239 : Eqn coefficients: a: 0.00000000 b: 0.00000000 d: 0.00000000
23:05:14.243 : planeNormal x: 0.000000 y: 0.000000 z: 1.000000
23:05:14.243 :
23:05:14.247 : Bed Level Correction Matrix:
23:05:14.248 : +1.000000 +0.000000 +0.000000
23:05:14.251 : +0.000000 +1.000000 +0.000000
23:05:14.255 : +0.000000 +0.000000 +1.000000
23:05:14.255 : ok
23:07:40.966 : N51 M114 *51
23:07:40.974 : X:170.00 Y:191.00 Z:0.00 E:0.00 Count X: 170.00 Y:191.00 Z:0.00
23:07:40.974 : ok

G28 Me hace homing perfecto usando el sensor como home Z
G29 Hace como un pequeño movimiento hacia el endstop Xmin y me dice que ha tomado las medidas...
M114 me dice que esta en el "centro de la cama" pero no se mueve del X:0 Y:0

He porbado con distintas versiones de marlin pero no hay manera...

Puede ser que no hayas configurado bien la impresora en el repertier? Exo explicaria por qué todo lo que tocas en el marlin no lo tiene en cuenta...
  Responder
#4
Pero me hace lo mismo desde el lcd que desde el repetier. El log del repetier lo he puesto para dar mas informacion pero el comportamiento es el mismo. En definitiva no hace el z safe homing pero guarda que está en la posicion central haciendo el homing de z.....
  Responder
#5
Resuelto, tuve que cambiar la logica de los endstop max....
  Responder


Posibles temas similares…
Tema Autor Respuestas Vistas Último mensaje
  Ayuda configuracion del Marlin para compilar en el arduino NOQUI 1 0 13-02-2024, 06:06 PM
Último mensaje: Simemart
  Problema con autolevel con BLtouch Eresan 7 0 19-09-2023, 10:11 AM
Último mensaje: Eresan
  Linear Advance Configuracion e impresion 21Curiosos 4 0 11-08-2023, 03:09 PM
Último mensaje: Simemart
  Configuracion de ventiladores Marlin 21Curiosos 16 1,024 19-06-2023, 08:22 PM
Último mensaje: wolf
  Power Loss Recovery Configuracion bbouett 1 0 07-06-2023, 08:07 PM
Último mensaje: Simemart