CNC machine progress

35 views
Skip to first unread message

Sam Harmon

unread,
Sep 24, 2012, 11:37:42 AM9/24/12
to Makers Alliance Google Group

On Saturday, Joe O, Matt, and myself spent some time trying to get the MaxNC CNC mill working with EMC2. It was a learning experience :-) So far all we've managed to do is get the spindle to run, and it only does that when the controlling computer is powered down...

It turns out the MaxNC doesn't use a "standard" stepper motor control (i.e. send step/direction per axis using 2 pins each on the parallel port) - the motors have encoders attached (making them a little more like servos), and it uses some kind of quadrature encoding and has some microcontrollers in its onboard electronics that in turn step the stepper motors. In theory, EMC2 can support this through a function called 'stepgen', but I haven't found a decent tutorial or working configuration from someone else.

There are still a few avenues we're going to try to approach:
1: Use Mach3 on a Windows machine- It looks like the MaxNC electronics are supported by Mach3. It would probably be useful to try this (in the free version of Mach3 that limits you to 500 gcode instructions per file so we don't shell out $175 or whatever) just to figure out if the electronics do in fact work. If we can get it to run at all we could maybe see what's going on in the parallel port to figure out what needs to happen for the EMC2 configuration. Now we just need a working Windows install on a machine with a parallel port...

2: Through a MaxNC yahoo group, I found the executable for the original DOS software that shipped with the machine. This may not be terribly helpful, as I can't get it to run at all in DOSbox (seems to be missing all kinds of other files)

3: Try appealing to the internet for support: Noisebridge (the San Francisco hackerspace) has (as far as I can tell) an identical mill. they claim to have it working in EMC2, but didn't share the config files. I've asked via twitter for their config. I'll probably try some targeted e-mails to them next. There's also a guy involved with the Tesla Orchestra (our new neighbors at LH) who is an EMC2 developer. He may also be a good resource.

4: If all else fails, we can chuck the existing electronics and get a Geckodrive or some other 4-axis CNC stepper driver and roll with that. I may even order some cheap-ish one soon just to experiment with.

Sam

Corwin Harris

unread,
Sep 24, 2012, 7:39:30 PM9/24/12
to makersa...@googlegroups.com
Can you link to the DOS software? I might have some hardware laying about which can run it.

Joe O'Donnell

unread,
Sep 24, 2012, 8:01:55 PM9/24/12
to makersa...@googlegroups.com
I setup a freeswitch pbx on makersalliance.com and connected it to a free incoming Washington state number:
206-424-9017

At the moment it's set up to say a few snarky things and hang up. It can also function as a softphone switching station. If you install a softphone you can connect as any extension between 1001-1019 with password 1234, and than call other extensions. My softphone is currently extension 1000, but I'm about to go out for an hour or so. Here are some additional extensions:

5000 - demo IVR (not fully functional with free number yet)
9195 - five second delay echo test
9196 - standard echo test
9197 - milliwatt extension
9198 - tetris extension for demo TGML generation
9664 - music on hold (requires music files to be installed)

Softphones:

http://www.counterpath.com/x-lite.html -windows
http://www.twinklephone.com/ (or apt-get install twinkle)
http://itunes.apple.com/us/app/bria-voip-sip-phone-video/id373968636?mt=8
http://www.zoiper.com/softphone/ -win,lin,apple


This server also hosts an online CAD system. It requires a newer browser like Google Chrome and a newer 3D card to work:

http://makersalliance.com:8002/signin

JoeO

Corwin Harris

unread,
Sep 25, 2012, 1:57:20 PM9/25/12
to makersa...@googlegroups.com
Joe, that's pretty neat. But I wanted to address the fact that I've noticed that a variety of people are starting new off-topic conversations in existing threads. Can you please start a new thread instead? It will make finding your post and work much easier later. :)

Joe O'Donnell

unread,
Sep 25, 2012, 3:28:58 PM9/25/12
to makersa...@googlegroups.com
 Thanks. The IVR system is now working at our own phone number: 206-424-9017 You can connect your own softphone to that IVR at makersalliance.com:5080, extension/name: 1001 up to 1019, password: 1234. So people can than call the IVR number and be patched through to your extension. Your sip phone number will be: exte...@makersalliance.com

  We also have a local google talk number of 216-285-0243 that may be possible to connect with the above.

 New google message threads are started with new subject lines, right? Maybe the [MakersAlliance] heading added by google is causing them to be one thread on some email systems.

JoeO

 
--- On Tue, 9/25/12, Corwin Harris <corwin...@gmail.com> wrote:

From: Corwin Harris <corwin...@gmail.com>
Subject: [makersalliance] Re: Club phone system
To: makersa...@googlegroups.com
Date: Tuesday, September 25, 2012, 1:57 PM

Joe, that's pretty neat. But I wanted to address the fact that I've noticed that a variety of people are starting new off-topic conversations in existing threads. Can you please start a new thread instead? It will make finding your post and work much easier later. :)

On Monday, September 24, 2012 8:01:56 PM UTC-4, Joe ODonnell wrote:
I setup a freeswitch pbx on makersalliance.com and connected it to a free incoming Washington state number:
206-424-9017

At the moment it's set up to say a few snarky things and hang up. It can also function as a softphone switching station. If you install a softphone you can connect as any extension between 1001-1019 with password 1234, and than call other extensions. My softphone is currently extension 1000, but I'm about to go out for an hour or so. Here are some additional extensions:

5000 - demo IVR (not fully functional with free number yet)
9195 - five second delay echo test
9196 - standard echo test
9197 - milliwatt extension
9198 - tetris extension for demo TGML generation
9664 - music on hold (requires music files to be installed)

Softphones:




This server also hosts an online CAD system. It requires a newer browser like Google Chrome and a newer 3D card to work:

http://makersalliance.com: 8002/signin

JoeO

--
 
 

Sam Harmon

unread,
Sep 26, 2012, 1:45:58 AM9/26/12
to makersa...@googlegroups.com

PROGRESS WAS MADE!

Thanks to Tesla Orchestra's John Kasunich (who is a sometime EMC2 dev), we managed to get a stepper motor to move a bit! Part of the problem was that we were using the wrong hardware address for the parallel port card(should be 0xecf8- oops!). The rest was the odd quadrature encoding stuff.

If you're around and want to look at it, the file with what we did can be found on the CNC computer in ~/emc2/configs/StartingToWork. There's only a .hal file in there now. John suggested using stepconf to get a partial configuration going, and then merging in the changes from what we did and tweaking from there.

I also tried the Taig collet nut and that did in fact fit the spindle, so we have a little tooling once we get motion completely working!

Now, what should we do with the Chinese 4-axis controller I ordered? I'm open to suggestions...

Sam

Joe O'Donnell

unread,
Sep 26, 2012, 10:54:16 AM9/26/12
to makersa...@googlegroups.com
Congrats and thanks for this huge step in our fabricating ability.

I suggest we use the 4 axis controller board in a new project to turn the laser cutter into a laser cutter/powder sinter machine. The new board would be used to control the dust deployment mechanism:

http://www.thingiverse.com/thing:3390

http://www.thingiverse.com/peter_

http://cogsci.mcmaster.ca/~peter/


--- On Wed, 9/26/12, Sam Harmon <samuel...@gmail.com> wrote:

> --
>
>
>

Paul Jarc

unread,
Sep 26, 2012, 12:21:55 PM9/26/12
to makersa...@googlegroups.com
"Joe O'Donnell" <joseph....@yahoo.com> wrote:
> New google message threads are started with new subject lines,
> right?

GMail's web interface does use the subject to group messages into
conversations. But other mail clients use the In-Reply-To or
References header fields to group messages into (possibly
tree-structured) threads. Those fields are filled in automatically
when you hit "reply", and most mail clients don't give you a way to
clear them out to indicate the start of a new thread. The only way to
make sure they're empty is to start a new message instead of replying
to an old one.

TL;DR: "Reply" is a handy way to fill in the addressee, but it has
other less-visible consequences that may not be what you want.
Starting a new message instead is the best way to indicate a new
topic.


paul
Reply all
Reply to author
Forward
0 new messages