Кремень АH Реклама
Кремень М Реклама

Концевик Z и ндуктивный датчик автоуровня

Gaemon
Идет загрузка
Загрузка
27.07.2024
579
36
Вопросы и ответы

Помогите пожалуйста настроить концевик Z!!! устал уже прошивку ковырять...

Ситуация такая:  На дисплее показывает значение x-330. y-330. z-??? Почему-не знаю

#define X_HOME_DIR 1

#define Y_HOME_DIR 1

#define Z_HOME_DIR -1

#define X_BED_SIZE 330

#define Y_BED_SIZE 330

// Travel limits (mm) after homing, corresponding to endstop positions.

#define X_MIN_POS 0

#define Y_MIN_POS 0

#define Z_MIN_POS 0

#define X_MAX_POS X_BED_SIZE

#define Y_MAX_POS Y_BED_SIZE

#define Z_MAX_POS 330

При хоуминге не хочет концевик Z срабатывать никак:

X и Y хоумится, потом едет вверх и еще раз вверх на 3,7 мм

В пронтерфейсе команда м119 показывает

x_max: open

y_max: open

z_min: TRIGGERED

Включаю автовыравнивание стола:  X и Y хоумится,потом едет на позицию для автовыравнивания, едет вверх (как надо) и вместо того,чтоб ехать вниз, едет снова вверх, 

при этом к датчику подносишь железку-датчик срабатывает как надо.

сам концевик рабочий

вот кое-какие параметры

///#define USE_XMIN_PLUG

//#define USE_YMIN_PLUG

#define USE_ZMIN_PLUG

//#define USE_IMIN_PLUG

//#define USE_JMIN_PLUG

//#define USE_KMIN_PLUG

#define USE_XMAX_PLUG

#define USE_YMAX_PLUG

//#define USE_ZMAX_PLUG

//#define USE_IMAX_PLUG

//#define USE_JMAX_PLUG

//#define USE_KMAX_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_IMAX

  //#define ENDSTOPPULLUP_JMAX

  //#define ENDSTOPPULLUP_KMAX

  //#define ENDSTOPPULLUP_XMIN

  //#define ENDSTOPPULLUP_YMIN

  //#define ENDSTOPPULLUP_ZMIN

  //#define ENDSTOPPULLUP_IMIN

  //#define ENDSTOPPULLUP_JMIN

  //#define ENDSTOPPULLUP_KMIN

  //#define ENDSTOPPULLUP_ZMIN_PROBE

#endif

// Enable pulldown for all endstops to prevent a floating state

//#define ENDSTOPPULLDOWNS

#if DISABLED(ENDSTOPPULLDOWNS)

  // Disable ENDSTOPPULLDOWNS to set pulldowns individually

  //#define ENDSTOPPULLDOWN_XMAX

  //#define ENDSTOPPULLDOWN_YMAX

  //#define ENDSTOPPULLDOWN_ZMAX

  //#define ENDSTOPPULLDOWN_IMAX

  //#define ENDSTOPPULLDOWN_JMAX

  //#define ENDSTOPPULLDOWN_KMAX

  //#define ENDSTOPPULLDOWN_XMIN

  //#define ENDSTOPPULLDOWN_YMIN

  //#define ENDSTOPPULLDOWN_ZMIN

  //#define ENDSTOPPULLDOWN_IMIN

  //#define ENDSTOPPULLDOWN_JMIN

  //#define ENDSTOPPULLDOWN_KMIN

  //#define ENDSTOPPULLDOWN_ZMIN_PROBE

#endif

// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).

#define X_MIN_ENDSTOP_INVERTING false // 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 I_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.

#define J_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.

#define K_MIN_ENDSTOP_INVERTING false // 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 true // Set to true to invert the logic of the probe.

#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN

// Force the use of the probe for Z-axis homing

#define USE_PROBE_FOR_Z_HOMING

#define Z_MIN_PROBE_PIN PB12 // Pin 32 is the RAMPS default

#define FIX_MOUNTED_PROBE

По механике: Voron 2.4 концевик Z установлен внизу у стола, стол фиксированный,

Помогите советом ПОЖАЛУЙСТА...

Ответы на вопросы