Had a go at the Mach3 trial version earlier, it is nice package packed with load of goodies but it does has a 500 lines limit, until I pay up US175 for the full version... It was a lot of money to me so I revamp my system to EMC2 the open source program that is free to own & most importantly free to tweak.
Presently, EMC2_2.4.3 release is available & it can run in the latest Ubuntu 10.04 LTS released which can handle dual-core mobo. BUT since my mobo is single core ATOM board & I'm to anxious to get my machine in full operation mode as soon as possible, I stick to the Live Disc which contains EMC2_2.3.4 + Ubuntu 8.04LTS. I'll go for 10.04 & EMC2_2.4.xx when they comes in live disc...
It is great to have EMC2 back in business, the motors sounded happier, smoother & refine.
From the jam packed Mach3 screen, the bare & simplistic EMC2 AXIS screen suddenly feels empty... AND I missed the Auto Z Touch-off feature... Without further a do, I dig into information on Auto Z Touch-off feature in the wide sea of WWW.
Nothing is new under the sun... apparently; Many EMC2 users had their own concoction & I found good information on one of the step-by-step how-to here...
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?ClassicLadderExamples#Single_button_probe_touchoffand here is how this thingy came about.
http://www.cnczone.com/forums/showthread.php?t=62423
They involve pyPVC which is a screen editor to tweak the custom virtual panel & Classicladder which is a ladder program. on top of that one has to be well verse with the MDI_COMMANDS in the Axis HAL & some Python language....
Took over a week to have a creak at the programes without much success... hence, to save time & loosing hair, I put on my copycat hat & shamelessly copied every step to the teeth & after some debugging & troubleshooting, ITS ALIIIIVVVE!!!
While I was at it, I squeeze in the jogging button for convenient operation.
Next will be a HID (Human Interface Device) using a common wireless game pad.... Don't wait up, I'll never know when I'll get there...
Showing posts with label EMC2. Show all posts
Showing posts with label EMC2. Show all posts
Sunday, August 29, 2010
Monday, February 1, 2010
The Kitchen Table Project
This project is created by designer & creator of of Mechmate, Gerald.
He is the avovacate of testing out the control electronics & software before the mechanical works were carried out.
The goal AFAIK is to
1) find out if the control panel design one put up will actually work before it is installed on the actual CNC machine.
2) force learning the very basic of the motion controller software (EMC2 in this case) by actually putting you hands on it and not just talk.
3) confirm if the hardware are in working condition as early as possible.
He carried out the assembly & testing of the control panel components in the comfort of his kitchen dinning table, hence the name...
There are a few very detail design which he put up in his plan & discussions in the forum, one can just buy the stuff & follow the "map to complete the whole she-bang. BUT being me, I just have to know the what/why/where/when/how or the system.... so.... took the long way around to do this project ... again...
My design based strongly on Gerald's concept with a twist...
All components are different from his original but they work...
Electrical circuit also varied a little... but still resemble his original concept.
This is my concoction
Software
Motion Control Software :- EMC2 2.3.4 release
O/S : Ubuntu 8.04LTS "Hardy Heron"
Hardware
Computer :- Intel D945GCLF Atom with 2M DDR2 Ram, 8Gb Thumdrive as storage, 15" LCD monitor, keyboard, PS2 mouse
Motor Drive : M860 Leadshine Micro stepping driver, 6A max
Stepper Motor : 98HS9801, 450Ncm, 4.1mL/phase, 4A
Stepper motor Transformer :- EI core 540VA, 0-48VAC
Computer Breakout/ interface board : Sinyu 5-Axis Ver. 1
Breakout board Transformer 0-9VAC, 9VA
Magnetic Coil Contactor : 3 phase, 240V, 18A
other electrical components : Push button, Indicator light,
Control Panel Chassis : Powder coated Metal chassis, 500mm (H) x 400mm (W) x 200mm (D)
Took me over 4 months to get the motors running under EMC2 control.
It had been a huge struggle for me from day one of this kitchen table project. Time, money, sweat, draw a few drops of blood, late night..... frustration come & go....
Some how the moment you hear the motors singing a quartet for you for the first time.... Priceless...........
He is the avovacate of testing out the control electronics & software before the mechanical works were carried out.
The goal AFAIK is to
1) find out if the control panel design one put up will actually work before it is installed on the actual CNC machine.
2) force learning the very basic of the motion controller software (EMC2 in this case) by actually putting you hands on it and not just talk.
3) confirm if the hardware are in working condition as early as possible.
He carried out the assembly & testing of the control panel components in the comfort of his kitchen dinning table, hence the name...
There are a few very detail design which he put up in his plan & discussions in the forum, one can just buy the stuff & follow the "map to complete the whole she-bang. BUT being me, I just have to know the what/why/where/when/how or the system.... so.... took the long way around to do this project ... again...
My design based strongly on Gerald's concept with a twist...
All components are different from his original but they work...
Electrical circuit also varied a little... but still resemble his original concept.
This is my concoction
Software
Motion Control Software :- EMC2 2.3.4 release
O/S : Ubuntu 8.04LTS "Hardy Heron"
Hardware
Computer :- Intel D945GCLF Atom with 2M DDR2 Ram, 8Gb Thumdrive as storage, 15" LCD monitor, keyboard, PS2 mouse
Motor Drive : M860 Leadshine Micro stepping driver, 6A max
Stepper Motor : 98HS9801, 450Ncm, 4.1mL/phase, 4A
Stepper motor Transformer :- EI core 540VA, 0-48VAC
Computer Breakout/ interface board : Sinyu 5-Axis Ver. 1
Breakout board Transformer 0-9VAC, 9VA
Magnetic Coil Contactor : 3 phase, 240V, 18A
other electrical components : Push button, Indicator light,
Control Panel Chassis : Powder coated Metal chassis, 500mm (H) x 400mm (W) x 200mm (D)
Took me over 4 months to get the motors running under EMC2 control.
It had been a huge struggle for me from day one of this kitchen table project. Time, money, sweat, draw a few drops of blood, late night..... frustration come & go....
Some how the moment you hear the motors singing a quartet for you for the first time.... Priceless...........
Wednesday, November 18, 2009
The Atom Mobo is Alive!
The motion constrol system requires a PC to work.... obvious isn't it...
For EMC2, we can use Pentium 4 with 512Mb or more. I had a free P3 donated. but it Ubuntu didn't like it... An used P4 of the correct spec will set me back ~RM400, It is the most economical choice but I have a soft spot for the Intel Atom chip...
Purchased a D945GLF box. Its contained mobo + the N240 processor at RM215. I need to have a ATX PSU, a 2Mb DDRII RAM, and use salvaged LCD monitor, keyboard mouse, HDD, CD drive.
Plug in all the necessary connectors, slot in the RAM, power up... then all hell broke loose for the next 3 day trying to figure out what went wrong.... after swapping a new DDRII RAM, IDE cable, BIOS battery, keyboard, mouse, CD drive and even another HDD. Eventually, it was concluded that the mobo is faulty and while waiting for replacement, (warranty claim), I got hold of the Dual core Atom board D945GLF2 as they only have this in stock...
Back to me workbench, slot in the RAM, plug in all neccessary connector, set the bios, insert the EMC live-CD & we have this
Ran the latency Test, 15,801ns max jitter is just what I hope for.
Here is the screenshot (literally) of EMC2
Lessons learnt? Yes, Murphy Law never fails!!! ....
Apart from that, check your PSU pinout!!!
The D945GLF requires 2x10 +2x2 power connectors.
The D945GLF2 requires 2x12 + 2x2 power connectors
Getting the right PSU at the right price burnt up 2~3weeks of my time....
So you are warned.
For EMC2, we can use Pentium 4 with 512Mb or more. I had a free P3 donated. but it Ubuntu didn't like it... An used P4 of the correct spec will set me back ~RM400, It is the most economical choice but I have a soft spot for the Intel Atom chip...
Purchased a D945GLF box. Its contained mobo + the N240 processor at RM215. I need to have a ATX PSU, a 2Mb DDRII RAM, and use salvaged LCD monitor, keyboard mouse, HDD, CD drive.
Plug in all the necessary connectors, slot in the RAM, power up... then all hell broke loose for the next 3 day trying to figure out what went wrong.... after swapping a new DDRII RAM, IDE cable, BIOS battery, keyboard, mouse, CD drive and even another HDD. Eventually, it was concluded that the mobo is faulty and while waiting for replacement, (warranty claim), I got hold of the Dual core Atom board D945GLF2 as they only have this in stock...
Back to me workbench, slot in the RAM, plug in all neccessary connector, set the bios, insert the EMC live-CD & we have this
Ran the latency Test, 15,801ns max jitter is just what I hope for.
Here is the screenshot (literally) of EMC2
Lessons learnt? Yes, Murphy Law never fails!!! ....
Apart from that, check your PSU pinout!!!
The D945GLF requires 2x10 +2x2 power connectors.
The D945GLF2 requires 2x12 + 2x2 power connectors
Getting the right PSU at the right price burnt up 2~3weeks of my time....
So you are warned.
Labels:
ATOM mobo,
CNC,
CNC motion controller system,
DIY CNC Router,
EMC2
Thursday, November 12, 2009
Featuring EMC2
While settling back in my home town, I found time to evaluate the CNC Controller bits.
After pain staking search and review; I end up PC based CNC software controller
1) Mach3 which runs on Window
2) EMC2 on Linux OS
As I wish to have the flexibility to have the last say on the hardware specifications
I eventually ended with EMC2 which is free open source program. Not that I'm cheap, Mach3 is affordable ~USD100, & you can have a trial version for unlimited period for free, it has all the bell and whistles that any top rank controller programs would have. Moreover, help forums and supporting community are strong too.
It is the believed that Open source Linux OS is practically immune to hackers & deathly viruses which I fear most.
About the software
EMC2 is precompiled with Ubuntu 8.04 LTS (long term support) versions for ease of installation and longevity.
EMC2 has a few GUIS, Namely, AXIS, TkEmc, HALUI. They even has a Ladder Logic program call CLASSICLADDER. For now, I'll concentrate mainly on AXIS which is an ongoing development.
Screen shoots
After pain staking search and review; I end up PC based CNC software controller
1) Mach3 which runs on Window
2) EMC2 on Linux OS
As I wish to have the flexibility to have the last say on the hardware specifications
I eventually ended with EMC2 which is free open source program. Not that I'm cheap, Mach3 is affordable ~USD100, & you can have a trial version for unlimited period for free, it has all the bell and whistles that any top rank controller programs would have. Moreover, help forums and supporting community are strong too.
It is the believed that Open source Linux OS is practically immune to hackers & deathly viruses which I fear most.
About the software
- EMC (the Enhanced Machine Control) is a software system for computer control of machine tools such as milling machines and lathes.
- EMC is free software with open source code. Current versions of EMC are entirely licensed under the GNU General Public License and Lesser GNU General Public License (GPL and LGPL)
- EMC provides:
- a graphical user interface (actually several interfaces to chose from)
- an interpreter for "G-code" (the RS-274 machine tool programming language)
- a realtime motion planning system with look-ahead
- operation of low-level machine electronics such as sensors and motor drives
- an easy to use "breadboard" layer for quickly creating a unique configuration for your machine
- a software PLC programmable with ladder diagrams
- easy installation with .deb packages or a Live-CD
- It can simultaneously move up to 9 axes and supports a variety of interfaces.
- The control can operate true servos (analog or PWM) with the feedback loop closed by the EMC software at the computer, or open loop with "step-servos" or stepper motors.
- Motion control features include: cutter radius and length compensation, path deviation limited to a specified tolerance, lathe threading, synchronized axis motion, adaptive feedrate, operator feed override, and constant velocity control.
- Support for non-Cartesian motion systems is provided via custom kinematics modules. Available architectures include hexapods (Stewart platforms and similar concepts) and systems with rotary joints to provide motion such as PUMA or SCARA robots.
- EMC runs on Linux using real time extensions. Support currently exists for version 2.4 and 2.6 Linux kernels with real time extensions applied by RT-Linux or RTAI patches.
EMC2 is precompiled with Ubuntu 8.04 LTS (long term support) versions for ease of installation and longevity.
EMC2 has a few GUIS, Namely, AXIS, TkEmc, HALUI. They even has a Ladder Logic program call CLASSICLADDER. For now, I'll concentrate mainly on AXIS which is an ongoing development.
Screen shoots
Labels:
CNC,
DIY CNC Router,
DIY Electronics,
DIY Robotic,
EMC2
Subscribe to:
Posts (Atom)






