MARC 155B CNC Instructions: Difference between revisions

From SEPT Knowledge Base
(GCode Generation Instructions)
No edit summary
Line 23: Line 23:
# For each of the '''bodies''' set the material by:
# For each of the '''bodies''' set the material by:
## Right click on the body
## Right click on the body
## Select ''Physical Material'' [[File:Fusion 360 Material Body Selection .png]]
## Select ''Physical Material''<br/>[[File:Fusion 360 Material Body Selection .png]]
## Choose the material that will be used i.e. ''Polyethylene, High Density'' [[File:Fusion 360 HDPE Material Selection.png]]
## Choose the material that will be used i.e. ''Polyethylene, High Density''<br/>[[File:Fusion 360 HDPE Material Selection.png]]
## Drag the material to the material onto the body
## Drag the material to the material onto the body


Line 34: Line 34:
====== Machine Import ======
====== Machine Import ======


# Select Machine Library from the manage section in the ribbon by either clicking on the dropdown and selecting ''Machine Library'' or by clicking the icon that looks like a machine (2nd from the left in the screenshot below) [[File:Fusion 360 Machine Library Selection Item.png]]
# Select Machine Library from the manage section in the ribbon by either clicking on the dropdown and selecting ''Machine Library'' or by clicking the icon that looks like a machine (2nd from the left in the screenshot below)<br/>[[File:Fusion 360 Machine Library Selection Item.png]]
# In the machine library, select the Autodesk library
# In the machine library, select the Autodesk library
# Check the box in the filter section to select the ''Milling'' capability
# Check the box in the filter section to select the ''Milling'' capability
# Find the Autodesk Generic 3-axis router, or similar 3 axis mills where the description indicates that <u>XYZ axis on the Head</u> [[File:Fusion 360 Machine Library mill selection.png]]
# Find the Autodesk Generic 3-axis router, or similar 3 axis mills where the description indicates that <u>XYZ axis on the Head</u><br/>[[File:Fusion 360 Machine Library mill selection.png]]
# Drag the machine to the '''My Machines - Local''' library
# Drag the machine to the '''My Machines - Local''' library
# Select the name and location of the '''CURRENT''' project to save the model to. [[File:Fusion 360 Model Download save location.png]]
# Select the name and location of the '''CURRENT''' project to save the model to.<br/>[[File:Fusion 360 Model Download save location.png]]
# The machine should now be in the local machine library. Click on close. [[File:Fusion 360 Local Machine library.png]]
# The machine should now be in the local machine library. Click on close.<br/>[[File:Fusion 360 Local Machine library.png]]


====== Machine Setup ======
====== Machine Setup ======
Each setup is used to individually indicate a physical setup that will be done and where the system is referencing the co-ordinates. Only the general G54 home position will be used and explained in the documentation below. Use of secondary, tertiary and other coordinates are out of the scope of this configuration and setup.  
Each setup is used to individually indicate a physical setup that will be done and where the system is referencing the co-ordinates. Only the general G54 home position will be used and explained in the documentation below. Use of secondary, tertiary and other coordinates are out of the scope of this configuration and setup.  


# Right click on Setups and select New Setup [[File:Fusion 360 Machine Setup - Operational.png]]
# Right click on Setups and select New Setup<br/>[[File:Fusion 360 Machine Setup - Operational.png]]
# In the ''Setup tab'', select the machine from earlier in the Machines option by clicking on ''Select'' in the ''Machine'' section [[File:Fusion 360 Machine Setup - Selection.png]]
# In the ''Setup tab'', select the machine from earlier in the Machines option by clicking on ''Select'' in the ''Machine'' section<br/>[[File:Fusion 360 Machine Setup - Selection.png]]
# Click on the '''My Machines - Local''' library and highlight the imported machine.
# Click on the '''My Machines - Local''' library and highlight the imported machine.
# Click on Select button (NOT Close). This will select the machine and allow for simulations.  
# Click on Select button (NOT Close). This will select the machine and allow for simulations.  
# On the ''Stock tab'', in the S''tock'' section, click on the mode dropdown and select '''Fixed size box''' [[File:Fusion 360 Machine Setup - Model Sizing.png]]
# On the ''Stock tab'', in the S''tock'' section, click on the mode dropdown and select '''Fixed size box'''<br/>[[File:Fusion 360 Machine Setup - Model Sizing.png]]
# Enter the MEASURED size of the stock in, and select your reference point where you want to cut the part out of. For accuracy of the model, the center is recommended.
# Enter the MEASURED size of the stock in, and select your reference point where you want to cut the part out of. For accuracy of the model, the center is recommended.
# <u>DO NOT CLOSE THE SETUP CONTINUE BELOW</u>
# <u>DO NOT CLOSE THE SETUP CONTINUE BELOW</u>
Line 55: Line 55:
  Only complete the items below if you need to correct the model orientation in the machine.  
  Only complete the items below if you need to correct the model orientation in the machine.  


# Back in the S''etup tab,'' in the ''Work Coordinate System (WCS)'' click on orientation [[File:Fusion 360 Machine Setup - Model orientation config.png]]
# Back in the S''etup tab,'' in the ''Work Coordinate System (WCS)'' click on orientation<br/>[[File:Fusion 360 Machine Setup - Model orientation config.png]]
# Select the '''known''' axis that aligns with the model that you have in your physical setup. X & Y is usually easiest as you can align that with the machine x and y coordinate directions
# Select the '''known''' axis that aligns with the model that you have in your physical setup. X & Y is usually easiest as you can align that with the machine x and y coordinate directions
# for each of the axis, select the corresponding item on the model by either selecting a known line, face or feature that aligns in the correct plane for the model and axis [[File:Fusion 360 Machine Setup - Model Axis selection.png]]
# for each of the axis, select the corresponding item on the model by either selecting a known line, face or feature that aligns in the correct plane for the model and axis<br/>[[File:Fusion 360 Machine Setup - Model Axis selection.png]]
# Select the G54 location on the model/stock in a known accessible location by clicking on one of the white dots on the '''STOCK BOX POINT''' [[File:Fusion 360 Machine Setup - G54 selection with axis alignment.png]]
# Select the G54 location on the model/stock in a known accessible location by clicking on one of the white dots on the '''STOCK BOX POINT'''<br/>[[File:Fusion 360 Machine Setup - G54 selection with axis alignment.png]]
# Click on '''OK'''
# Click on '''OK'''


Line 64: Line 64:


# Ensure that the Origin Selection is set to  '''Stock Box Point'''
# Ensure that the Origin Selection is set to  '''Stock Box Point'''
# Select the Stock point by clicking on one of the white dots on the stock box point. [[File:Fusion 360 Machine Setup - G54 with model configuration.png]]
# Select the Stock point by clicking on one of the white dots on the stock box point.<br/>[[File:Fusion 360 Machine Setup - G54 with model configuration.png]]
# Click on '''OK'''
# Click on '''OK'''


Line 74: Line 74:
For this operation, a simple example of clearing a single pocket will be showcased.  
For this operation, a simple example of clearing a single pocket will be showcased.  


# Select the 2D Operations dropdown and select 2D Pocket [[File:Fusion 360 Machining Operation - 2D Pocket Selection.png]]
# Select the 2D Operations dropdown and select 2D Pocket<br/>[[File:Fusion 360 Machining Operation - 2D Pocket Selection.png]]
# In the ''Tool tab'' and the ''tool section'', click on ''Select'' to create a new tool [[File:Fusion 360 Machining Operation - Tool Selection.png]]
# In the ''Tool tab'' and the ''tool section'', click on ''Select'' to create a new tool<br/>[[File:Fusion 360 Machining Operation - Tool Selection.png]]
# Using the list that you had created earlier find the tool that you want to use
# Using the list that you had created earlier find the tool that you want to use
# Select the '''Fusion Library''' - '''Milling tools''' from the menu on the left and turn on the library if required [[File:Fusion 360 Machining Tool library selection.png]]
# Select the '''Fusion Library''' - '''Milling tools''' from the menu on the left and turn on the library if required<br/>[[File:Fusion 360 Machining Tool library selection.png]]
# In the filters on the right, select the correct type of mill that you want to create the operation for i.e. ''Flat End Mill''
# In the filters on the right, select the correct type of mill that you want to create the operation for i.e. ''Flat End Mill''
# Find and select the correct milling bit that you are creating the operation with.  '''IT IS HIGHLY RECOMMENDED THAT YOU MEASURE YOUR MILL BIT TO ENSURE YOU HAVE THE RIGHT SIZE.''' [[File:Fusion 360 Milling Bit selection .png]]
# Find and select the correct milling bit that you are creating the operation with.  '''IT IS HIGHLY RECOMMENDED THAT YOU MEASURE YOUR MILL BIT TO ENSURE YOU HAVE THE RIGHT SIZE.'''<br/>[[File:Fusion 360 Milling Bit selection .png]]
# In the cutting data section select the correct material and operation type that will be completed. [[File:Fusion 360 Machining Speeds and Feeds defaulting.png]]
# In the cutting data section select the correct material and operation type that will be completed.<br/>[[File:Fusion 360 Machining Speeds and Feeds defaulting.png]]
# Click on Select
# Click on Select
# Change the coolant type to ''Disabled'' from the default that reads ''Flood'' [[File:Fusion 360 Machining Coolant Change.png]]
# Change the coolant type to ''Disabled'' from the default that reads ''Flood''<br/>[[File:Fusion 360 Machining Coolant Change.png]]
# In the ''Geometry Tab'' under the ''Geometry section'', click on ''Select.''  
# In the ''Geometry Tab'' under the ''Geometry section'', click on ''Select.''  
# Click on the model feature that needs to be machined [[File:Fusion 360 Machining Pocket Selection.png]]
# Click on the model feature that needs to be machined<br/>[[File:Fusion 360 Machining Pocket Selection.png]]
# In the ''Heights Tab'', check that the clearance height is '''at least''' clearing the fixture mounting hardware.  Screws through the materials should be fine with a 10mm clearance. [[File:Fusion 360 Machine clearance heights for fixturing.png]]
# In the ''Heights Tab'', check that the clearance height is '''at least''' clearing the fixture mounting hardware.  Screws through the materials should be fine with a 10mm clearance.<br/>[[File:Fusion 360 Machine clearance heights for fixturing.png]]
# In the ''Passes Tab'' under the ''Stock to Leave'' option, take note of the stock that is left for '''Roughing passes'''. This should not be selected for finishing passes. [[File:Fusion 360 Roughing vs Finishing stock to leave.png]]
# In the ''Passes Tab'' under the ''Stock to Leave'' option, take note of the stock that is left for '''Roughing passes'''. This should not be selected for finishing passes.<br/>[[File:Fusion 360 Roughing vs Finishing stock to leave.png]]
# In the ''Passes Tab'', under the ''Multiple Depths'' section, based on the chip per tooth and loading of the bit, select the option and setup the appropriately calculated depth step down. [[File:Fusion 360 Machining Step down selection.png]]
# In the ''Passes Tab'', under the ''Multiple Depths'' section, based on the chip per tooth and loading of the bit, select the option and setup the appropriately calculated depth step down.<br/>[[File:Fusion 360 Machining Step down selection.png]]
# Confirm that the toolpath generated successfully and that the operation is completed without any issues by reviewing the list of steps under the setup menu. [[File:Fusion 360 Setup Action confirmation.png]]
# Confirm that the toolpath generated successfully and that the operation is completed without any issues by reviewing the list of steps under the setup menu.<br/>[[File:Fusion 360 Setup Action confirmation.png]]


====== G-Code Posting ======
====== G-Code Posting ======
Once all operations are completed to post the G-Code
Once all operations are completed to post the G-Code


# Under the Actions Section in the ribbon, select the dropdown and choose Post Process option or click on the G1G2 icon. [[File:Fusion 360 Post Process configuration Selection.png]]
# Under the Actions Section in the ribbon, select the dropdown and choose Post Process option or click on the G1G2 icon.<br/>[[File:Fusion 360 Post Process configuration Selection.png]]
# Under the ''Machine and Post'' section, click on the open folder icon under the ''Post'' section
# Under the ''Machine and Post'' section, click on the open folder icon under the ''Post'' section
# Click on '''Fusion Library'''
# Click on '''Fusion Library'''
# In the Search Bar at the top search for <u>mach4</u>  
# In the Search Bar at the top search for <u>mach4</u>  
# Select '''Mach4Mill''' and click ''Select'' [[File:Fusion 360 Mach 4 Mill post processor selector.png]]
# Select '''Mach4Mill''' and click ''Select''<br/>[[File:Fusion 360 Mach 4 Mill post processor selector.png]]
# Click on the 3 dots to save to your local library similar to when the machine was downloaded [[File:Fusion 360 Local Post Library Folder.png]]
# Click on the 3 dots to save to your local library similar to when the machine was downloaded<br/>[[File:Fusion 360 Local Post Library Folder.png]]
# Click on Select Folder
# Click on Select Folder
# Click on Copy to My Posts
# Click on Copy to My Posts
# Under the ''Program Section'' provide a numbered name only.  It is highly recommended that you name your project in the format like in the table below. This will result in a unique number of the format 10010301 that is easily identifiable
# Under the ''Program Section'' provide a numbered name only.  It is highly recommended that you name your project in the format like in the table below. This will result in a unique number of the format 10010301 that is easily identifiable
# Click on POST


{| class="wikitable"
{| class="wikitable"
Line 121: Line 122:
|}
|}


#
====== Verify the G-Code ======
#Click on Open on the popup on the bottom right or open the NC Code from the post location
#In the file read through the configuration and confirm:
##Machine Description
##Tool list (Denoted as T# - Diameter in mm, Z-Min as length of the bit and type of bit)
##Operation Sequence
#Note that comments are in ( ) brackets<br/>[[File:NC Posted Code from Fusion for Mach4.png]]


=== Avid CNC Software ===
=== Avid CNC Software ===

Revision as of 12:41, 11 November 2024

G-Code Setup

G-Code Generations

The CNC Mill's in MARC can utilize G-Code Generated from Fusion or V-Carve Pro. Only FUSION will be covered on a HIGH level overview.

Requirements:

A login to Autodesk is required for this setup and configuration with an active subscription on the account.
  1. A design that is in a FUSION 360 compatible format. Step files are recommended for transfers from other software like SolidWorks or Siemens NX
  2. Known material properties
  3. List of known CNC Bits that will be used. *Note: A single example will only be provided in the example below

Fusion 360 Configuration

In the design area, load the part. It is recommended but not required to align the part with the expected axis during import.

Instructions to load a part can be found here: How to load parts into Fusion

Full Fusion instructions for learning the FUNDAMENTALS of MILLING can be found here: Autodesk Learning - On Demand Milling Basics

Model Setup
  1. In the document settings, ensure that the units is set to mm
  2. For each of the bodies set the material by:
    1. Right click on the body
    2. Select Physical Material
    3. Choose the material that will be used i.e. Polyethylene, High Density
    4. Drag the material to the material onto the body
Milling setup

From the dropdown select Manufacture

Machine Import
  1. Select Machine Library from the manage section in the ribbon by either clicking on the dropdown and selecting Machine Library or by clicking the icon that looks like a machine (2nd from the left in the screenshot below)
  2. In the machine library, select the Autodesk library
  3. Check the box in the filter section to select the Milling capability
  4. Find the Autodesk Generic 3-axis router, or similar 3 axis mills where the description indicates that XYZ axis on the Head
  5. Drag the machine to the My Machines - Local library
  6. Select the name and location of the CURRENT project to save the model to.
  7. The machine should now be in the local machine library. Click on close.
Machine Setup

Each setup is used to individually indicate a physical setup that will be done and where the system is referencing the co-ordinates. Only the general G54 home position will be used and explained in the documentation below. Use of secondary, tertiary and other coordinates are out of the scope of this configuration and setup.

  1. Right click on Setups and select New Setup
  2. In the Setup tab, select the machine from earlier in the Machines option by clicking on Select in the Machine section
  3. Click on the My Machines - Local library and highlight the imported machine.
  4. Click on Select button (NOT Close). This will select the machine and allow for simulations.
  5. On the Stock tab, in the Stock section, click on the mode dropdown and select Fixed size box
  6. Enter the MEASURED size of the stock in, and select your reference point where you want to cut the part out of. For accuracy of the model, the center is recommended.
  7. DO NOT CLOSE THE SETUP CONTINUE BELOW
Only complete the items below if you need to correct the model orientation in the machine. 
  1. Back in the Setup tab, in the Work Coordinate System (WCS) click on orientation
  2. Select the known axis that aligns with the model that you have in your physical setup. X & Y is usually easiest as you can align that with the machine x and y coordinate directions
  3. for each of the axis, select the corresponding item on the model by either selecting a known line, face or feature that aligns in the correct plane for the model and axis
  4. Select the G54 location on the model/stock in a known accessible location by clicking on one of the white dots on the STOCK BOX POINT
  5. Click on OK
Only complete the below if the model is already in the correct axis alignment.
  1. Ensure that the Origin Selection is set to Stock Box Point
  2. Select the Stock point by clicking on one of the white dots on the stock box point.
  3. Click on OK

You should now have your model on the machine and a setup shown in the setups

Creating a tool and an operation

For this operation, a simple example of clearing a single pocket will be showcased.

  1. Select the 2D Operations dropdown and select 2D Pocket
  2. In the Tool tab and the tool section, click on Select to create a new tool
  3. Using the list that you had created earlier find the tool that you want to use
  4. Select the Fusion Library - Milling tools from the menu on the left and turn on the library if required
  5. In the filters on the right, select the correct type of mill that you want to create the operation for i.e. Flat End Mill
  6. Find and select the correct milling bit that you are creating the operation with. IT IS HIGHLY RECOMMENDED THAT YOU MEASURE YOUR MILL BIT TO ENSURE YOU HAVE THE RIGHT SIZE.
  7. In the cutting data section select the correct material and operation type that will be completed.
  8. Click on Select
  9. Change the coolant type to Disabled from the default that reads Flood
  10. In the Geometry Tab under the Geometry section, click on Select.
  11. Click on the model feature that needs to be machined
  12. In the Heights Tab, check that the clearance height is at least clearing the fixture mounting hardware. Screws through the materials should be fine with a 10mm clearance.
  13. In the Passes Tab under the Stock to Leave option, take note of the stock that is left for Roughing passes. This should not be selected for finishing passes.
  14. In the Passes Tab, under the Multiple Depths section, based on the chip per tooth and loading of the bit, select the option and setup the appropriately calculated depth step down.
  15. Confirm that the toolpath generated successfully and that the operation is completed without any issues by reviewing the list of steps under the setup menu.
G-Code Posting

Once all operations are completed to post the G-Code

  1. Under the Actions Section in the ribbon, select the dropdown and choose Post Process option or click on the G1G2 icon.
  2. Under the Machine and Post section, click on the open folder icon under the Post section
  3. Click on Fusion Library
  4. In the Search Bar at the top search for mach4
  5. Select Mach4Mill and click Select
  6. Click on the 3 dots to save to your local library similar to when the machine was downloaded
  7. Click on Select Folder
  8. Click on Copy to My Posts
  9. Under the Program Section provide a numbered name only. It is highly recommended that you name your project in the format like in the table below. This will result in a unique number of the format 10010301 that is easily identifiable
  10. Click on POST
Setup Part Group Revision
xx xx xx xx
10 01 03 01
Verify the G-Code
  1. Click on Open on the popup on the bottom right or open the NC Code from the post location
  2. In the file read through the configuration and confirm:
    1. Machine Description
    2. Tool list (Denoted as T# - Diameter in mm, Z-Min as length of the bit and type of bit)
    3. Operation Sequence
  3. Note that comments are in ( ) brackets

Avid CNC Software

To manage the mill, use the Avid CNC Software from the desktop:

Home the system

  1. Regardless of where the machine is, click on Enable
  2. Select the Jogging Tab and then bring the CNC mill head up all the way using either the Z+or Page Up button on the keyboard.
  3. Click on Zero Z button
  4. Click on Home X Y Axes. This should move the machine to the back right and enable soft limits. IFF the machine is not in the back right corner, click the home button again.
  5. This completes the system homing process