mastercam9.1日本兄弟机床加工中心CNC后处理下载
# --------------------------------------------------------------------------
#| MASTERCAM MP POST PROCESSOR | Always back up your post-processor |
#| CNC Software, Inc. | prior to making any changes. It's easy, |
#| Control Model: FANUC 6M+ | just put a floppy in drive a:, at DOS |
#| Machine Model: GENERIC | type "COPY C:\NC\*.PST A:" |
#| PST File Name: MPFAN.PST/TXT | |
#| Executable : MP.EXE 2.14 | |
# --------------------------------------------------------------------------
#
# ---------------
#| REVISION LOG |
# ------------------------------------------------------------------------
# Programmers Note:
# CNC 9/22/92 - Initial post setup
# pdr 12/01/92 - 1. Removed all graphical characters from post
# 2. Fixed post formatting (line lengths, etc.)
# pbh 12/29/92 - 1. Removed duplicate program assignments (subprg, e, ...)
# 2. Fixed / Updated comments / manual entry
# msf 04/02/93 - 1. Added postline pijk / plane change force I, J, K
# 2. Added sgplane and !fr to prapid
#
# ---------------
#| FEATURES: |
# ------------------------------------------------------------------------
# Users Note:
#
# Following Misc_Reals & Misc_Integers are used:
#
# mi1 - work coordinate system (0=G53, 1=G54, etc)
# mi2 - sub program usage (0=off, 1=on/reps)
# mi3 - Gear Range Select (0=Auto, 1=low, 2=med, 3=high)
# mr1 - Drill Type calculation (0=Tip, dia=Spot/CSink or drill diameter)
# mr2 - Compound Angle for above calculation
#
# Options / Usage
#
# 1. If Rotary axis is used set formula as follows: rotary : yes (else, no)
# 2. If Sub Programs are used set formula to subs = yes & subprg : yes
# a. Program Number is entered during post processing operation
# Sub Prog numbers are entered in parameter screen (See Mi2)
# Note: If "subs:no" is set in formula section then the program
# number is taken from the .NCI file. (Toolpath parameter)
# mi1 - work coordinate system (0=G53, 1=G54, etc)
# mi2 - sub program usage (0=off, 1=on/reps)
# - Example: If (3) entered then program begins with current wcs (mi1)
# and generates (3) wcs calls
# Sample Main Output - G0GS90G54X_Y_
# G43H01Z.1
# G54M98P__
# G55M98P__
# G56M98P__
# etc..
#
# - Sub program numbers must be entered in parm page
# - If sub numbers are the same for ntlchg's then nulls are combined
# - If sub numbers are different then a new sub program is created
# mi3 - Gear Range Select (0=Auto, 1=low, 2=med, 3=high)
# - If used set formula as follows: use_gear : yes (else, no)
# - Set formula set_g1 : 1000 (max low_sp) & set_g2 : 2000 (max med_sp)
# - Set sgear string accordingly
# mr1 - Drill Type calculation (0=Tip, dia=Spot/CSink or drill diameter)
# - Set mr1 for Drill/Spot/CSink Diameter used or required for spot
# - Set mr2 for Compound Angle of drill or Csink
# - Post will add additional depth to NC output
# mr2 - Compound Angle for above calculation
#
# --------------------------------------------------------------------------
#
# ROTARY INFO
# Toolplane demo post - 1014 line in -.nci calls PROT
# Tool axis vector is now available as vtoolx, vtooly, vtoolz
# Rotation angles A,B and C are found from this vector
# Rotary Positioning Support for vertical/horizontal axis rotary table
# (B axis).
# Axis Substitution is activated, although a custom post may be required.
# 4th/5th Axis Support of Head as illustrated below. Although, provisions must
# be made for actual XYZAB machine location for practical use. As application
# deems necessary.
# EX: Tilt in XZ plane ( A axis )
# EX: Tilt in YZ plane ( B axis )
# New variable ROTAXTYP = 1 to inhibit error message in 4-axis positioning.
# This variable may change.
#
# --------------------------------------------------------------------------
#
# --- NOTE: This post uses the 'subout' functions of the MP.EXE ---
# Extension strings override default extensions if given
# String can be supplied with or without dot (period)
# sextnc ncc # -.NC extension override string
# sextsub sbb # -.SUB extension override string
# sextaux axx # -.AUX extension override string
# The --.pst file must set a flag to open the --.sub and --.aux files:
#subprg : yes # Open -.SUB file? yes/no (set to: YES)
#auxprg : yes # Open -.AUX file? yes/no (set to: no)
# SUBOUT switches output to:
# 0 --.NC file (main)
# 1 --.SUB file
# 2 --.AUX file
# MERGESUB *Merges --.sub file into main (--.nc) / no delete
# MERGEAUX *Merges --.aux file into main (--.nc) / no delete
# CLEARSUB *Clears --.sub file / delete
# CLEARAUX *Clears --.aux file / delete
# nchar *No. of characters in - .nc file
# nchsub *No. of characters in - .sub file
# nchaux *No. of characters in - .aux file
# --------------------------------------------------------------------------
# User defined input - prompt / entry occurs during posting
# FQ 1 VARNAME TEXT TO BE ENTERED
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
# Format Statements - i=incr, n=nonmodal, l=leave ldg, t=leave trlg, d=delta
# --------------------------------------------------------------------------
fs 1 0.4l
fs 2 0.4
fs 3 4 0
fs 4 1 0ln
fs 5 0.1t
fs 6 2 0ln
fs 7 4 0n
fs 8 0.4li
fs 9 0.4ln
fs 10 1 0
# --------------------------------------------------------------------------
# Format Assignments
# fmt X 1 x - x, y, z, i, j, k, xh, yh, zh, xr, yr, zr
# are init. fs 1, with 'normal' prefix letter
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
# Axis output formats - Linear
# --------------------------------------------------------------------------
fmt X 1 x # X Axis Pos
fmt Y 1 y # Y Axis Pos
fmt Z 1 z # Z Axis Pos
fmt X 1 xr # X Rapid Pos
fmt Y 1 yr # Y Rapid Pos
fmt Z 1 zr # Z Rapid Pos
fmt X 1 subrapx # Recall Sub Rapid X
fmt Y 1 subrapy # Recall Sub Rapid Y
fmt Z 1 subrapz # Recall Sub Rapid Z
fmt X 1 xh # X Home Pos
fmt Y 1 yh # Y Home Pos
fmt Z 1 zh # Z Home Pos
# --------------------------------------------------------------------------
# Axis output formats - Circular
# --------------------------------------------------------------------------
fmt I 1 i # Arc center description in X
fmt J 1 j # Arc center description in Y
fmt K 1 k # Arc center description in Z
fmt 1 xc # Arc Center X
fmt 1 yc # Arc Center Y
fmt R 9 arcrad # Arc Radius
fmt 1 sa # Start angle for arc
fmt 1 so # Start octant for arc
fmt 1 ea # End angle for arc
fmt 1 eo # End octant for arc
fmt 1 sweep # Angle between start and end of arc
# --------------------------------------------------------------------------
# Axis output formats - Rotary / Tilt
# --------------------------------------------------------------------------
fmt A 1 a # A-axis rotation in degrees
fmt B 1 b # B-axis rotation in degrees
fmt B 1 c # C-axis rotation in degrees
fmt 1 axis # Axis of rotation 0=none, 1=X, 2=Y, 3=Z
fmt A 1 xangle # Linear to rotary calc X
fmt B 1 yangle # Linear to rotary calc Y
fmt 1 frot # Vector calc
fmt X 1 xnci # Raw X Pos (NCI) / Endpt of tool axis vector
fmt Y 1 ynci # Raw Y Pos (NCI) / Endpt of tool axis vector
fmt Z 1 znci # Raw Z Pos (NCI) / Endpt of tool axis vector
fmt U 1 u # X Pos / Endpt of tool axis vector
fmt V 1 v # Y Pos / Endpt of tool axis vector
fmt W 1 w # Z Pos / Endpt of tool axis vector
fmt 1 tlnga # Tool Length used for 5 Axis
fmt 1 tlngb # Tool Length used for 5 Axis
fmt 1 tlngc # Tool Length used for 5 Axis
fmt 1 indexangle# Index angle (NCI 900)
fmt 1 rotaxis # Rotary Axis Substitution 0=None/1=X/2=Y
fmt 1 rotdia # Rotary Axis Substitution Diameter
# --------------------------------------------------------------------------
# Program & Sequence number format
# --------------------------------------------------------------------------
fmt O 3 fprogname # Main Program No if subs : yes (User prompt)
fmt O 7 progno # Program number
fmt P 7 subno # Sub Program No.
fmt N 7 seqno # Starting Sequence No.
fmt N 7 seqinc # Sequence No.Increment
fmt N 7 n # Main Program Seq No's
fmt N 7 sn # Sub Program Seq No's
如果
1不会操作
2需要优盘发送(补邮费和优盘费用)
可以点击下面联系客服人工发送
售后咨询发货等问题联系
详情>点击这里

标签: mastercam9.1后处理
还木有评论哦,快来抢沙发吧~