模具论坛

 找回密码
 注册

扫一扫,微信登录

QQ登录

只需一步,快速开始

搜索
热搜: 冲压 注塑 求助
    回车查看更多
    论坛可能已存在您要发布的主题帖 关闭
      查看: 2167|回复: 9

      [分享] 发那克后处理

      [复制链接]
      发表于 2009-6-20 19:17:16 | 显示全部楼层 |阅读模式
      发那克0I后处理

      本帖子中包含更多资源

      您需要 登录 才可以下载或查看,没有帐号?注册

      x

      评分

      1

      查看全部评分

       楼主| 发表于 2009-6-20 19:19:33 | 显示全部楼层
      # Post Name           : MPHAAS
      # Product             : MILL
      # Machine Name        : HAAS
      # Control Name        : GENERIC
      # Description         : GENERIC HAAS MILL POST
      # Associated Post     : NONE
      # Mill/Turn           : NO
      # 4-axis/Axis subs.   : YES
      # 5-axis              : NO
      # Subprograms         : YES
      # Executable          : MP 9.0
      #
      # WARNING: THIS POST IS GENERIC AND IS INTENDED FOR MODIFICATION TO
      # THE MACHINE TOOL REQUIREMENTS AND PERSONAL PREFERENCE.
      #
      # --------------------------------------------------------------------------
      # Revision log:
      # --------------------------------------------------------------------------
      # Programmers Note:
      # CNC 01/12/01  -  Initial post update for V8.1, grt
      # CNC 01/03/01  -  Remove force c in psof, ptlchg, jce
      # CNC 01/09/02  -  Initial post update for V9.0, rjm
      #
      # --------------------------------------------------------------------------
      # Features:     
      # --------------------------------------------------------------------------
      # This post supports Generic Fanuc code output for 3 and 4 axis milling.
      # It is designed to support the features of Mastercam Mill V8.
      #
      # Following Misc. Integers are used:
      #
      # mi1 - Work coordinate system
      #        0 = Reference return is generated and G92 with the
      #            X, Y and Z home positions at file head.
      #        1 = Reference return is generated and G92 with the
      #            X, Y and Z home positions at each tool.
      #        2 = WCS of G54, G55.... based on Mastercam settings.
      #
      # mi2 - Absolute or Incremental positioning at top level
      #        0 = absolute
      #        1 = incremental
      #
      # mi3 - Select G28 or G30 reference point return.
      #        0 = G28, 1 = G30
      #
      #Canned text:
      #    Entering cantext on a contour point from within Mastercam allows the
      #    following functions to enable/disable.
      #    Cantext value:
      #    1 = Stop = output the "M00" stop code
      #    2 = Ostop =  output the "M01" optional stop code
      #    3 = Bld on = turn on block delete codes in NC lines
      #    4 = bLd off = turn off block delete codes in NC lines
      #
      #Milling toolpaths (4 axis)
      #Layout:
      # The term "Reference View" refers to the coordinate system associated
      # with the Top view (Alt-F9, the upper gnomon of the three displayed).
      # Create the part drawing with the axis of rotation about the axis
      # of the "Reference View" according to the setting you entered for
      # 'vmc' (vertical or horizontal) and 'rot_on_x' (machine relative
      # axis of rotation).
      # vmc = 1 (vertical machine) uses the top toolplane as the base machine
      # view.
      # vmc = 0 (horizontal machine) uses the front toolplane as the base machine
      # view.
      # Relative to the machine matrix -
      # Rotation zero position is on the Z axis for rotation on X axis.
      # Rotation zero position is on the Z axis for rotation on Y axis.
      # Rotation zero position is on the X axis for rotation on Z axis.
      # The machine view rotated about the selected axis as a "single axis
      # rotation" are the only legal views for 4 axis milling.  Rotation
      # direction around the part is positive in the CCW direction when
      # viewed from the plus direction of the rotating axis.  Set the variable
      # 'rot_ccw_pos' to indicate the signed direction.  Always set the work
      # origin at the center of rotation.
      #
      #Toolplane Positioning:
      # Create the Cplane and Tplane as the rotation of the machine view about
      # the selected axis of rotation.  The toolplane is used to calculate
      # the position of the rotary axis.  This is the default setting.
      #
      #3 Axis Rotary (Polar)
      # Polar positioning is offered in Mastercam 3 axis toolpaths through the
      # rotary axis options dialog.  The selected toolpath is converted to angle
      # and radius position.  The axis of rotation is forced to zero.
      #
      #Axis substitution:
      # Use the Rotary axis substitution by drawing the geometry flattened
      # from the cylinder.  The rotary axis button must be active for axis
      # substitution information to be output to the NCI file. The radius of
      # the rotary diameter is added to all the Z positions at output.  
      #
      #Simultaneous 4 Axis (11 gcode):
      # Full 4 axis toolpaths can be generated from various toolpaths under the
      # 'multi-axis' selection (i.e. Rotary 4 axis). All 5 axis paths are
      # converted to 4 axis paths where only the angle about the rotation axis
      # is resolved.
      #
      #Drill:
      # All drill methods are supported in the post.  See Simultaneous 4 Axis.
      #
      #Additional Notes:
      # 1) Disable 4 axis by setting the numbered question 164. to 'n'.
      # 2) G54 calls are generated where the work offset entry of 0 = G54,
      #    1 = G55, etc.
      # 3) Metric is applied from the NCI met_tool variable.
      # 4) Incremental mode calculates motion from home position at toolchanges.
      #    The home position is used to define the last position of the tool
      #    for all toolchanges.  
      # 5) The variable 'absinc' is now pre-defined, set mi2 (Misc. Integer) for
      #    the 'top level' absolute/incremental program output.  Subprograms are
      #    updated through the Mastercam dialog settings for sub-programs.
      # 6) Always avoid machining to the center of rotation with rotary axis!
      # 7) Transform subprograms are intended for use with G54.. workshifts.
      #
       楼主| 发表于 2009-6-20 19:21:08 | 显示全部楼层
      是mastcam的后处理,不要搞错了.
      发表于 2009-6-20 20:50:38 | 显示全部楼层
      哦,俺老早就不用了,
      发表于 2009-6-20 20:52:08 | 显示全部楼层
      多谢楼主分享!谢谢!
      发表于 2009-6-20 20:59:14 | 显示全部楼层

      发那克-B类宏程序

      运算符 含义
      EQ 等于(=)
      NE 不等于(≠)
      GT 大于(>)
      GE 大于或等于(≥)
      LT 小于(<)
      LE 小于等于(≤)
      定义 #i=#j
      加法 #i=#j+#k;
      减法 #i=#j-#k;
      乘法 #i=#j*#k;
      除法 #i=#j/#k;
      正弦 #i=SIN[#j];
      反正弦 #i=ASIN[#j];
      余弦 #i=COS[#j];
      反余弦 #i=ACOS[#j];
      正切 #i=TAN[#j];
      反正切 #i=ATAN[#j]/[#k];
      角度以度指定。90°30′
      表示为90.5 度。
      平方根 #i=SQRT[#j];
      绝对值 #i=ABS[#j];
      舍入 #i=ROUND[#j];
      上取整 #i=FIX[#j];
      下取整 #i=FUP[#j];
      自然对数 #i=LN[#j];
      指数函数 #i=EXP[#j];
      或 #i=#j OR #k;
      异或 #i=#j XOR #k;
      与 #i=#j AND #k;

      评分

      1

      查看全部评分

      发表于 2009-10-24 16:17:07 | 显示全部楼层
      请问楼主是在哪个版本上使用的啊??????
      发表于 2009-10-24 16:35:21 | 显示全部楼层
      我用的是西门子,不过好东西先搜藏。谢谢
      发表于 2009-10-27 09:03:27 | 显示全部楼层
      初学者啊 谢谢老大啊
      发表于 2009-10-27 11:04:17 | 显示全部楼层
      用不上啊,不用这个软件啊,
      您需要登录后才可以回帖 登录 | 注册

      本版积分规则

      关闭

      招聘信息 上一条 /5 下一条

      关闭

      求职信息 上一条 /5 下一条

      关闭

      技术求助 上一条 /5 下一条

      QQ|小黑屋|手机版|模具论坛 ( 浙ICP备15037217号 )

      GMT+8, 2025-5-17 21:35

      Powered by Discuz! X3.4

      © 2001-2013 Comsenz Inc.

      快速回复
      返回顶部
      返回列表
       
      客服电话:0577-61318188
      模具论坛交流群:
      模具论坛交流群
      工作时间:
      08:30-17:30