Плоттер на GRBL + arduino nano + cnc shield v4 + servo (sg-90) Следующий вопрос)
Спасибо всем, кто помог с предыдущим вопросом. Помогло)
А теперь 'едем дальше'.
При попытке сделать 'autohome', испльзуя команду G28, плоттер едет, но при замыкании концевика он тупо останавливается и плата 'начинает тупить' (ком-порт не отвечает). Как необходимо настраивать прошивку или какие команды использовать, чтобы оно заработало?
Прикрепляю кусок файла прошивки GRBL 0.9j config.h :
// Define the homing cycle patterns with bitmasks. The homing cycle first performs a search mode
// to quickly engage the limit switches, followed by a slower locate mode, and finished by a short
// pull-off motion to disengage the limit switches. The following HOMING_CYCLE_x defines are executed
// in order starting with suffix 0 and completes the homing routine for the specified-axes only. If
// an axis is omitted from the defines, it will not home, nor will the system update its position.
// Meaning that this allows for users with non-standard cartesian machines, such as a lathe (x then z,
// with no y), to configure the homing cycle behavior to their needs.
// NOTE: The homing cycle is designed to allow sharing of limit pins, if the axes are not in the same
// cycle, but this requires some pin settings changes in cpu_map.h file. For example, the default homing
// cycle can share the Z limit pin with either X or Y limit pins, since they are on different cycles.
// By sharing a pin, this frees up a precious IO pin for other purposes. In theory, all axes limit pins
// may be reduced to one pin, if all axes are homed with seperate cycles, or vice versa, all three axes
// on separate pin, but homed in one cycle. Also, it should be noted that the function of hard limits
// will not be affected by pin sharing.
// NOTE: Defaults are set for a traditional 3-axis CNC machine. Z-axis first to clear, followed by X & Y.
#define HOMING_CYCLE_0 (1<
#define HOMING_CYCLE_1 ((1<
//#define HOMING_CYCLE_0 ((1<
// #define HOMING_CYCLE_2 // OPTIONAL: Uncomment and add axes mask to enable
А теперь 'едем дальше'.
При попытке сделать 'autohome', испльзуя команду G28, плоттер едет, но при замыкании концевика он тупо останавливается и плата 'начинает тупить' (ком-порт не отвечает). Как необходимо настраивать прошивку или какие команды использовать, чтобы оно заработало?
Прикрепляю кусок файла прошивки GRBL 0.9j config.h :
// Define the homing cycle patterns with bitmasks. The homing cycle first performs a search mode
// to quickly engage the limit switches, followed by a slower locate mode, and finished by a short
// pull-off motion to disengage the limit switches. The following HOMING_CYCLE_x defines are executed
// in order starting with suffix 0 and completes the homing routine for the specified-axes only. If
// an axis is omitted from the defines, it will not home, nor will the system update its position.
// Meaning that this allows for users with non-standard cartesian machines, such as a lathe (x then z,
// with no y), to configure the homing cycle behavior to their needs.
// NOTE: The homing cycle is designed to allow sharing of limit pins, if the axes are not in the same
// cycle, but this requires some pin settings changes in cpu_map.h file. For example, the default homing
// cycle can share the Z limit pin with either X or Y limit pins, since they are on different cycles.
// By sharing a pin, this frees up a precious IO pin for other purposes. In theory, all axes limit pins
// may be reduced to one pin, if all axes are homed with seperate cycles, or vice versa, all three axes
// on separate pin, but homed in one cycle. Also, it should be noted that the function of hard limits
// will not be affected by pin sharing.
// NOTE: Defaults are set for a traditional 3-axis CNC machine. Z-axis first to clear, followed by X & Y.
#define HOMING_CYCLE_0 (1<
#define HOMING_CYCLE_1 ((1<
//#define HOMING_CYCLE_0 ((1<
// #define HOMING_CYCLE_2 // OPTIONAL: Uncomment and add axes mask to enable
Популярные вопросы
Проблема с печатью нависающих частей
Добрый день! Недавно купил Neptune 3 Pro. Использую PLA, примущественно NIT.
Сделал тестовую модель (фото 1). Вот так распечаталось...
Сделал тестовую модель (фото 1). Вот так распечаталось...
Неумелый 3д моделист
Здравствуйте, делал модель данной вещи, моделировал в Blender, сделал сначала квадратную, потом просто закруглил с помощью модификатора, но начал слай...
помогите выбрать 3Д принтер
нашел четыре недорогих принтера. по описанию только на АНЕТ А6 много инфы а вот на остольные н
почти нету! подскажите какой из переч...
почти нету! подскажите какой из переч...
Комментарии и вопросы
Такая работа меня не интересуе...
там 2 комплекта шестерен
Если сможете генерить так чтоб...
Сопло 0,8. Прошивка Марлин Rob...
Здравствуйте. Вопрос к специал...
добрый день.принтер "tevo blac...
Здравствуйте, разбирали печатн...