Contact me: hankecnc@gmail.com

应用 HightMap 丢弃 spindel 和定时器命令 #12

推推 grbl 3年前 (2023-02-10) 252次浏览
关闭
deHarro 打开了这个问题 2017 年 3 月 16 日 · 6条评论
关闭

应用 HightMap 丢弃 spindel 和定时器命令#12

deHarro 打开了这个问题 2017 年 3 月 16 日 · 6条评论

评论

应用 HightMap 丢弃 spindel 和定时器命令 #12
德哈罗 评论了 2017 年 3 月 16 日  

将高度贴图应用于 g 代码文件时:

(.../pcb-gcode-3.6.2.4/pcb-gcode.ulp)
(Copyright 2005 - 2012 by John Johnson)
(See readme.txt for licensing terms.)
(This file generated from the board:)
(.../Isolationsfräsen_Tests/Iso_1/Iso_1.brd)
(Current profile is .../pcb-gcode-3.6.2.4/profiles/generic.pp  )
(This file generated 10.03.2017 20:07)
(Settings from pcb-machine.h)
(spindle on time = 3.0000)
(  Tool Size)
(0.1000 )
(spindle speed = 30000.0000)
(tool change at 0.0000 0.0000 40.0000 )
(feed rate xy = F508.00 )
(feed rate z  = F254.00 )
(Z Axis Settings)
(  High     Up        Down     Drill)
(12.0000 	2.5400 	-0.1778 	-0.8128 )
(Settings from pcb-defaults.h)
(isolate min = 0.0254)
(isolate max = 0.5080)
(isolate step = 0.1270)
(Generated top outlines, top drill, bottom outlines, bottom drill, )
(Unit of measure: mm)
(Metric Mode)
G21
(Absolute Coordinates)
G90
S30000
G00 Z12.0000 
G00 X0.0000 Y0.0000 
M03
G04 P3.000000
G00 Z2.5400 
G00 X1.5551 Y1.8609 ....

输出转换为:

G90 G91.1 G21 G17
G0Z12.019
G0
M3
G0Z2.559
G0X1.555Y1.861Z2.576 ....

“S30000”和“G04 P3.000000”被删除,主轴不启动并且没有时间旋转(好吧,那也没关系,但只是为了不要忘记它……;- )

哈拉尔德

(对不起,我无法在不转换为自动换行文本的情况下插入引文。有什么提示吗?)

应用 HightMap 丢弃 spindel 和定时器命令 #12
所有者

关于代码块:粘贴你的整个代码,然后应用代码格式,它会在上下添加三个引号。

是的,我可能应该实现它,从不打扰,因为我手动打开了我的主轴。

应用 HightMap 丢弃 spindel 和定时器命令 #12
作者

感谢代码块的提示。上面他们看起来不错,纠正了吗?

关于 G 代码更改:
我的建议是,让所有未被您的代码更改的行按原样进行高度校正。

应用 HightMap 丢弃 spindel 和定时器命令 #12
所有者

是的,我编辑了您的评论以正确显示。
我不会只忽略无法解析的行,这可能会导致太多错误。

应用 HightMap 丢弃 spindel 和定时器命令 #12
作者
德哈罗 评论了 2017 年 3 月 17 日  

GRBL 可以在某种“Trockenlauf”中为您检查语法。不会执行任何运动,但 g 代码将被馈送到 GRBL 并进行检查。
如果没有错误,您可以安全地忽略除必须调整 Z 的那些行之外的所有行。