Contact me: hankecnc@gmail.com

根据相对轴位置限制行程 – 功能请求 #724

推推 grbl 3年前 (2023-02-03) 274次浏览
关闭
StaticKling 打开了这个问题 2021 年 11 月 14 日 · 1条评论
关闭

根据相对轴位置限制行程 – 功能请求#724

StaticKling 打开了这个问题 2021 年 11 月 14 日 · 1条评论

注释

根据相对轴位置限制行程 - 功能请求 #724

只允许前往机器区域

我错误地低估了几次慢跑距离,结果磨掉了机器上的齿轮。我试过搜索问题/功能请求,但没有找到类似这样的结果。我认为可以为 x、y、z 行程设置默认测量值(机器设置小部件?),并在执行慢跑步骤时执行计算:

function axisLimitCheck(axis, distance){
// axis is either x, y, z, which the joging button was clicked
// distance is the selected jog distance (-/+)

if (axis.location > (current position + distance )) {
// 执行
}
else if (axis.location < (current position + distance))
{
// Alert warning and prompt to jog only up to max area of​​ machine
}

如果这已经存在,太好了!如果没有,谢谢您的考虑。

根据相对轴位置限制行程 - 功能请求 #724

此功能通常在控制器固件中可用 – 例如 grbl。它被称为“软限制”。您需要在那里启用它。