# This custom command will activate the turbo process mode for # the 3-axis mill posts. The execution time will be about 5 to # 10 times faster than the normal process. #
# Special Blocks are included in any 3-axis mill post created # by Post Builder v3.2.1 and on. #
# The blocks being output are formatted similar to that of the # Fanuc type of controllers. #
# The following turbo blocks will appear in the Block section # of N/C Data Definitions in Post Builder: #
# linear_move_turbo # circular_move_turbo # rapid_move_turbo
# sequence_number_turbo #
# In Post Builder, you may modify the Word parameters from
# the N/C Data Defitions dialog to configure the output of that # word used within the turbo blocks. You may also modify the Format # parameters. You may not, however, edit the expression in the # words, remove or add words in any turbo block. #
# All rapid motion is output in a single move. Any custom # commands in the linear move, circular move, rapid move and # mom_before_motion event markers will be ignored. #
global mom_kin_machine_type
if {$mom_kin_machine_type == \
uplevel #0 {
set mom_kin_is_turbo_output \ MOM_reload_kinematics } } }
¾àÏÂÒ»ÃüÁî¿ÕÁ½ÐÐ
¿ÕÁ½ÐÐ
¿ÕÁ½ÐÐ
ÐÞ¸ÄÔ²»¡×î´ó°ë¾¶ÔÚºó´¦ÀíÆ÷ÀïÃæ£º
ºó´¦Àí±äÅú´¦Àí
ÆäʵÏëÈÃÄãµÄºó´¦ÀíÒ¡ÉíÒ»±ä£¬³ÉΪÅú´¦Àí£¬Ò²²»ÊÇʲôÄÑÊ£¬ÎÒÓиö·½·¨£¬´ó¼Ò¿ÉÒÔÊÔÊÔ£¬²»¹ý¼ÇµÃ»ØÌù£¬²»È»ÎÒ»á±ÉÊÓÄãÓС£¡£¡£¡£¡£
1£ºÏÈ´ò¿ªÄãµÄºó´¦Àí*.TCLÎļþÕÒµ½SET MOM_SYS_GROUP_OUTPUT ÉèΪON
2£º´ò¿ªÄãµÄUG°²×°Ä¿Â¼ÏÂNX3.0\\MACH\\RESOURCE\\postprocessor\\ϵÄUGPOST_BASE.TCLÎļþÕÒµ½
set grp_ptp_name \¸Ä³É
set grp_ptp_name \3£ºÕÒµ½ proc mom_start_of_groupÏÂÃæµÄ
if {$mom_sys_ptp_output == \ ¸Ä³É
if {$mom_sys_ptp_output == \4:¼ÌÐøÕÒµ½ proc mom_end_of_groupÏÂÃæµÄ
if {$mom_sys_ptp_output == \ ¸Ä³É
if {$mom_sys_ptp_output == \ $ptp_file_name 5:±£´æ UGPOST_BASE.TCLÎļþ
6 ½øÈëUG¼Ó¹¤Ä£¿é£¬µã×îÉÏÃæµÄNC PROGRAM×éÉÏÃæ½øÐкó´¦Àí¾ÍOKÁË£¡
µ«»¹ÊÇÓÐÒ»µãµãСÎÊÌ⣬Èçͼ£¨1£©Ö»ÄÜÒÔ¸¸ÏµÃû´¦ÀíÒ»¸öµ¥¶ÀµÄ³Ìʽ£¬Èçͼ£¨2£©¾Í¿ÉÒÔ´¦Àí¼¸¸öµ¥¶ÀµÄ³Ìʽ£¬
Óж®Õâ¸öµÄÅóÓÑÒ²°ïæ´¦ÀíÒ»ÏÂÕâ¸öÎÊÌâ