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

ENDSTOPPULLUP - нужно ли активировать при оптических концевиках?

gromozeka67
Идет загрузка
Загрузка
05.03.2017
6831
11
Вопросы и ответы
'Закопался' в Марлине... Для чего служат 'подтягивающие резисторы'? Просто как шунт в случае отсутствия девайса?

У меня установлены оптические концевики (стандарт, Китай, работающие)

В прошивке по умолчанию:

// 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

Нужно ли что-то раскомментировать если в 'железе' стоят X-min и Y-min, Y-max? (Z не собирал)

Вопрос два. Читал, что оптические концевики в Марлине нужно инвертировать. Так ли это?

Например я сделал так.

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

Вопрос три. Стоит ли раскоментировать эту строку? Реально ли 'помогает' процессору.

// 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

Всем заранее спасибо.
Ответы на вопросы
Кремень КБ Реклама
Кремень КМ Реклама