EMC2

From ShapeOko
Jump to: navigation, search

Overview

from linuxcnc.com

LinuxCNC is:

  • a software system for computer control of machines such as milling machines, lathes, plasma cutters, cutting machines, robots, hexapods, etc.
  • Free software released under the terms of the GNU GPLv2 (General Public License version 2).
  • a descendent of the original NIST Enhanced Machine Controller software, which is in the Public Domain.
  • precompiled with Ubuntu LTS (long term support) versions for ease of installation and longevity.

Downloading

The EMC2 team now has custom Live-CD's based on Ubuntu:

  • 10.04 Lucid Lynx (current),
  • 8.04 Hardy Heron (older)
  • 6.06 Dapper Drake (not supported anymore)

These will let you try out EMC2 before installing. It's the easiest way to install Ubuntu and EMC2 together.

Ubuntu 10.04 Lucid Lynx

For new installations, choose Ubuntu 10.04. This is a fairly recent release, so be sure to report any problems (or even success) so we can make things better. This install gives you all the benefits of the community-supported Ubuntu distribution as well as being automatically configured for EMC2. As new Ubuntu updates or EMC2 releases are made, the Update manager will let you know and allow you to easily upgrade. It currently features emc2_2.4.3 already installed.

  • download the ISO and burn it to a CD. (The MD5SUM of the CD is 5283b33b7e23e79da1ee561ad476b05f)
  • For those that like to read a little download this short Getting Started Guide
  • When you boot the CD on your machine, you can see and experiment with the exact environment and EMC2 software that you will have if you choose to install it. (A side note: in my experience, performance will be improved when EMC2 is actually installed and not just running off the liveCD)
  • If you like what you see, just click the Install icon on the desktop, answer a few questions (your name, timezone, password) and the install completes in a few minutes (or longer depending on your hardware).

Configuration

With all CNC control systems (grbl, mach3, or EMC2) you need to complete two basic tasks in order to get your system setup:

  1. Define which pins do what
  2. Define how fast your motors move / accelerate.
    1. Default Feed (gcode "F")
    2. Default Speed (gcode "G0") - this is also referred to as "rapid" or "seek"
    3. Acceleration - this is how fast your machine goes from no motion to whatever the situation's desired speed.


EMC2 comes with a utility called stepconfig. This utilities allows you to set all of the settings you'll need to get your machine talking to your computer via parallel port.


StepConfig

To launch stepconfig, click the ubuntu button in the top left hand corner of the screen --> CNC --> stepconfig wizard

Open Step Config
Create new profile
Setup Pin configuration
Configure X Axis Settings
Configure Y Axis Settings
Configure Z Axis Settings
Advanced settings
Finish

Example ShapeOko 2 Configuration

Forum user CalebPeters posted his configuration to Re: Caleb's Shapeoko 2 #3164.

Utilities

http://www.cnc-club.ru/wiki/index.php/LinuxCNC_Features [1]

http://hidcomp.sourceforge.net/ --- EMC/LinuxCNC user mode component to provide access to USB HID devices.

Other Controllers

HY-TB4DV-M_Ebay_CNC_Controller_4-axis

http://sourceforge.net/projects/rpicnc/ --- Raspberry Pi