Marco Nie - 828D 执行程序提示:等待插补缓冲 的评论 https://blog.niekun.net/archives/2330.html 最近在编写西门子数控系统 NC 代码时,遇到一个问题:启动程序后在固定地方程序无法继续执行下去,提示:等待插补缓冲: ahxinny https://blog.niekun.net/archives/2330.html#comment-32 2021-09-05T08:00:19+08:00 在endwhile之前可以增加一句,if abs(R0)<0.001 R0=0应当也可以解决问题 ahxinny https://blog.niekun.net/archives/2330.html#comment-31 2021-09-03T11:38:13+08:00 一个问题是系统计算精度引起的。所以我在程序中很少用相等的比较,例如if 30.0-30=0,在软件中永远不满足。