UG三轴后处理孔底暂停默认是Q,怎么修改为P?
如图所示:默认是Q修改方法:记事本打开YSUG3.def ctrl+f搜索Q,修改为P,保存
最终效果
如果是镗刀需要增加P孔底停留
需要搜索ADDRESS cycle_dwell 块
复制以下内容:
ADDRESS cycle_dwell
{
FORMAT Dwell_SECONDS
FORCE off
MAX 99999.999 Truncate
MIN 0.001 Truncate
LEADER "P"
ZERO_FORMAT Zero_int
}
然后回车粘贴
修改为
ADDRESS cycle_dwell2
{
FORMAT Dwell_SECONDS
FORCE off
MAX 99999.999 Truncate
MIN 0.001 Truncate
LEADER "P"
ZERO_FORMAT Zero_int
}
接着搜索BLOCK_TEMPLATE cycle_bore_no_drag块
修改以下内容:
修改前:
BLOCK_TEMPLATE cycle_bore_no_drag
{
G_plane[$mom_sys_cutcom_plane_code($mom_cutcom_plane)]\opt
G_return[$mom_sys_cycle_ret_code($mom_cycle_retract_mode)]\opt
G_motion[$mom_sys_cycle_bore_no_drag_code]
X[$mom_cycle_feed_to_pos(0)]
Y[$mom_cycle_feed_to_pos(1)]
Z[$mom_cycle_feed_to_pos(2)]
R[$mom_cycle_rapid_to_pos($mom_cycle_spindle_axis)]
cycle_orient[$mom_cycle_orient]\opt
F[$feed]
}
修改后:
BLOCK_TEMPLATE cycle_bore_no_drag
{
G_plane[$mom_sys_cutcom_plane_code($mom_cutcom_plane)]\opt
G_return[$mom_sys_cycle_ret_code($mom_cycle_retract_mode)]\opt
G_motion[$mom_sys_cycle_bore_no_drag_code]
X[$mom_cycle_feed_to_pos(0)]
Y[$mom_cycle_feed_to_pos(1)]
Z[$mom_cycle_feed_to_pos(2)]
R[$mom_cycle_rapid_to_pos($mom_cycle_spindle_axis)]
cycle_orient[$mom_cycle_orient]\opt
cycle_dwell2[$mom_cycle_delay]\opt
F[$feed]
}
编程参数设置:
最终效果:
G0 G90 G80 G49 G21
N1 T00 M06
S200 M03
(REAMER D=3.00 R=0.00)
G17 G00 G90 G54 X80. Y72.5
G43 Z10. H00 M08
M100
G98 G76 X80. Y72.5 Z-19. R-7.859 Q2. P100 F20.
G80
M05
M09
G91 G28 Z0.
M100
G91 G28 Y0.
M30
%
页:
[1]