CNC Mill
From HacDC Wiki
Terms
- Computer Numerical Control (CNC) - The ability to control a machine using mathematical commands
- Computer Aided Design (CAD) - Software which generates a model which a machine can translate into tooling commands for manufacturing.
- Computer Aided Manufacturing (CAM) - The actual process of production from file to finished product.
- Tooling/tools - The bits used in a mill to actually
- Milling - The use of a spinning piece of metal to shape an object through calculated removal of a media, normally via an X / Y / Z axis.
- Lathing - The use of a "static" piece of metal to shape an object through calculated removal of a media which is in (usually) a circular motion.
- [EMC2] - The software used to translate G Code into electrical pulses which can be used by a mill.
- [Axis] - The most commonly used graphical user interface with the program EMC2
Getting Started
To initially get started with the CNC mill, it's helpful to have a basic grasp of G Code. How better to get started with this than to begin playing.
Turning on the Mill
When turning on the mill there are three primary "light switch" style switches which should be turned on. The first is on the back of the black box labeled "MicroProto Systems, MicroMill DSLS 3000". This switch is located on the back to the right side (imagine reaching around on the rear right). Flipping the switch "up" should turn this on.
Next, turn on the main control to the spindle. This is achieved via the light switch on the M3/M5 box. Turn this to the "on" position (flicking it towards the label M3/M5).
Finally, turn on the spindle on the actual mill. This is in a blue enameled box residing on the Z axis. Flip this switch "up". If the spindle immediately starts spinning, this is because someone didn't send the control command to stop it. This isn't a problem, but we will want to stop it sooner than later. We will cover this in the next section.
Starting EMC2
To start, you'll want to fire up EMC2 with the proper configuration file. This can be done by using the icon on the desktop or by clicking the corresponding link on the quick launch bar on the top of the screen.
If the mill has been turned on and the right configuration file is used, you will hear the spindle briefly spin up.
Once in EMC2 you'll need to enable machine control of the mill. Begin by clicking the large red "X" button on the button toolbar within AXIS. After this button has been pressed, the power button directly beside it should become available to click. Upon pressing this "power" button, EMC2 / AXIS can be used to send commands to the mill.
GCode Tips
Jogging the mill is a pain in the ass. One of the most helpful GCode commands you can use is "go to coordinate". To go to an X coordinate "zero" one would use "g0 x0", similarly to go to y0 one would use "g0 y0". This is especially helpful for moving the tooling out of the way to add a new piece to be milled or to make an adjustment. Subsequently, the tooling can be reset with "g0 x0" "g0 y0" "g0 z0"
Config File
Redbeard made some changes to the config file including resetting the initial home positions to "0 0 0 0" so that when the application starts up, it will leave the tool exactly where it is placed. While this isn't the behaviour we want long term, it's perfect for our current lack of limit switches. Additionally, the directive "no_force_homing=1" was added to get rid of pesky error messages (again, since we don't have limit switches for homing the device.)