Металл2024 Реклама
Метобр2024 Реклама

Оптический концевик

Saratcin
Идет загрузка
Загрузка
01.01.2020
1404
61
Вопросы и ответы

Доброго здравия!

Прошу помощи! Ситуация такая: собрал RE-D-BOT (механика в порядке), с электроникой проблема с концевиками. Бутерброд MEGA2560+RAMPS1.6, прошивка Марлин 1,1,9.

Включаю принтер и загорается индикация на оптическом концевике по оси Y, перекрытие створа ничего не меняет, на выводе S  присутствует +5V. 

Часть прошивки по концевикам:

#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 true // 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 true // 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 true // 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.

Уже голову сломал что и где копать. Есть мнение что нужно отключить подтягивающий резистор с вывода S, но как и где ума не приложу. Помогите.

Ответы на вопросы
Кремень КБ Реклама
Кремень КМ Реклама