淡描幸福 发表于 2022-11-12 15:21:50

限制四五轴报警

看到有人在找这些,网上看到后然后自己整理了下现发出给大家使用!

四轴后处理,五轴程序报警
global mom_operation_name
global mom_tool_axis

if { > 0.001 } {

set msg
switch $msg {
      1 {
            MOM_abort 中止
      }

}
}
三轴后处理,四五轴程序报警
global mom_tool_path_type
global mom_tool_axis
global mom_operation_name

if { ! [ EQ_is_equal 1.0 ] } {
if { && $mom_tool_path_type == "variable_axis" } {
set msg
switch $msg {
      1 {
            MOM_abort 中止
      }

}
}
}


Bridge_︻︻︻︻ 发表于 2022-11-13 19:24:04

topckey 发表于 2022-11-13 09:02
那是怎么办?放前面会卡死,放后面没作用..

放快速移动和固定循环就可以,很好用

淡描幸福 发表于 2022-11-12 16:24:30

本帖最后由 淡描幸福 于 2022-11-12 16:55 编辑

增加在初始和第一次移动那里!

topckey 发表于 2022-11-12 15:48:08

需要加在哪个位置才可以?

下水道疏通工 发表于 2022-11-12 15:48:29

顶起来,这个不错,先回复了,在去试试!!!!

下水道疏通工 发表于 2022-11-12 15:49:08

增加到哪里?后处理小白请教!!!!

uiu 发表于 2022-11-12 19:45:53

谢谢大师

Bridge_︻︻︻︻ 发表于 2022-11-13 06:14:12

三轴后处理,四五轴程序报警
global mom_tool_path_type
global mom_tool_axis
global mom_operation_name

if { ! [ EQ_is_equal 1.0 ] } {
if { && $mom_tool_path_type == "variable_axis" } {
set msg
switch $msg {
      1 {
            MOM_abort 中止
      }

}
}
}
这个没用,加入初始移动位置直接处理器直接死机卡死,加入工序起始位置可以,但是没作用

topckey 发表于 2022-11-13 09:02:16

Bridge_︻︻︻︻ 发表于 2022-11-13 06:14
三轴后处理,四五轴程序报警
global mom_tool_path_type
global mom_tool_axis


那是怎么办?放前面会卡死,放后面没作用..

YJ790730 发表于 2022-11-13 10:17:27

顶起来,这个不错,先回复了,在去试试!!!!

淡描幸福 发表于 2022-11-13 13:27:27

Bridge_︻︻︻︻ 发表于 2022-11-13 06:14
三轴后处理,四五轴程序报警
global mom_tool_path_type
global mom_tool_axis


我的后处理加在这些位置上面是能报警提示的,如果你的不能的话,是否能把后处理上传上来,我们来分析下原因,看下是否和我们的不一样!
页: [1] 2 3 4
查看完整版本: 限制四五轴报警