Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 29th March 2008, 12:02 AM   #1
Default NC to G-Code & Visual Studio error File Format Converter

I found these on Hans Wedemeyer's website.
http://hans-w.com

Hans has a program to Convert Excellon NC drill file to G-Code.
This program is setup to drill etched boards.

Quote:
Drilling after etching means the board has to be aligned on the mill, and I decided the easiest way is to clamp the board in place, jog to the known 0,0 datum and set the program to 0,0. Then I jog to a "pad" on the etched board for which I have a coordinate, and read off of the program the actual X,Y for that pad. These two sets of X,Y coordinates are entered into the EtoG program and a rotation is applied to all X,Y coordinates in the G-Code file.
-------------------------------------------------------------------------
There is not a great CCS following here but it should not be a big deal to come up with a similar converter for other compilers. Write a few lines of code to convert the error listing to look similar to what VS expects.

Hans Wedemeyer's has a small program on his website that reads a CCS error file and imports it into the VS output window. This allows one to click on an error to locate the error within the text.

Once setup it works like this.
Compile in MPLAB
Switch to VS C++
Select Tools>ErrorConverter //if you named the installed tool ErrorConverter
Select an error in the output window to find the error within the file
__________________
Please post questions to the forums. PM's are for personal communication.

BCHS/3v0's Tutorials
Junebug USB PIC programmer kit., USB Bit Whacker,
The 15 Minute Printed Circuit Board! (+drill time)
3v0 is offline  
Reply

Tags
converter, error, file, format, gcode, studio, visual

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
MP Lab Program Help bamafan54 Micro Controllers 5 7th January 2009 03:16 PM
about Visual Studio shaq86 Electronic Projects Design/Ideas/Reviews 1 14th July 2007 08:14 PM
Help in regarding Code Composer Studio rohithcs General Electronics Chat 1 28th July 2005 10:57 PM
Tough assembly program for the PIC16F84 asmpic Micro Controllers 34 3rd December 2004 07:50 PM
An error in pic16f84a, why? Zener_Diode Micro Controllers 6 11th April 2004 03:55 AM



All times are GMT. The time now is 11:05 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker