View Single Post
  #8   Report Post  
Posted to rec.crafts.metalworking
Ignoramus18541 Ignoramus18541 is offline
external usenet poster
 
Posts: 28
Default Wired a Haas 5C indexer to be controlled by CNC mill

On 2010-11-27, Karl Townsend wrote:
On Sat, 27 Nov 2010 00:37:41 -0600, Ignoramus8184
wrote:

I have a Haas 5C indexer, similar to eBay item 310175166880, except mine
is a stepper driven model. It has a chuck on its nose also.

The way it works is that you program it like a VCR, and upon pressing
a button, it advances one step of the program. You can, say, specify
that it needs to divide a circle in 23 divisions. There is a provision
of a remote button at the end of a two conductor cable, and it can be
wired to the CNC mill.

Which is what I did.

Now the mill can use the M64 and M65 G codes to tell the indexer to
advance. I wrote a G code subroutine advance_indexer that does its
namesake job using M64, M65 and waiting.

After this I added a GUI button "advance indexer".

I used an "audio extension cable" to provide a disconnect capability.

What is really amazing is how easy it was. I was tired, garage was
cold, I made several dumb mistakes (like forgetting to install a DC
SSR into the slot that I wanted to use), and yet the whole job took 2
hours from start to finish.

Thank you, EMC2. Also kudos to Jon for his easy to use PPMC system.


Great project Iggy. Say, did you look at just hacking into the step
driver and giving step/direction signals? Then you'd have a full
fourth axis.


I am not sure if I want to do it, since I have a big CNC rotary table
(cost me $149). It is more work to get it to work than the Haas,
because it has a resolver, it needs another servo drive installed,
etc. But eventually I want to use the Troyke CNC table as a real 4th
axis.

The barn got too cold for work, so I moved to the heated shop.
Yesterday, I took a probe I scored on the bay and mounted it in a tool
holder then added an input for it. And a quick plugin connection.


Awesome. I still have not gotten around to doing that.

My first macro is "find hole center". I put a user button on the
screen and thne jog to roughly put the probe in the hole, just press
the button and the machine stops after finding the center.

Today, I'll add a teach function so I can do several holes and record.
Useful for copying parts or making something to bolt up.


This is REALLY cool Karl. I would like to do the same. The math for
finding "inscribed circle" is very straightforward. I have a probe,
just have not hooked it up to anything yet.

Next, I'll make an outline probe routine. Go all around the perimeter
of a part and touch off edge then record point. very useful to copy a
broken part or make something to match up. (I had connected a laser
last year, they are great at surfaces but poor at edge find)


If you're like me, you get addicted to how easy it is to add great
functionality to PC controls.


I am already addicted...

i