View Full Version : Tool Change


WOODKNACK
07-01-2003, 12:59 AM
What is the code for a tool change. I am doing a pc board and after I do my trace lines I want the machine to come up and I add the drill bit and hit a key and have it goto drilling the holes. Any ideas on this?

E-Stop
07-01-2003, 05:52 AM
Typically Txx M6 will make an automatic tool change. But it sounds like you want to manually make a tool change and then "hit a key" to go again. If that's the case an M6 without any tool number should take the "Z" axis home and orient & stop the spindle. The line after the M6 should be M0 to halt the machine until "start" is pushed again.

WOODKNACK
07-01-2003, 09:44 AM
Well I have no home switches yet! Can I just make the Z come up and use like m0 to stop the program, do my tool change and then start it again?

I am using Ace Converter to convert the gcode. There is a place where I can set Pre-Priority codes for each layer! So I was thinking I could just setup the code to make the z come up and stop the program and then start it again.

Would this work???

CNCadmin
07-01-2003, 09:47 AM
Why are you using ace converter?

E-Stop
07-01-2003, 11:20 AM
Woodknack--

I don't see why that wouldn't work. The idea is to get the "Z" axis up enough for clearance and then stop and wait for you to do something. The M0 will cause the machine to stop regardless of where the machine is positioned. Then when you press start again, it should start running right where you left off.

WOODKNACK
07-01-2003, 12:54 PM
CNCADMIN,

You ask why I am using Ace? What else should I use? THe layout for the board I have is in a DXF format! I got the DXF from a friend that somehow put it in cad. So I really dont have any other option do I??

I have been using turboCad and Ace Converter and the 2 have worked like a charm so far! Seems to be alot you can do with Ace Converter too! Im always learning something new.

ESTOP,
Thanks for the help I'll try that out. So m0 just stops the program and waits for you to start it again? Is there any number after M0 that I should use?

HuFlungDung
07-01-2003, 01:23 PM
Yes, a solitary M0 should be good for "program hold" for eternity :)

If you are thinking of a timed dwell, that would usually be a G04 plus a number in, perhaps, milliseconds of dwell. You would only use this for your purposes if you're playing "Russian tool change" with your cnc buddies.
:D

WOODKNACK
07-01-2003, 01:35 PM
HuFlungDung,
Too Funny!!! LOL I will keep that in mind next time I have someone over I don't like too much!!! HEHEHEHE.

I can see it now, HURRY, HURRY AAAAHHHHH TOO LATE!!!! LOL
I guess I'll have to make that a longer millisecond next time!!! LOL

Kookaburra
07-12-2003, 09:44 PM
What software are you using to drive the machine? The new DeskCNC has gerber and exelon tool pathing and drilling built in so you don't evern need to convert it to a dxf in the first place, just get the track and apeture file *.pcb straight ouf of your pcb development software eg:Protel and go for it, the cam wizard in DeskCNC lets you put in the tool dia for contour offset, great stuff, it also has a background tool change function so if you command T1 M06 it reads a file called toolchange.cfg and executes the lines of code the user puts, every one above has said all of the right stuff, it is just that you ony need to put it once and then it is stored until you change it, you can even write in functions for doing an automatic tool change later on down the track. Wait and watch DeskCNC, big things happening there.

:D

CNCadmin
07-12-2003, 09:53 PM
Originally posted by WOODKNACK
CNCADMIN,

You ask why I am using Ace? What else should I use? THe layout for the board I have is in a DXF format! I got the DXF from a friend that somehow put it in cad. So I really dont have any other option do I??

I have been using turboCad and Ace Converter and the 2 have worked like a charm so far! Seems to be alot you can do with Ace Converter too! Im always learning something new.


Try this if you have Auto cad or use Deskam
http://cnczone.com/showthread.php?s=&threadid=1168

boxwood
07-12-2003, 10:26 PM
Woodknack

M0, Should handle the program stop to allow you to physically change the tool, but remember ypu need to set the tool lenght offset also for the new tool and also call that tool # after the change. like this Tx. or set tool to z zero after the change and no tool number is required

Ray