Home of TurboCNC, the best open-source CNC control around...
You are here:
Homepage -> FAQ's -> TurboCNC FAQ
|Latest release of TurboCNC is v4.01
released March 13
Files on the Internet are often compressed to save time in the transfer. This also provides a degree of error-checking in case some information is lost.
The ZIP file is the most common form, so you'll be well served to learn to work with it. First, head over to http://www.winzip.com and download their demo version. Follow their directions and use the help function in the program to get you started.
If you get ultra-stuck, or just don't need to learn how to use Yet Another Program today, send me an email about it and I'll send you the files.
Almost all configurations should be set to the Active LOW state. Geckodrive 320 and 340 users however should use the Active HIGH state.
For TurboCNC versions prior to v3.1, the first line of the text file that contains
your Gcode should be this:
In between those two lines, you can add any sort of text you want as a description.
Take a look at the program MINIMAL.CNC for an example, which is included in the download.
Programs can be generated using MS-DOS Edit, Notepad, or with CAM programs such as VectorCAM, DeskEngrave, and ACE-converter. Don't use MS-WORD to build your CNC files, as it inserts special characters that can cause headaches.
In version 3.1 and later, the special header format described above is no longer needed.
The step rate timebase is the motherboard ch0 timer (1.1193180
Mhz), and all step rates are quotients of this frequency. The maximum
reasonable step rate is therefore about 1/10 of the timebase freq, or 100 kHz. Past
that, the intervals get a bit jagged for motors to accelerate.
5. Where can I get a compiler for the source code?
You'll need to set some of the compiler options. The following works with TurboCNC v3.1a, which is notably difficult to compile owing to its size. Kudos to Jerry Jankura for putting this list together.
That should compile the complete program and present you with a fresh
A lathe needs to have some sort of encoder on the spindle that provides one pulse per revolution; in the form of a 5V TTL pulse that the computer can read.
Then, in the IO configuration menu, set up the spindle index input so that it matches the pin that you've connected it to on the parallel port.
Be careful about signal noise, as this can cause problems with false or missed pulses at the port. Good shielding and wiring practice is strongly recommended.
See the new detailed threading article for more on the subject.
For Windows 3.1, just exit to DOS. You can also edit your autoexec.bat/config.sys to present a clean startup. You should disable EMM386.exe and HIMEM.sys.
In Windows 95/98/ME, a Shut Down --> Restart in MS-DOS mode usually is enough.
For Windows 2000/XP/NT you'll need to make a boot disk (follow the instructions in your OS docs). Start up with the boot disk in place, and you should be good to go. For the ultra lazy, head to http://www.bootdisk.com for DOS boot disks.
Linux? You're on your own. A Linux port of TurboCNC has been underway by several parties since April of 2001, but nothing has materialized yet.
Fortunately for you, I happen to collect foreign coins and bills. Drop whatever suits you into an envelope and mail it to my contact address.
If you want to pay with knick-knacks unique to your locality, that works too. One gentleman sent me a beautiful set of knives from his native town in Pakistan. Another guy that works for a local instrument company brought over a brand new VOM. Think outside the box.
© 2001-2015 DAK Engineering.
All rights reserved.
This page last updated on January 15, 2015 .