Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: sanlee on February 18, 2008, 02:28:46 AM

Title: How to use Exellon PCB routing file into MACH
Post by: sanlee on February 18, 2008, 02:28:46 AM
Dear All

Can anybody tell me that how to use Exellon PCB drill and routing file into MACH.

Thanks

sanlee
Title: Re: How to use Exellon PCB routing file into MACH
Post by: Hood on February 18, 2008, 02:58:03 AM
What is the file extension? Have you tried opening it from Mach? Can you attach a sample file for everyone to see?
Hood
Title: Re: How to use Exellon PCB routing file into MACH
Post by: sanlee on February 18, 2008, 03:09:09 AM
Yes Hood

Just see the file as attached.

thanks
Title: Re: How to use Exellon PCB routing file into MACH
Post by: sanlee on February 18, 2008, 03:13:10 AM
The 4ch4c01.txt is drilling file while Test-R is routing file. i have tried it to open into MACH but it does not respond. Also in drilling file only X and Y co-ordinates are given for Z nothing is there. so it means after every X or Y or both motion z has to come down for specific depth. am i correct?

Sanlee
Title: Re: How to use Exellon PCB routing file into MACH
Post by: Hood on February 18, 2008, 04:48:00 AM
Just loaded your files into Mach and they dont really make sense, the X and Y coords are huge, definitely not PCB sized ;) If I comment out the 3 to 6 line with () I can load the drilling file and it looks like it may be about right except for the sizing.
 Maybe you could try and save your drawing as a DXF and open in lazyCam and see if you can get the code that way.
Hood
Title: Re: How to use Exellon PCB routing file into MACH
Post by: sanlee on February 18, 2008, 07:10:11 AM
Hood

Actually i think these all cord are in mil hence it is having without decimal. and 2nd thing is i dont have the original file. i have only these drilling and routing file only. hence i have to check whether is it possible by MACH to route this file or not. If MACH can do this then it would be wonderful in PCB industries.

Thanks
Sanlee
Title: Re: How to use Exellon PCB routing file into MACH
Post by: Hood on February 18, 2008, 07:50:33 AM
Sanlee
 I work in mm all the time as I am from the UK however it must be a mighty big PCB as for example one move is to Y506, the next Y move is Y5695 thats a 5,189mm move or in inches 204".
 As you said there are no Z moves in this, also its not normal style G Code, no G1 moves etc.
 Do you have a link to their website so that maybe I can have a look to see how this works.
Hood

EDIT
 Just did a google and came up with this, might work out for you
http://talkaboutelectronicequipment.com/group/sci.electronics.cad/messages/69205.html
Title: Re: How to use Exellon PCB routing file into MACH
Post by: vmax549 on February 18, 2008, 01:26:39 PM
I think what you need is here.  http://hans-w.com/download.htm    It is a free convertor to convert the ecellon files to a gcode file.

(;-) TP
Title: Re: How to use Exellon PCB routing file into MACH
Post by: sanlee on February 19, 2008, 04:35:15 AM
Thankyou both of you

As i have checked that Exellon to G-code converter for drilling file, there is nothing about Z. and all cord are divided by 1000 to convert into inch from the mil. in exellon file they never give Z as Z has to move fixed down to drill. so after every X and Y motion Z will come down hence in exellon formate i think they have not given but internally they may be give signal to Z. i dont have any link but you can see the Exellon machine on website: www.excellon.com. if further you can help me then it would be great for me.

Thanks

Sanlee
Title: Re: How to use Exellon PCB routing file into MACH
Post by: vmax549 on February 19, 2008, 02:04:21 PM
SANLEE, I just converted your drill example using the convertor and it seems to a fine job??? I am not sure what more you are looking for. It adds in the z depth control as part of the conversion.

?????  (;-) TP
Title: Re: How to use Exellon PCB routing file into MACH
Post by: sanlee on February 20, 2008, 07:41:09 AM
Yes TP

I have misunderstand with G81 code actually it is for driliing purpose only. so thankyou. but what about the auto tool change in Gcode? also just tell me for my knowledge can we set DRO without Decimal in Inch formate in Mach.? if yes then how can we do this?

Thanks to all
Sanlee
Title: Re: How to use Exellon PCB routing file into MACH
Post by: vmax549 on February 20, 2008, 08:15:30 AM
I am guessing here that you want to try and run the native code ????  Yes you can setup mach to run inches as the native setup units. Then if you need to scale the work use the scale funtion of mach to add back the .000 scaling factor.

To swith over to inch units consult the manual.

(;-) TP
Title: Re: How to use Exellon PCB routing file into MACH
Post by: sanlee on February 20, 2008, 08:47:43 AM
Sorry TP

I didnot get you. from where i can change scalling? actually i am asking this because my Gcode is generate in mil (i.e. 1/1000 of inch) and without decimal i.e. like this "X02500Y03000" then it means x=2.500 inch and Y=3.000inch. that is why i want to set DRO as 00000 instead of 0.0000. so from where i can do this.

Thanks lot

sanlee
Title: Re: How to use Exellon PCB routing file into MACH
Post by: Hood on February 20, 2008, 09:20:54 AM
Does that convertion that TP linked you to not change the decimal when it converts to G Code? It seemed to for me.
 If it does then all you need to do is either put a G21 at the start of the code and Mach will know its mm or you could if you wished instead of G21 use G20 and use the scaling at the side of the Axis DROs to divide by 25.4. the latter however is not really a sensible way to do it.
Hood
Title: Re: How to use Exellon PCB routing file into MACH
Post by: vmax549 on February 20, 2008, 10:19:32 AM
SANLEE, where you are trying to go is a very hard way to do it. It will require that the screen dro's be reconfigured. NOT a good idea(;-).

I would suggest that you do a search on the WEB for conversions of the native codes into GCODE files. THey are out their you just have to look. I found a lot of info on the subject.

(;-) TP
Title: Re: How to use Exellon PCB routing file into MACH
Post by: sanlee on February 21, 2008, 03:26:05 AM
Thanks Hood for reply

I downloaded that conversion from Exellon drill file to Gcode which TP has given link. but it is converting wrong cord for x and y at someplaces. i am attaching the original file 3161.nc and converted file 11.txt. jsut have a look.


Thanks TP

I will searh native codes into gcode. but if you have any link then please help. i will grateful to you.

sanlee