daixin19871017 发表于 2021-10-28 19:22:25

那位好心人帮我把后处理刀名检查去掉,不然处理报警####

本帖最后由 daixin19871017 于 2021-10-28 19:24 编辑

朋友给的四轴后处理,定制了刀名检查,如何删掉,请哪位好心大哥帮忙去掉,任何刀名都能处理。不胜感激,谢谢!






补充内容 (2021-11-2 20:26):
global mom_tool_name index topword


#-----------------------------------------------------------------------ma20180115
set index
set topword [string range $mom_to...

补充内容 (2021-11-2 20:27):
global mom_tool_name index topword


#-----------------------------------------------------------------------ma20180115
set index
set topword ]


if {$topword != "TL" && $topword != "013" && $topword != "303" && $topword != "304" && $topword != "302" && $topword != "042" && $topword != "045" && $topword != "TX26" && $topword != "010" && $topword != "018" } {
   MOM_abort "Tool name must be IPNA! Please reselect tool!"
   }

daixin19871017 发表于 2021-11-2 20:26:03

global mom_tool_name index topword   #-----------------------------------------------------------------------ma20180115 set index set topword ]   if {$topword != "TL" && $topword != "013" && $topword != "303" && $topword != "304" && $topword != "302" && $topword != "042" && $topword != "045" && $topword != "TX26" && $topword != "010" && $topword != "018" } {      MOM_abort "Tool name must be IPNA! Please reselect tool!"    }

daixin19871017 发表于 2021-11-2 20:28:48

global mom_tool_name index topword


#-----------------------------------------------------------------------ma20180115
set index
set topword ]


if {$topword != "TL" && $topword != "013" && $topword != "303" && $topword != "304" && $topword != "302" && $topword != "042" && $topword != "045" && $topword != "TX26" && $topword != "010" && $topword != "018" } {
   MOM_abort "Tool name must be IPNA! Please reselect tool!"
   }



global mom_tool_material_description topword mom_tool_material_description


if {$topword != "TX26"} {
   if {! || $mom_tool_material_description == "" || $mom_tool_material_description == "High Speed Steel"} {
          MOM_abort " *** The cutting tool material without registering, please contact CIM *** "
      }
   }

daixin19871017 发表于 2021-11-2 20:36:54

那我大神帮忙我解决一下,谢谢了!

U.re 发表于 2021-11-2 23:06:05

看楼下

本帖最后由 U.re 于 2021-11-2 23:19 编辑

{:sleepy:}


U.re 发表于 2021-11-2 23:08:47

本帖最后由 U.re 于 2021-11-2 23:20 编辑

试试看

daixin19871017 发表于 2021-11-4 18:11:01

U.re 发表于 2021-11-2 23:08
试试看

哥你太厉害了可以正常使用{:handshake:}{:lol:},怎么改的能告诉我吗?{:victory:}

daixin19871017 发表于 2021-11-4 18:47:50

U.re 发表于 2021-11-2 23:08
试试看

哥,刀名可以了,但是丝锥报警,用规定的刀名就不会报警,附件有par 体帮我看看,谢谢!
页: [1]
查看完整版本: 那位好心人帮我把后处理刀名检查去掉,不然处理报警####