[Grbl_Esp32 Issue#743] 3 axis with rotating axis

未分类 bolang 6个月前 (10-14) 40次浏览

Issue #743 | 状态: 已关闭 | 作者: rlwoodjr | 创建时间: 2021-01-19


I am working on a machine header file that will allow for a XZA CNC. Only 3 axes, but one of them rotating. It loads to the ESP32, but only shows 2 axes X and Z.

If I define a 4 axes CNC XYZA, then it works as expected. What am I missing?

This is the XZA.h file

#define MACHINE_NAME “XZA”

#define N_AXIS 3

#define XSTEPPIN GPIONUM12
#define XDIRECTIONPIN GPIONUM14
#define ASTEPPIN GPIONUM26
#define ADIRECTIONPIN GPIONUM15
#define ZSTEPPIN GPIONUM27
#define ZDIRECTIONPIN GPIONUM33

#define XLIMITPIN GPIONUM17
#define ALIMITPIN GPIONUM4
#define ZLIMITPIN GPIONUM34


评论 (2)

#1 – bdring 于 2021-01-19

You cannot skip an axis. If you want XZ and A you must have

#define N_AXIS 4

You do not have to define anything for the Y axis. It will create a virtual axis for that. You can pretend it does not exist.


#2 – rlwoodjr 于 2021-01-19

Thanks. I will give that a try.


原始Issue: https://github.com/bdring/Grbl_Esp32/issues/743

喜欢 (0)