找回密码
 立即注册

QQ登录

只需一步,快速开始

微信扫码登录

搜索
查看: 562|回复: 2

[求助] 网上下的发那科四轴后处理,里面可以自动输出M11和M,不知道在哪里设置

[复制链接]

2

主题

5

回帖

84

积分

上等兵

积分
84
发表于 2024-9-28 17:50:40 | 显示全部楼层 |阅读模式
uplevel #0 {

#
# Fourth Axis Auto Clamping is activated by programming the
# UDE CLAMP/AUTO,ON in your tool path.  Fourth Axis Auto
# Clamping may be turned off by programming the UDE CLAMP/AUTO,OFF.
#
# An M10 will be output to clamp the XYZ axis for fourth axis
# motion. An M11 will be output to un-clamp the fourth axis
# when fourth axis motion occurs in the block.  You may edit
# the custom commands PB_CMD_clamp_fourth_axis or
# PB_CMD_unclamp_fourth_axis to output codes other than M10 or M11.
#
#
# Retract and Re-Engage Parameters
#
# This option is activated by setting the Axis Limit Violation
# Handling option on the Machine Tool dialog to Retract / Re-Engage.
#
# The sequence of actions that take place when a rotary limit violation
# occurs is a retract to the clearance plane at the rapid feedrate,
# reposition the rotary axes so they do not violate, move back to
# the engage point at the retract feedrate and engage into the part again.
#
# You can set additional parameters that will control the retract
# and re-engage motion.
#
# The parameter "mom_sys_retract_plane" defines the distance
# from the center of rotation that the tool will retract when
# an axis violation occurs.  For a four axis head machine tool the
# retraction will be a cylinder.  For a five axis head machine tool
# the retraction will be to a sphere. For rotary tables the
# retraction will be to a plane along the spindle axis.
#

   set mom_sys_retract_plane                      10.0

#
# The parameter "mom_sys_reengage_distance" defines the engage
# point above the part.
#

   set mom_sys_reengage_distance                  .1


#
# The following parameters are used by UG Post.  Do NOT change
# them unless you know what you are doing.
#

   set mom_kin_spindle_axis(0)                    0.0
   set mom_kin_spindle_axis(1)                    0.0
   set mom_kin_spindle_axis(2)                    1.0

   if [info exists mom_sys_spindle_axis] { unset mom_sys_spindle_axis }

   set mom_sys_spindle_axis(0)                    0.0
   set mom_sys_spindle_axis(1)                    0.0
   set mom_sys_spindle_axis(2)                    1.0

   set mom_sys_lock_status                        "OFF"

} ;# uplevel



捕获.PNG

0

主题

175

回帖

2642

积分

少尉

积分
2642
发表于 2024-10-7 09:12:06 | 显示全部楼层
啥意思,这能干4轴吗

2

主题

67

回帖

5237

积分

上尉

积分
5237
发表于 2024-10-7 09:55:18 | 显示全部楼层
垃圾后处理,手编都比这个好{:smile:}
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

咨询QQ:1359218528|发帖须知!|Archiver|手机版|小黑屋|UG爱好者论坛 ( 京ICP备10217105号-2 )

GMT+8, 2024-12-23 05:55

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表