Superbox CNC Router: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
No edit summary
 
(101 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[File:CNC_Mill.jpg|450px|thumb]]
{{Tool
|image=File:CNC_Mill.jpg
|manufacturer=Marchant Dice
|location=CNC Area
|obtained=Acquired from Wireless Things after their close
|obtaineddate=2016
|induction=No
|team=CNC
}}


=About=
The '''Superbox CNC Router''' (aka CNC Mill) is a versatile tool that can cut a wide variety of materials. The machine has 3 degrees of freedom meaning that unlike the [[Laser Cutter]], which can only cut 2D Shapes, the CNC Mill can carve shapes in 3 dimensions if you can provide the tool paths to drive it. It does not require an induction to use, but help is available if you need it! Contact the #CNC channel on [[Discord]] if you need help.
The CNC Mill was acquire from Wireless Things in 2016 after there close. The machine is quite unique in having a dual Y axis stepper setup however this does require the that startup procedure for homeing is carefully followed<br/>


Working area for the mill is 300mm x 300mm x 150mm<br/>
We operate a bring-your-own-bits policy for this machine due to the high likelihood of broken tools. Links to buy tools are available on the [[Suppliers#Milling|Suppliers]] page.
Max feed rate is 1900mm/min<br/>
The spindle is an Kress 1050 FME with manual speed control from 10,000 to 29,000 RPM<br/>


{{TOC limit|3}} 
==Overview==
{| class="wikitable" width=50%
! width=20% | Parameter
! colspan="3" | Value
|-
| style="background-color:#efefef;" rowspan="2" | Working Area
| style="background-color:#efefef;" | X
| style="background-color:#efefef;" | Y
| style="background-color:#efefef;" | Z
|-
| 348mm
| 350mm
| 115mm (150mm Z Travel but only unto 90mm Y overhang)
|-
| style="background-color:#efefef;" | Maximum Feed Rate
| colspan="3" | 2000mm/min (XY) 1000mm/min (Z)
|-
| style="background-color:#efefef;" | Spindle
| colspan="3" | Kress 1050 FME
|-
| style="background-color:#efefef;" | Control Software
| colspan="3" | [http://linuxcnc.org/ LinuxCNC]
|-
| style="background-color:#efefef;" | Control Interface
| colspan="3" | [http://www.linuxcnc.org/docs/2.7/html/gui/gmoccapy.html Gmoccapy]
|-
| style="background-color:#efefef;" | Control Hardware
| colspan="3" | Superbox 2.8
|}


The mill PC is running LinuxCNC with the <code>Gmoccapy</code> interface <br/>
===Software===
Gmocappy is a more friendly skin/interface to LinuxCNC than the default <code>Axis</code> some people might be more familiar.<br/>
LinuxCNC, with the Gmoccapy interface, is the control software that we use to drive the tool. There is a dedicated computer hooked up to the machine for this purpose.
More info about Gmocappy can be found here http://www.linuxcnc.org/docs/2.7/html/gui/gmoccapy.html <br/>
Slightly older video but might be useful https://www.youtube.com/watch?v=O5B-s3uiI6g&t=219s<br/>
 
==Y Axis==
Due to the gantry Y axis having a dual stepper drive the mill is using a development version of LinuxCNC 2.8, which can currently can cause some issue on start up.<br/>
The Y axis is also fitted with two stops, the second of which was designed and add but the hackspace to help in keeping the Y axis homing square to the X axis
 


=Machine start up=
LinuxCNC reads G-Code in the .ngc format. You can use any CAM (Computer Aided Manufacture) package you like to create G-Code at home or on the computer opposite.
==Turn on==
Turn on the monitor, PC and Control box<br/>
[[File:Control Box.jpg|300px|thumb]]
The PC should auto boot into linux and automaticly log in to the <code>nottinghack</code> account, if not the password is <code>hackspace</code><br/>
Once in you should see the following desktop, click on the <code>Launch CNC</code> icon to start LinuxCNC<br/>
[[File:01_Launch_CNC.png|600px]]
==Launch==
Your should now see the <code>Gmoccapy</code> interface to LinuxCNC<br/>
If you get an error message restart the pc and try again<br/>
[[File:02 Linux CNC Started.png|600px]]
==eStops==
Make sure the physical eStop's have been cleared and the eStop light on the control box is out<br/>
Reset The linuxCNC soft eStop by clicking the red hand in the top right corner<br/>
Turn on the machine by clicking the power button just below<br/>
The Interface should look like this<br/>
[[File:03 Reset eStop and Turn on.png|600px]]


==Homing==
Slightly older video about Gmoccapy but might be useful to familiarize yourself: https://www.youtube.com/watch?v=O5B-s3uiI6g&t=219s
The machine starts-up in <code>joint</code> mode, in this mode it is possible to move each stepper motor (0,1,2,3) independently but doing so can damage the Y axis<br/>
To use the machine we need to be in <code>world</code> mode where we operate X,Y,Z axis, LinuxCNC automatically switch to world mode once all the joints have been homed, but it is '''important''' to only ever use the 'Home all' option as homing a single joint at a time will damage the Y axis.<br/>
To open the <code>Home menu</code> click the icon in the bottom left corner of the interface. (Target and three arrows)<br>
[[File:04 Home menu.png|600px]]


In the bottom menu now click the Home all Icon (far left)<br/>
===Y Axis===
'''Warning''' This will cause the machine to move, please make sure all axis are free and clear to move and nothing is in the way for the spindle head<br>
The machine has a dual Y axis stepper setup, where two stepper motors at either side are used to drive the Y axis. The machine is therefore using a development version of LinuxCNC 2.8. The Y axis is also fitted with two stops, the second of which was designed and added by the hackspace to help in keeping the Y axis homing square to the X axis.
[[File:05 Home all joints.png|600px]]


The machine should now be ready to go<br/>
===Spindle===
'''Important''' There should be no need to home the machine again however if you need to (due to axis slip or a crash) please close LinuxCNC first and start again, as homing in <code>world</code> mode is not supported.
[[File:Spindle controls.jpg|300px|thumb|right|Black dial (Top Left) controls speed]]
[[File:06 Ready to go.png|600px]]
The Spindle is a Kress 1050 FME. Its speed is manually controlled via the black dial on the top. It is a good idea to set the spindle speed whilst the spindle is stopped to minimize the operator reaching over the moving machine.


=Spindle=
Power to the spindle is controlled via LinuxCNC during operation; It will spin up once it recieves a G-Code command to start it. There is a slide switch on the side of the spindle that should be left on at all times. If it is turned off the tool will simply crash into the work piece without cutting.
[[File:Spindle controls.jpg|450px|thumb]]
The spindles speed control is manually controlled via the dial on the top.<br/>
Power is controlled via LinuxCNC during operation but there is also a slide switch in the side of the spindle, this should be left on at all times<br/>


{| class="wikitable"
{| class="wikitable"
Line 75: Line 79:


There is a spindle lock button to aid with tool and collet changes<br/>
There is a spindle lock button to aid with tool and collet changes<br/>
We have the following collets, stored in the draws below the bench
 
====Collets====
We have the following collets available, currently stored underneath the monitor for the CNC Computer.
 
{| class="wikitable"
{| class="wikitable"
|-
|-
|1/8" (3.17mm)
|1/8" (3.175mm)
|-
| 4mm
|-
|-
| 6mm
| 6mm
Line 87: Line 96:
|}
|}


=Bed=
===Bed===
The bed is made form PT25 profile Aluminium at 375mm wide<br/>
The bed is made from PT25 profile Aluminium at 375mm wide<br/>
This give slots ever 25mm for fixing<br/>
This gives slots every 25mm for fixing.
 
[[File:20mmbedplate.pdf]]
[[File:20mmbedplate.pdf]]


=Loading G Code=
We have a small selection of T-Slot nuts that will slide into these channels to provide clamping anchors.
The T-Slot nuts will accept an M6 bolt.
 
===Suitable materials===
 
* Most woods
* Most plastics
* 6082 T6 Aluminium with caution
* Brass with caution
* Others with extreme caution
 
This machine is best suited to soft materials due to its aluminium frame. Soft woods, such as Pine, can be cut easily with great results. Plywood is a cheap material that can be used to produce simple profiles quickly but is likely to chip if you are doing any moulding operations. Other materials may work with extreme caution; YouTube videos are a good place to start.
 
If you are planning to cut hard materials, have a couple of spare tools to hand as you will no doubt break one. Also, do not underestimate the amount of time it will take to clean the machine after the cut. Please leave the machine as you would like to find it.
 
==Generating G-Code==
To control the tool you will need to feed it instructions. This is done through G-Code!
There are more than a few options available for generating G-Code. Each has different pros & cons and each requires a different set of skills to operate.
 
 
<gallery align=center mode=packed-overlay heights=200px widths=300px>
File:Project_CatCNC_(2).PNG|Tool paths from [[Easel]]|link=CAM Cat
File:Fusion 360 Toolpath Example.png|Tool paths from [[Fusion 360]]|link=Han Solo in Carbonite
</gallery>
===For Beginners===
Inventables' [[Easel]] is a 2.5D online CAM package that has a friendly GUI and only requires two small alterations to the code to enable it to function with our machine.
 
===For Enthusiasts/ Advanced Users===
[[Fusion 360]] is a great free software package that has tons of CAM functionality built in.
Once you have set up your tool paths using the CAM tools in Fusion you can export the setup using the "'''LinuxCNC (EMC2) / linuxcnc'''" post processor built in to [[Fusion 360]].
 
A good place to start if you're not sure with CNC programming via Fusion 360 is the [https://www.youtube.com/user/saunixcomp/| NYCCNC Youtube channel].
 
 
A model of the Kress Collet Nut is here for use in Fusion 360 CAM as a tool holder.: [[File:Kress Holder.zip|Kress Holder]]
 
(Instructions for installing The tool library in Fusion 360 can be found [https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/How-to-import-a-tool-library-in-Fusion-360.html here.])
 
Modelling the tool holder in CAM can aid visualisation and help prevent collisions between the collet nut and workholding, if the workholding is also modelled.
 
 
If you want to understand what each line in your program does, refer to the [https://linuxcnc.org/docs/html/gcode.html LinuxCNC "G-Code" Quick Reference].
 
[https://ncviewer.com NC Viewer] is a useful website to plot programs and analyse them line-by-line.
 
===File Structure===
 
A typical G-Code file might look like this. This may be useful if you want to understand what modifications you need to do to make your program run.
 
%
(My Awesome Part)
G90 G94 G17 G21
G0 G53 Z0
M3 S1
-axis movements to cut part-
M3 S0
G0 G53 Z0
M30
%
 
A breakdown is below.
 
We give the machine a number of 'sanity' gcodes at the start of the program to ensure parameters are correct.
 
We then give commands to start the spindle, and safely move to the start of the cut.
 
At the end, we give the machine commands to leave the cut, turn off the spindle and end the program.
 
{| class="wikitable"
|-
| <code>%</code> || Standard starting character
|-
| <code>(My Awesome Part)</code> || You can add Comments to your file!
|-
| <code>G90 G94 G17 G21</code>|| Sanity G-Codes (absolute positioning, units per minute, select XY plane, units in mm)
|-
| <code>G0 G53 Z0</code> || Rapid move to top of Z travel
|-
| <code>M3 S1</code> || Start Spindle ('''speed set on dial, rpm value here may be useful as reminder, though''')
|-
| <code>G54</code> || Use G54 Coordinate system, sanity G-Code
|}
<code>-axis movements to cut part-</code>
{| class="wikitable"
|-
| <code>M3 S0</code> || Stop Spindle
|-
| <code>G0 G53 Z0</code>|| Rapid move to top of Z travel
|-
| <code>M30</code> || Program End
|-
| <code>%</code> || Standard ending character
|}
 
In addition, a feedrate must be declared at the top of the file before a <code>G1</code> command (move with a specified feedrate, used for cutting) can be used.
To do this, add a line before and use this to declare a feedrate. <code>F1500</code> means a feedrate of 1500mm per minute.
 
==Operation Instructions==
===Safety===
This is a dangerous tool and should be treated as such.
Your safety is your own responsibility. As a guideline, you should wear as a minimum:
*Safety Glasses
 
:Flying Chips, Broken Tools & loose workpieces are all possibilities
 
*Ear Defenders
 
:This machine is seriously loud, you must sit very near to it to monitor the job while it’s running and it’s not uncommon for a cutting cycle to be 30 minutes or longer. Hearing damage is a very real risk. Make sure you also warn others in the CNC room of this too.
 
===Loading your tool===
 
When loading your tool you need to ensure that as much of the shank is contained within the collet as possible. The only exception to this rule is if the job you are running requires a deep cut; then you will need the tool to stick out further.
 
{{note|Please ensure that the collet is clicked into the collet nut before locating it into the spindle or it '''WILL''' get stuck. }}
 
The video below shows how to load a tool:
 
{{#widget:YouTube|id=LiYze5CjDFU|width=640}}
 
===Turn on===
Turn on the monitor, PC and Control box<br/>
 
The PC should auto boot into linux and automatically log in to the <code>nottinghack</code> account, if not the password is <code>hackspace</code><br/>
Once in you should see the following desktop, click on the <code>Launch CNC</code> icon to start LinuxCNC<br/>
 
<gallery heights=200px widths=300px>
File:Control Box.jpg|1. Turn on the PC & Control Box
File:01_Launch_CNC.png|2. Click 'Launch CNC' (Penguin Icon)
File:02 Linux CNC Started.png|3. Your should now see the <code>Gmoccapy</code> interface to LinuxCNC
</gallery>
 
{{note|If you get an error message or the computer is frozen, restart the PC and try again.}}
 
===Emergency Stops===
Make sure the physical eStops have been cleared by twisting them and check that the eStop light on the control box is out.
 
Reset The linuxCNC software eStop by clicking the red hand icon in the top right corner.
 
Turn on the machine in the software by clicking the power button just below the software eStop.
 
The Interface should look like this:
<gallery heights=200px widths=300px>
File:03 Reset eStop and Turn on.png|4. Software ready to home
</gallery>
 
===Homing===
The machine starts-up in <code>joint</code> mode, as it is not yet homed. It is not possible to jog the axes or otherwise use the machine until you have homed it.
 
To home the machine, first open the <code>Home menu</code> click the icon in the bottom left corner of the interface. (Target and three arrows). In the bottom menu now click the Home all Icon (far left)
 
{{note|This will cause the machine to move, please make sure all axes are free and clear to move and nothing is in the way of the spindle head.}}
 
 
LinuxCNC automatically switches to <code>world</code> mode once all the joints have been homed, and the machine should now be ready to go.
 
{{note|There should be no need to home the machine again. However, if you need to (due to axis slip or a crash), 'home all' can again be selected.}}
 
<gallery heights=200px widths=300px>
File:04 Home menu.png|5. Open the Homing menu (Target and three arrows icon)
File:05 Home all joints.png|6. Home all joints
File:06 Ready to go.png|7. Machine ready to go
</gallery>
 
===Loading G Code===
 
After you have homed the machine using the instructions above, Click "Enter auto mode to run programs" on the right hand side menu.
 
On the bottom row of icons you will see a folder icon. Click this to navigate to your ".ngc" G-Code file (the default location is [[JARVIS]]).
 
<gallery heights=200px widths=300px>
File:Screenshot - 021218 1.png|8. Enter Auto Mode
File:Screenshot - 021218 2.png|9. Browse to G-Code file
</gallery>
 
===Setting Zero===
G54 is a coordinate system that is offset from the machine coordinate system. I.e. when you set a position as zero in G54, the CNC is storing this zero position as offsets in X, Y, Z from the machine's origin.
 
It is used to tell the CNC software where you have secured your workpiece to the table (Set Zero), so it needs to be set before any program is run! The position of the G54 origin should match the origin in your CAM software.
 
[[File:Tool gmoccapy - Probing.PNG|300px|right|thumbnail|Probing menu icon]]
To set it,
# Enter Manual Jogging mode by pressing the appropriate button on the right hand side or pressing F3 on the keyboard.
# Open the probing menu by clicking on the blue icon at the bottom.
# Use the control arrows to move the gantry so that the centre of the tool is sitting on the point where (X,Y,Z) is (0,0,0) on your CAD model. It is easier to probe one datum at a time. E.g. X, then Y, then Z
# On the bottom bar, press "X=?", "Y=?" OR "Z=?" depending on the direction you have probed and set the zero point.
 
{{note|If you are "touching on", remember to take into account the diameter of the tool.}}
 
Accounting for the diameter of the tool can be done by typing in half the tools diameter into the probing menu box. Check its right before running any G-Code by jogging the tool to X=0, Y=0 at a safe Z height; the centre axis of the tool should be over the datum point.
 
If everything has been set correctly, you should see the preview of your G-Code shift to the correct location.
 
===Running a job===
 
Once G54 is set and the code is loaded simply press the Play button located in the "Auto Mode" menu.
Don't leave the job unattended and be ready with the Hoover as a lot of sawdust can be produced.
 
{{note|'''ENSURE YOU HAVE EASY ACCESS TO THE EMERGENCY STOP'''}}
 
==Example Projects==


After you have home'd the machine using the instructions above, Click "Enter auto mode to run programs" on the right hand side menu.
If you have a project that uses this tool please add it to this list.
It would be great to see what other people are using the CNC Mill for!


[[File:Screenshot - 021218 1.png|450px|thumb]]
<gallery mode=packed-hover heights=200px widths=200px>
File:CNCHanSolo-Complete1.jpeg|Han Solo in Carbonite CNC|link=Han Solo in Carbonite
File:Les Plywood - Installing Hardware (4).jpg|Les Plywood Tune-O-Matic Bridge Hardware|link=Les_Plywood#Tune-O-Matic_Bridge
File:Project CatCNC (4).jpg|CNC Workshop for Beginners|link=CAM Cat
File:WW2 Prop Gold (4).jpg|WW2 Prop Gold|link=WW2 Prop Gold
File:CNC Tool Storage - Concept 4 CNC.jpg|CNC Tool Storage|link=CNC_Tool_Storage
File:DanS makercoin 4.jpg|Flip Milled Makercoin|link=Aluminium Makercoin Trial
File:UK Heightmap (8).jpg|CNC UK Heightmap|link=CNC UK Heightmap
</gallery>


On the bottom row you will see a folder icon. Click this to navigate to your ".ngc" G-Code file.  
==Maintenance==
Occasionally the CNC Router will break down and require maintenance. If you're not sure who to ask for help, the #CNC [[Discord]] group is the right place to go.  


[[File:Screenshot - 021218 2.png|450px|thumb]]
Some maintenance notes are recorded on the wiki here: [[/Maintenance|Superbox CNC Router Maintenance]] includes information about replacing the Super Box's fuse.


=Setting G54 and tool offset=
==See also==
* [[CNC Workshop for Beginners]] - workshop designed and run by [[User:Danspencer101|Dan Spencer]]
* [[Suppliers#Milling|Suppliers - Milling]]
* [[Contour ShuttleXpress]] - Pendant Jog Shuttle
* [[New CNC PC Pledge]] - successful [[Pledge Drives|pledge drive]] for better computer


=Running a job=
==Resources==
* [https://www.damencnc.com/userdata/file/859_Kress_manual.pdf Kress 1050 FME - Spindle manual]
* [https://www.youtube.com/playlist?list=PL1uBWVo4mhkBJdZwAalGIXH6hwycvmKtc Winston Moy - Intro to CNC]
* [https://www.youtube.com/playlist?list=PL9tn9rGywKUW0K4_KIyCTKOFU8ELXzcnV NYCCNC - Fusion 360 for Beginners]


=Suitable materials / Things this machine can do=
<gallery heights=200px widths=300px>
File:Kress Rating plate.jpg|Kress Rating Plate
File:Kress Speed Plate.jpg|Kress Speed Plate
</gallery>


=Exporting from Fusion360=
[[Category:Tools_and_Equipment]]
[[Category:Computer aided manufacture]]

Latest revision as of 01:54, 2 November 2023

Superbox CNC Router
Manufacturer Marchant Dice
Model {{{model}}}
AKA {{{aka}}}
Obtained Acquired from Wireless Things after their close (2016)
Location CNC Area
Team CNC
Induction Required No
Booking {{{booking}}}
Status Defunct
Tools:   all pageslistPower ToolsBroken tools     {{}}


The Superbox CNC Router (aka CNC Mill) is a versatile tool that can cut a wide variety of materials. The machine has 3 degrees of freedom meaning that unlike the Laser Cutter, which can only cut 2D Shapes, the CNC Mill can carve shapes in 3 dimensions if you can provide the tool paths to drive it. It does not require an induction to use, but help is available if you need it! Contact the #CNC channel on Discord if you need help.

We operate a bring-your-own-bits policy for this machine due to the high likelihood of broken tools. Links to buy tools are available on the Suppliers page.

Overview

Parameter Value
Working Area X Y Z
348mm 350mm 115mm (150mm Z Travel but only unto 90mm Y overhang)
Maximum Feed Rate 2000mm/min (XY) 1000mm/min (Z)
Spindle Kress 1050 FME
Control Software LinuxCNC
Control Interface Gmoccapy
Control Hardware Superbox 2.8

Software

LinuxCNC, with the Gmoccapy interface, is the control software that we use to drive the tool. There is a dedicated computer hooked up to the machine for this purpose.

LinuxCNC reads G-Code in the .ngc format. You can use any CAM (Computer Aided Manufacture) package you like to create G-Code at home or on the computer opposite.

Slightly older video about Gmoccapy but might be useful to familiarize yourself: https://www.youtube.com/watch?v=O5B-s3uiI6g&t=219s

Y Axis

The machine has a dual Y axis stepper setup, where two stepper motors at either side are used to drive the Y axis. The machine is therefore using a development version of LinuxCNC 2.8. The Y axis is also fitted with two stops, the second of which was designed and added by the hackspace to help in keeping the Y axis homing square to the X axis.

Spindle

Black dial (Top Left) controls speed

The Spindle is a Kress 1050 FME. Its speed is manually controlled via the black dial on the top. It is a good idea to set the spindle speed whilst the spindle is stopped to minimize the operator reaching over the moving machine.

Power to the spindle is controlled via LinuxCNC during operation; It will spin up once it recieves a G-Code command to start it. There is a slide switch on the side of the spindle that should be left on at all times. If it is turned off the tool will simply crash into the work piece without cutting.

Dial RPM
1 10,000
2 12.600
3 17,000
4 21,000
5 25,000
6 29,000

There is a spindle lock button to aid with tool and collet changes

Collets

We have the following collets available, currently stored underneath the monitor for the CNC Computer.

1/8" (3.175mm)
4mm
6mm
8mm
10mm

Bed

The bed is made from PT25 profile Aluminium at 375mm wide
This gives slots every 25mm for fixing.

File:20mmbedplate.pdf

We have a small selection of T-Slot nuts that will slide into these channels to provide clamping anchors. The T-Slot nuts will accept an M6 bolt.

Suitable materials

  • Most woods
  • Most plastics
  • 6082 T6 Aluminium with caution
  • Brass with caution
  • Others with extreme caution

This machine is best suited to soft materials due to its aluminium frame. Soft woods, such as Pine, can be cut easily with great results. Plywood is a cheap material that can be used to produce simple profiles quickly but is likely to chip if you are doing any moulding operations. Other materials may work with extreme caution; YouTube videos are a good place to start.

If you are planning to cut hard materials, have a couple of spare tools to hand as you will no doubt break one. Also, do not underestimate the amount of time it will take to clean the machine after the cut. Please leave the machine as you would like to find it.

Generating G-Code

To control the tool you will need to feed it instructions. This is done through G-Code! There are more than a few options available for generating G-Code. Each has different pros & cons and each requires a different set of skills to operate.


For Beginners

Inventables' Easel is a 2.5D online CAM package that has a friendly GUI and only requires two small alterations to the code to enable it to function with our machine.

For Enthusiasts/ Advanced Users

Fusion 360 is a great free software package that has tons of CAM functionality built in. Once you have set up your tool paths using the CAM tools in Fusion you can export the setup using the "LinuxCNC (EMC2) / linuxcnc" post processor built in to Fusion 360.

A good place to start if you're not sure with CNC programming via Fusion 360 is the NYCCNC Youtube channel.


A model of the Kress Collet Nut is here for use in Fusion 360 CAM as a tool holder.: File:Kress Holder.zip

(Instructions for installing The tool library in Fusion 360 can be found here.)

Modelling the tool holder in CAM can aid visualisation and help prevent collisions between the collet nut and workholding, if the workholding is also modelled.


If you want to understand what each line in your program does, refer to the LinuxCNC "G-Code" Quick Reference.

NC Viewer is a useful website to plot programs and analyse them line-by-line.

File Structure

A typical G-Code file might look like this. This may be useful if you want to understand what modifications you need to do to make your program run.

%
(My Awesome Part)
G90 G94 G17 G21
G0 G53 Z0
M3 S1

-axis movements to cut part-

M3 S0
G0 G53 Z0
M30
%

A breakdown is below.

We give the machine a number of 'sanity' gcodes at the start of the program to ensure parameters are correct.

We then give commands to start the spindle, and safely move to the start of the cut.

At the end, we give the machine commands to leave the cut, turn off the spindle and end the program.

% Standard starting character
(My Awesome Part) You can add Comments to your file!
G90 G94 G17 G21 Sanity G-Codes (absolute positioning, units per minute, select XY plane, units in mm)
G0 G53 Z0 Rapid move to top of Z travel
M3 S1 Start Spindle (speed set on dial, rpm value here may be useful as reminder, though)
G54 Use G54 Coordinate system, sanity G-Code

-axis movements to cut part-

M3 S0 Stop Spindle
G0 G53 Z0 Rapid move to top of Z travel
M30 Program End
% Standard ending character

In addition, a feedrate must be declared at the top of the file before a G1 command (move with a specified feedrate, used for cutting) can be used. To do this, add a line before and use this to declare a feedrate. F1500 means a feedrate of 1500mm per minute.

Operation Instructions

Safety

This is a dangerous tool and should be treated as such. Your safety is your own responsibility. As a guideline, you should wear as a minimum:

  • Safety Glasses
Flying Chips, Broken Tools & loose workpieces are all possibilities
  • Ear Defenders
This machine is seriously loud, you must sit very near to it to monitor the job while it’s running and it’s not uncommon for a cutting cycle to be 30 minutes or longer. Hearing damage is a very real risk. Make sure you also warn others in the CNC room of this too.

Loading your tool

When loading your tool you need to ensure that as much of the shank is contained within the collet as possible. The only exception to this rule is if the job you are running requires a deep cut; then you will need the tool to stick out further.

Note Note: Please ensure that the collet is clicked into the collet nut before locating it into the spindle or it WILL get stuck.

The video below shows how to load a tool:

Turn on

Turn on the monitor, PC and Control box

The PC should auto boot into linux and automatically log in to the nottinghack account, if not the password is hackspace
Once in you should see the following desktop, click on the Launch CNC icon to start LinuxCNC

Note Note: If you get an error message or the computer is frozen, restart the PC and try again.

Emergency Stops

Make sure the physical eStops have been cleared by twisting them and check that the eStop light on the control box is out.

Reset The linuxCNC software eStop by clicking the red hand icon in the top right corner.

Turn on the machine in the software by clicking the power button just below the software eStop.

The Interface should look like this:

Homing

The machine starts-up in joint mode, as it is not yet homed. It is not possible to jog the axes or otherwise use the machine until you have homed it.

To home the machine, first open the Home menu click the icon in the bottom left corner of the interface. (Target and three arrows). In the bottom menu now click the Home all Icon (far left)

Note Note: This will cause the machine to move, please make sure all axes are free and clear to move and nothing is in the way of the spindle head.


LinuxCNC automatically switches to world mode once all the joints have been homed, and the machine should now be ready to go.

Note Note: There should be no need to home the machine again. However, if you need to (due to axis slip or a crash), 'home all' can again be selected.

Loading G Code

After you have homed the machine using the instructions above, Click "Enter auto mode to run programs" on the right hand side menu.

On the bottom row of icons you will see a folder icon. Click this to navigate to your ".ngc" G-Code file (the default location is JARVIS).

Setting Zero

G54 is a coordinate system that is offset from the machine coordinate system. I.e. when you set a position as zero in G54, the CNC is storing this zero position as offsets in X, Y, Z from the machine's origin.

It is used to tell the CNC software where you have secured your workpiece to the table (Set Zero), so it needs to be set before any program is run! The position of the G54 origin should match the origin in your CAM software.

Probing menu icon

To set it,

  1. Enter Manual Jogging mode by pressing the appropriate button on the right hand side or pressing F3 on the keyboard.
  2. Open the probing menu by clicking on the blue icon at the bottom.
  3. Use the control arrows to move the gantry so that the centre of the tool is sitting on the point where (X,Y,Z) is (0,0,0) on your CAD model. It is easier to probe one datum at a time. E.g. X, then Y, then Z
  4. On the bottom bar, press "X=?", "Y=?" OR "Z=?" depending on the direction you have probed and set the zero point.
Note Note: If you are "touching on", remember to take into account the diameter of the tool.

Accounting for the diameter of the tool can be done by typing in half the tools diameter into the probing menu box. Check its right before running any G-Code by jogging the tool to X=0, Y=0 at a safe Z height; the centre axis of the tool should be over the datum point.

If everything has been set correctly, you should see the preview of your G-Code shift to the correct location.

Running a job

Once G54 is set and the code is loaded simply press the Play button located in the "Auto Mode" menu. Don't leave the job unattended and be ready with the Hoover as a lot of sawdust can be produced.

Note Note: ENSURE YOU HAVE EASY ACCESS TO THE EMERGENCY STOP

Example Projects

If you have a project that uses this tool please add it to this list. It would be great to see what other people are using the CNC Mill for!

Maintenance

Occasionally the CNC Router will break down and require maintenance. If you're not sure who to ask for help, the #CNC Discord group is the right place to go.

Some maintenance notes are recorded on the wiki here: Superbox CNC Router Maintenance includes information about replacing the Super Box's fuse.

See also

Resources