ImageVerifierCode 换一换
格式:DOCX , 页数:25 ,大小:58.92KB ,
资源ID:22652279      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/22652279.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(MasterCAM的刀具清单功能Word文档下载推荐.docx)为本站会员(b****8)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

MasterCAM的刀具清单功能Word文档下载推荐.docx

1、O N O T D I S T R I B U T E ! ! *# #| REVISION LOG |# Programmers Note:# CNC 8/15/2005 - grt - Updated for Mill Version 6# #| FEATURES: |# Users Note:# Following Misc_Reals & Misc_Integers are used:# mi1 - Work coordinate system# 0 = Reference return is generated and G92 with the# X, Y and Z home po

2、sitions at file head.# 1 thru 3 = Reference return is generated and G92 with the# X, Y and Z home positions at each tool.# 4 thru 9 = The WCS of G54 thru G59 respectively at each tool.# Options / Usage:move.# It is recommended to start and end cutter compensation on a linear# Rotary axis assumes a Z

3、 plunge at feed into part, position of the# substituted axis at absolute zero position and the retraction from path# by the post call to the G28 machine Z home position.# DEBUG/PROGRAM SWITCHES, debugging and program switches# bug1 : 1 # 1 = Output post to screen, 2 = output leader to screen bug2 :

4、0 # Append postline labels, non-zero is column position? bug3 : 0 # Append whatline no. to each NC line?bug4 : 0 # Append NCI line no. to each NC line?whatno : yes # Do not perform whatline branches?strtool_v7 : 2 #Use Version 7 toolname, 1= path components, 2=string get_1004 : 1 #Find gcode 1004 wi

5、th getnextop?rpd_typ_v7 : 1 #Use Version 7 style contour flags?arcoutput : 2 # 0 = IJK, 1 = R no sign, 2 = R signed neg. over 180 breakarcs : 0 #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs stagetool : 0 # 0 = Do not pre-stage tools, 1 = Stage tools use_gear : no # Set to yes to output ge

6、ar range codes# FORMAT STATEMENTS - n=nonmodal, l=leading, t=trailing, i=inc, d=delta fs 1 0.3 #Decimal, absolute, 4 placefs 2 0.4d #Decimal, deltafs 3 1 0 #Integer, not leadingfs 4 2 0l #Integer, two leadingfs 5 3 0l #Integer, three leadingfs 6 4 0l #Integer, four leadingfs 7 0.1 #Decimal, absolute

7、, 1 placefs 8 0.2 #Decimal, absolute, 2 placefs 9 0.3 #Decimal, absolute, 3 place fs 10 0 4t #No decimal, absolute, four trailing fs 11 0.4t #Decimal, absolute, four trailing# FORMAT ASSIGNMENTS# Axis output formats - Linearfmt X 1 x # X axis positionfmt Y 1 y # Y axis positionfmt Z 1 z # Z axis pos

8、itionfmt X 1 xr # X rapid position from tool change fmt Y 1 yr # Y rapid position from tool change fmt Z 1 zr # Z rapid position from tool change fmt X 1 xh # X home positionfmt Y 1 yh # Y home positionfmt Z 1 zh # Z home position# Axis output formats - Circular# fmt I 2 i # Arc center description i

9、n Xfmt J 2 j # Arc center description in Yfmt K 2 k # Arc center description in Zfmt R 1 arcrad # Arc Radiusfmt R- 1 arcradm # Arc Radius over 180 degree sweep# Axis output formats - Rotary substitution# fmt A 9 xs # Linear to rotary calculation of X fmt B 9 ys # Linear to rotary calculation of Y #

10、Program & Sequence number format# fmt O 6 progno # Program number fmt N 3 n # Sequence nos.# Tool formatfmt T 3 t # Tool Nofmt T 3 first_tool# First Tool Used (bldnxtool: yes) fmt T 3 next_tool # Next Tool Used (bldnxtool: yes) fmt D 3 tloffno # Diameter Offset No fmt H 3 tlngno # Length Offset Nofm

11、t T 1 tnote # Note formatD- 1 toffnote # Note formatH- 1 tlngnote # Note formatDia- 2 tldia # Note format# Spindle Speeds & Feedrate output formats# fmt S 6 speed # Spindle Speedfmt F 8 fr # Feedratefmt F 7 frdeg # Feedrate for rotaryfmt M 3 gear # Gear range# Drill variable formats# fmt G 3 drillre

12、f # Initial / Reference Toggle (G98/G99)fmt P 10 dwell # Dwellfmt Z 1 initht # Initial Heightfmt R 1 refht # Reference Heightfmt Z 1 depth # Depthfmt Q 2 peck1 # First peck increment (positive)fmt 1 peck2 # Second or last peck (positive)fmt 1 peckclr # Safety distance fmt 1 retr # Retract heightfmt

13、F 8 frplunge # Plunge feedrate in drill cycles# Miscellaneous output formatsfmt M 5 ssrange # Spindle Speed Rangefmt C 4 coolant # Coolant# INITIALIZE - initialize system variables and define user variablesqtoolpln : no# MP386 - Enable tool plane optionqtoolopt :# MP386 - Enable tool optimizationarc

14、type : 2 # Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.do_full_arc : 0#Allow full circle output? 0=no, 1=yeshelix_arc :#Support helix arc output, 0=no, 1=all planes, 2=XYplane onlybldnxtool : yes # Build next tool tableldrcode : 65# Leader character dec. equiv. (fleader outputs code)ncldr :

15、 20 # No. of leader characters (fleader outputs code)nobrk :# Omit breakup of x/y & z rapid movesomitcrlf : no # Omit CR/LF omitrefht : no # Dont use reference height on first non-canned Z move omitseq : yes # Omit sequence no.omitz :progname : 1# Omit first Z movement for non-canned-cycles# Use upp

16、ercase for program name scalex : 1.0 # Scaling of .NCI at input - x,y,z,i,j,kscaley :scalez : 1.0 # Scaling of .NCI at input - x,y,z,i,j,k seqmax : 9999 # Max. sequence no.skipmotest: no # Skip motion test in linear spaces : 1 # No. of spaces to add between fields tooltable : 1 # Read for tool table

17、 and pwrtt absswp : 0 # Absolute sweep drlgsel : -1 # Drill Select Initialize maxfrdeg : 9999 # Limit for feed in deg/min absinc : 0 # Absolute/Incremental toggle for modality tcnt : 0 # Count the number of tool changes adelta : 0 # Calculation for deg/min ldelta : 0 # Calculation for deg/min zdelta

18、 : 0 # Calculation for deg/min alzdelta : 0 # Calculation for deg/min frdelta : 0 # Calculation for deg/minfrdegcalc : 0 # Calculation for deg/min circum : 0 # Calculation for deg/min rotstrt : 1 # Flag for first rotary position newglobal : 1 # Error Check (Leave this variable set to 1) # FORMULAS -

19、 global formulasssrange= mi3# Gear Range Selectspeed= abs ( ss )# Absolute spindle speedarcradm= arcrad# Negative arcradspdlselfsg3(ss)# Spindle on selector based on pos. or negss# CANNED CYCLES - select long or short code usecandrill : yes # Use canned cycle for drill usecanpeck : yes # Use canned

20、cycle for Peck usecanchip : yes # Use canned cycle for Chip Break usecantap : yes # Use canned cycle for Tap usecanbore1 : yes # Use canned cycle for Bore1 usecanbore2 : yes # Use canned cycle for Bore2 usecanmisc1 : yes # Use canned cycle for Misc1 usecanmisc2 : yes # Use canned cycle for Misc2 # #

21、 Lookup table definitions - for math functions FLOOK and FRANGE# flktbl 1 3 # Lookup table definitions - table no. - no. entries401000 # Low gear range412500 # Med gear range425000 # Hi gear range# Strings - String labels must start with s - they are not pre-assigned#Select operation notesop00NULL#

22、String definitionsop01END-MIll# sop02sop03DRIllsop04sop05S-MILLsop062D-SWEPT. # sop073D-SWEPT.sop08REVOLVED. # sop09LOFT sop10COONS sop11TRIM sop12FILLET sop13ROUGH sop14OP14 sop15OP15 fstrsel sop00 opcode sopnote# Select motion G codesg00G0# Linear movement at rapid feedratesg01G1# Linear movement

23、at feedratesg02G2# Circular interpolation CWsg03G3# Circular interpolation CCWsgcode# Target stringfstrsel sg00 gcode sgcode# Select incremental or absolute G code sg90 G90 # Absolute G code sg91 G91 # Incremental G code sgabsinc # Target string fstrsel sg90 absinc sgabsinc# Select spindle startsm04

24、 M4 # Spindle reverse sm05 M5 # Spindle off sm03 M3 # Spindle forward spdlon # Target string fstrsel sm04 spdlsel spdlon# Cutter compensation code scc0 # Cutter compensation state not changed sg40 G40 # Cancel cutter compensation sg41 G41 # Cutter compensation left sg42 G42 # Cutter compensation rig

25、ht sg140 G40 # Last linear move cancel cutter comp (see note)# Note: to cancel comp after last move, remove G40 stringpcancelcc# with sg140 and remove # at the postline call sccomp # Target stringfstrsel scc0 ccomp sccomp# Select work plane G code sg17 G17 # XY plane code sg19 G19 # XZ plane code sg

26、18 G18 # YZ plane code sgplane # Target string fstrsel sg17 plane sgplane# Work coordinate systemsg50 G92 # Work coordinate system G codesg51G92II II IIsg52sg53sg54G54sg55G55sg56G56sg57G57sg58G58sg59G59sgwcsfstrsel sg50 mi1 sgwcs# Canned drill cycle string selectsg81 G81 # drill - no dwellsg81d G82

27、# drill - with dwellsg83 G83 # peck drill - no dwellsg83d G83 # peck drill - with dwellsg73 G73 # chip break - no dwellsg73d G73 # chip break - with dwellsg84 G84 # tap - no dwellsg84d G74 # tap - with dwell (selects left hand)sg85 G85 # bore #1 - no dwellsg85d G89 # bore #1 - with dwellsg86 G86 # bore #2 - no dwellsg86d G86 # bore #2 - with dwellsgm1 G81 # misc #1 - no dwellsgm1d G82 # misc #1 - with dwellsgm2 G81 # misc #2 - no dwellsgm2d G82 # misc #2 - with dwell sgdrill # Target string drlgsel = drillcyc * 2 + fsg2 ( dwell ) # 16 possible combinations:# drillcyc = 0

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1