感謝分享
谢谢分享!先收藏!收藏从未停止,学习还未开始!
tongpptv 发表于 2026-3-6 16:03
设置个变量比如xh$=xh$*2
不会啊:)
是不是加在这里?
# --------------------------------------------------------------------------
pskchl_mk #车床回零方式控制模块
if skchl_kg < 0 |skchl_kg > 2, skchl_kg = 0 #当输入其它数字后,强制按“0”方案执行
if skchl_kg = 0, #0 =机床原点 (G0 X_轴Z_轴同时移动 )
[
pbld, n$, "G00", *xh$, *zh$,strcantext, e$
]
if skchl_kg = 1, #1 =机床原点 (G0 先 X_轴再 Z_轴 )
[
pbld, n$, "G00", *xh$, strcantext, e$
pbld, n$, "G00", *zh$, strcantext, e$
]
if skchl_kg = 2, #2 =机床原点 (G0 先 Z_轴再 X_轴 )
[
pbld, n$, "G00", *zh$, strcantext, e$
pbld, n$, "G00", *xh$, strcantext, e$
]
# ------------------------------------------------------------------
pskchl_mk #车床回零方式控制模块
xh$=xh$*2
if skchl_kg < 0 |skchl_kg > 2, skchl_kg = 0 #当输入其它数字后,强制按“0”方案执行
if skchl_kg = 0, #0 =机床原点 (G0 X_轴Z_轴同时移动 )
这样就好了
谢谢分享
非常感谢
感谢分享,先拿了
谢谢分享
感谢分享,先拿了
圆弧不用ijk,怎样换成R