1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

Lập trình gia công tiện phay mastercam 2023

122 3 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 122
Dung lượng 6,19 MB
File đính kèm lập trình gia công tiện phay mastercam.rar (6 MB)

Nội dung

giáo trình Lập trình gia công tiện phay mastercam 2023 được soạn thảo đầy đủ và dễ hiểu và chi tiết từ công đoạn cài đặt phôi, dao, cài đặt máy, lập trình gia công , tới xuất chương trình để đưa vào máy gia công thực tế được soạn thảo hết sức chi tiết giúp tất cả chúng ta có thể đọc và thực hành được.

Generic Fanuc Mill-Turn TT Main/Sub Spindles & Upper/Lower Turrets Mastercam 2023 Generic Fanuc Mill-Turn TT (Main/Sub Spindles & Upper/Lower Turrets) Copyright: 1998 - 2022 In-House Solutions Inc All rights reserved Software: Mastercam 2023 Date: December 13, 2021 Notice In-House Solutions Inc reserves the right to make improvements to this manual at any time and without notice Disclaimer Of All Warranties And Liability In-House Solutions Inc makes no warranties, either express or implied, with respect to this manual or with respect to the software described in this manual, its quality, performance, merchantability, or fitness for any particular purpose In-House Solutions Inc manual is sold or licensed "as is." The entire risk as to its quality and performance is with the buyer Should the manual prove defective following its purchase, the buyer (and not In-House Solutions Inc., its distributer, or its retailer) assumes the entire cost of all necessary servicing, repair, of correction and any incidental or consequential damages In no event will In-House Solutions Inc be liable for direct, indirect, or consequential damages resulting from any defect in the manual, even if In-House Solutions Inc has been advised of the possibility of such damages Some jurisdictions not allow the exclusion or limitation of implied warranties or liability for incidental or consequential damages, so the above limitation or exclusion may not apply to you Copyrights This manual is protected under International copyright laws All rights are reserved This document may not, in whole or part, be copied, photographed, reproduced, translated or reduced to any electronic medium or machine readable form without prior consent, in writing, from In-House Solutions Inc Trademarks Mastercam is a registered trademark of CNC Software, Inc Generic Fanuc Mill-Turn TT Mill - Turn Introduction Topics Covered What Is Mill -Turn? Mill -Turn Workflow Mill-Turn Machine File Generic Mill-Turn Machines How to add the machine to the list n n n n n Mill-Turn Job setup Topics Covered n n n n n n n Set the Initial Spindle, the Stock Type and Part Handling Select the part geometry and create the sub spindle geometry Set the bar stock, the number of parts to machine and the extra stock amounts on the ends of the part Define the Tool plane origin of the initial spindle Define how much the part is sticking out of the chuck Define the Tool plane origin of the sub spindle Set the location where the sub spindle will grab the part and define a cutoff tool if needed Left Spindle Toolpaths Topics Covered n n n n n n Sync Manager & Simulation Topics Covered n n n n Part Handling Lathe Face toolpath Set the Axis combination/ Spindle Origin Lathe Rough toolpath Lathe Finish toolpath Backplot Verify Introduction to Mastercam Code Expert Sync Manager IOF file Mastercam Simulation Topics Covered n n Pickoff-Pull-Cutoff toolpath group Part Handling Simulation Right Spindle Toolpaths Topics Covered n n n n n n Right Spindle Sync & Simulation Topics Covered n n n n Post Processing, IOF & Tokens Right Spindle Lathe Face toolpath Set the Axis combination/ Spindle Origin Right Spindle Lathe Rough toolpath Right Spindle Lathe Finish toolpath Backplot Verify Mastercam Simulation Sync Manager Edit Part Handling toolpath Change Lower Turret Park Topics Covered n n n n Post Process from Sync Manager Modify NC Output Settings in Properties Edit tokens in Machine Explorer Edit tokens in Sync Manager Table Of Contents Mill - Turn Introduction What Is Mill -Turn? 10 Mill -Turn Workflow 11 How To Add The Machine 14 Mill-Turn TT Job Setup 15 Introduction: 16 Step 1: Select The Machine 17 Step 2: Machine Configuration 19 Step 3: Setup Type 21 Step 4: WCS 21 Step 5: Part Geometry 22 Step 6: Bar Stock 23 Step 7: Toolplane Origin Z 24 Step 8: Stick Out 25 Step 9: Right Spindle Toolplane Origin Z 26 Step 10: Pickoff 26 Step 11: Viewsheets 28 Step 12: Save The File 29 Fanuc TT Left Spindle Toolpaths 31 Introduction: 32 Step 1: Open The File 33 Step 2: Face The Part 34 Step 3: Rough The Part Using The Lower Turret 36 Step 4: Finish The Part Using The Upper Turret 44 Step 5: Save The File 48 Sync Manager & Simulation 49 Introduction: 50 Step 1: Open The File 51 Step 2: Sync Manager 52 Step 3: Mastercam Simulation 54 Step 4: Basic Understanding Of IOF Files 59 Step 5: Sync The Upper And The Lower Streams 60 Step 6: Simulate The Synchronized Toolpaths 66 Step 7: Save The File 67 Part Handling 69 Introduction: 70 Step 1: Pickoff - Cutoff Group 72 Step 2: Simulate The Part Handling 74 Step 3: Save The File 77 Right Spindle Toolpaths 79 Introduction: 80 Step 1: Open The File 81 Step 2: Create The Right Spindle Face Toolpath 81 Step 3: Rough The Part Using The Lower Turret 84 Step 4: Finish The Part Using The Upper Turret 87 Step 5: Save The File 91 Right Spindle Sync & Simulation 93 CONCEPTS COVERED IN THIS LESSON: 94 Step 1: Open The File 95 Step 2: Mastercam Simulator 96 Step 3: Sync The Right Spindle 99 Step 4: Simulate All Toolpaths 104 Step 5: Change Lower Turret Park 106 Step 6: Save The File 107 Post Processing, IOF & Tokens 109 CONCEPTS COVERED IN THIS LESSON: 111 Step 1: Post The Toolpaths 112 Step 2: Modifying NC Output Settings 114 Step 3: Customize The machine File 116 Step 4: Modify Operation Tokens In Sync Manager 119 Step 5: Save The File 122 Mill - Turn Introduction Mill - Turn Introduction What Is Mill -Turn? WHAT IS MILL -TURN? Mastercam Mill-Turn combines the power of Mastercam's Mill and Lathe toolpaths with a suite of tools and technologies that let you program advanced multi-function, multi-stream lathes and machining centers Mill -Turn machines consist of machines with Upper and Lower Turrets, B-Axis Heads and Lower turret and B-Axis Heads The Mill-Turn platform has specific license requirements depending upon the complexity of the machines being programmed and the user access level Mastercam Mill-Turn is a set of tools and features which runs on top of Lathe It uses licenses differently than other Mastercam products Mill-Turn requires both a license for the product, and a license for each individual machine file This is different than Mastercam Mill and Lathe, which only require a product license A typical Mill-Turn installation therefore requires the following licenses: n n n n Mastercam Mill-Turn Mastercam Lathe One or more Mastercam Mill licenses for the desired level of Mill functionality: Mill, Mill 3D, Multiaxis A license for each individual machine file While Mill-Turn uses the same powerful toolpaths as Lathe, the programming environment is more advanced and includes a number of tools to meet the demands of advanced multi-stream machines n n n n n n n n n Mill-Turn includes a detailed Job Setup module You can select and mount work holding components for each job, tell Mastercam about your stock and part-handling needs, and creates a complete set of planes and viewsheets to simplify programming on each spindle A separate Tool Setup Manager gives you complete control over how to organize tooling on each turret You can completely program your turret setup with all of your tools before start creating toolpaths Or you can let Mastercam it for you after you have created toolpaths A set of intuitive Mill Setup types uses your Job Setup information to greatly simplify the creation of Mill operations New tools let you create event-based part-handling operations Mill-Turn's Sync Manager application lets you synchronize operations in different streams and access machine-specific options that have been created for you by your machine developer Use these to provide information to your machine's control that is not available in Mastercam, or to program peripherals like part catchers Component libraries let you create and save libraries of chucks, jaws, collets, and tool locator components Instead of the machine definition–control definition–post architecture used in other Mastercam products, Mill-Turn serializes these resources plus many others into a single machine file Hundreds of machine files are available for purchase, including models for Fanuc, Siemens, and Okuma controls Mill-Turn uses Mastercam's next-generation posting language, MP.NET This lets Mastercam process multi-stream toolpath data in a robust, efficient, scalable way Mill-Turn offers full Machine Simulation 10 Right Spindle Sync & Simulation Step 6: Save The File 108 Post Processing, IOF & Tokens 109 Post Processing, IOF & Tokens Step 6: Save The File INTRODUCTION Basic understanding of the post processing in Mill-Turn The MP.NET is the programming language used for the post processor in Mill-Turn The MP.NET does not have the same separation between machine definition, control definition and post processor as in the regular MP In MP.NET, all of these components are saved in one file with a machine extension In MP.NET the post processor is a control document that is saved in machine file The control file has two layers: The lower layer of definitions called tokens that define the G-codes, M-codes, formats, etc This layer replaces the Control Definition used in the legacy MP and includes more functions The upper layer is the processing logic that contains the postblocks and logic that manipulates the tokens to generate the NC output understood by the CNC machine This layer replaces the.pst file used in legacy MP In MP.NET working on the post processor includes both writing code and managing the set of tokens and their properties The Code Expert is the MP.NET development environment The end user has access only to some tokens that represent properties from Mastercam’s legacy control definition (such as misc values) and machine definition (such as coolant strategies) Those tokens are included in the Sync Manager or in the Consumer Layer in the Machine explorer window The diagram shows you the IOF and Post Processing data flow diagram 110 Post Processing, IOF & Tokens CONCEPTS COVERED IN THIS LESSON: OVERVIEW OF EXERCISE: In this lesson you will learn how to post process the toolpaths in Mill-Turn You will open the Sync Manager and launch the Post processor from there You will check the code in Code Expert using Multi -Stream Views that display both the Upper and the Lower Streams You will also learn how to change the NC Output Settings using the Machine Properties You will modify operation tokens in Machine Explorer and Sync Manger CONCEPTS COVERED IN THIS LESSON: n n n n Post Process from Sync Manager Modify NC Output Settings in Properties Edit tokens in Machine Explorer Edit tokens in Sync Manager 111 Post Processing, IOF & Tokens Step 1: Post The Toolpaths STEP 1: POST THE TOOLPATHS n From the QAT, select the Open icon n Select RightSpindleToolpaths_ Sync_TT.MCAM n In the Toolpaths Manager, click on the Select all operations icon to select all the toolpaths 1.1 Open Sync Manager n From the Toolpaths Manager, select Post all selected operations icon n Mastercam Code Expert will be launched, and from the Sync Manager select the G1 Post button as shown 112 Post Processing, IOF & Tokens n Step 1: Post The Toolpaths The Upper Stream and the Lower Stream NC files open side be side as shown Note: The G code that you have created will appear on the screen, if the code looks okay you can shut the window down without saving it If you need to change the code, make sure you save it before you close the window down How the program is sent to the machine depends on the shop setup 113 Post Processing, IOF & Tokens Step 2: Modifying NC Output Settings STEP 2: MODIFYING NC OUTPUT SETTINGS You can change the default NC Output Settings in the machine Properties.The Properties pane lists the values associated with the item currently selected in Mastercam Code Expert In this exercise you will learn how to change the NC output location and the NC name 2.1 Changing the NC Output in Properties n Select the RightSpindleToolpaths_Sync.iof.of n To open Machine Explorer, click on the tab to the right of the Sync Manager as shown Note: You can also select the View tab in the Sync Manager and select Machine Explorer as shown n n In the Machine Explorer, you can see that the Generic Fanuc Mill-Turn TT machine is selected Click on it 114 Post Processing, IOF & Tokens n To see the Properties pane, click the Properties tab in the lower right of Code Expert's window, or click Properties in the View tab n The default location of where the NC code is saved is: C:\Users\\Documents\My Mastercam 2023\Mastercam\Mill Turn\NC n If you want to change the location where the NC output will be generated click on the dots towards the end of the NC Output Folder and navigate to a different folder location Step 2: Modifying NC Output Settings 2.2 Renaming the file at the time of posting If you want to have the option of re-naming the file at the time of posting you can change the Overwrite Mode to Prompt n In the Overwrite Mode click on the drop arrow and select Prompt as shown 115 Post Processing, IOF & Tokens Step 3: Customize The machine File STEP 3: CUSTOMIZE THE MACHINE FILE You can configure the machine file based on your preference and specific application needs These would typically be setup once and then typically never changed Examples would be sync numbering, tool offset numbering, use of space in the NC file… etc The Consumer layer by default is populated with a number of tokens that replicate properties that used to be found in Mastercam Control Definition, as well as other properties that are typically configured by the end user 3.1 Checking the tokens in the Consumer Control Layer n In the Machine Explorer, double click on the Consumer, in the Control Layers n The Control panel opens as shown There are three categories that you can choose from : Control Definition, Output Settings and NC Configuration n 116 Post Processing, IOF & Tokens n Step 3: Customize The machine File In Control Definition category, click the “+” sign to see the individual options within the category Note: These settings serve a wide variety of functions Many of the settings are selfexplanatory and can easily be configured by browsing the interface n To find information of a setting you can search it within the machine Application Guide located in the Machine Explorer in the Documentation 117 Post Processing, IOF & Tokens Step 3: Customize The machine File 3.2 Using the Consumer layer to set the coolant Strategies In the Mill -Turn toolpaths, there are no Coolant and no Canned Text settings available in the toolpath parameters There are four Coolant Strategies available for this Generic Fanuc Mill-Turn TT machine n In the Control file, click in the Category and select the Output Settings as shown n Expand the Coolant and click in field to see the list of the Strategies available as shown Hover the cursor above each strategy to get a description of what it does as shown n n For our tutorial select Strategy - Coolant flood on (M08) before Approach and off (M09) before retract as shown n Select Save icon to save the coolant strategy in the Consumer layer Note: The change is not going to be reflected in the existing operations If you create a new operation the coolant in the token will be set to Strategy n Close the Control tab 118 Post Processing, IOF & Tokens Step 4: Modify Operation Tokens In Sync Manager STEP 4: MODIFY OPERATION TOKENS IN SYNC MANAGER MP.NET allows you through the Sync Manager to set tokens that in the legacy Mastercam were included in the miscellaneous integers and reals, coolant, canned text or Change at Point function You can set token as defaults in the Machine Explorer, Control Layer Consumers, or in each operation of the Upper and Lower Streams The Machine Group also allows you to set some of the tokens 4.1 Set the Coolant tokens to all the lathe Toolpaths To set the coolant to all the Lathe toolpaths you can select the desired toolpaths using Window selection keys (Shift or Ctrl) and then open the last operation token and set the coolant to the strategy you want to be used If you want to use different coolant strategy for some operations just set their coolant token separately n In the Sync Manager, scroll to the top of the Upper stream and select the Lathe Face and then hold down the Ctrl key and select the Lathe Finish Holding down the Ctrl key select the Lathe Rough operations from the Lower stream and the last Lathe Face and Lathe Finish operations in the Upper stream 119 Post Processing, IOF & Tokens Step 4: Modify Operation Tokens In Sync Manager n Once all these toolpaths are selected click on the upside down triangle next to the Lathe Face and enable the third strategy in the Coolant as shown n Click again on the upside down triangle and save the IOF file again n Select the G1 button to post the file again n The G-code appears in the Editor and you can see the Coolant On code M108 and Coolant Off code M109 as shown 4.2 Change the Coolant strategy for each operation in the Sync Manager n In the Upper Stream, click on the upside down triangle next to the Lathe Finish operation as shown 120 Post Processing, IOF & Tokens Step 4: Modify Operation Tokens In Sync Manager Note: The token options are based on the Machine selected For the Generic Fanuc Mill-Turn TT, you can only change the Coolant, Reference Position and Spindle range n n n To change the coolant strategy or to turn coolant off, click on the drop down arrow as shown Select Off for our example Click again on the upside down triangle to close the tokens window n Select the Save icon to makes sure that the changes made in Sync Manager are saved n Select the G1 button to post the file again 121 Post Processing, IOF & Tokens n Step 5: Save The File In the Toolpath Group -2- Upper Stream, scroll down to Operation # Note: No coolant is enabled in Operation #3, while in Operation #1 you can see the coolant activated at line 28 (M108) and deactivated on line 39 (M109) n Notice that No coolant is enabled in Operation #3 STEP 5: SAVE THE FILE n Use Save As icon from the QAT, and save the file, to the desired location, as SetTokens_TT.MCAM 122

Ngày đăng: 03/08/2023, 00:15

w