|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
EMC linux + CNC mill + CNC Lathe
Hello Netizens of ChiefDelphi,
Our team found a CNC mill and a CNC lathe in the back of the tech class store room. Degem TP MI CNC mill EMCO Unimat PC (not the "basic" model, the one under it) Our problem, in both cases, is that we can not find the computer or the software supposed to run these machines,so I was thinking perhpas EMC might work, but I have never used it and have no idea what is needed to set it up.(the website is... not very coherent to me - to say the least). So I have some questions which I am sure people here will be able to answer, since some of them are general questions about CNC:
As you can see I don't think i'll have much of a problem setting up EMC, and I have a basic understanding of how the mill works, but I aam completely lost on how to bridge the two worlds, and non of the above have any information to help me out here. Specifically it seems to me that I lack some basic knowledge about CNC setups that the EMC website assumes that I have. Thanks very much for your help! -Leav Last edited by Leav : 22-10-2008 at 04:10. |
|
#2
|
|||||
|
|||||
|
Re: EMC linux + CNC mill + CNC Lathe
Small update: just got off the phone and it seems that the mill has an LPT1 style parallel port.
How does this bode for connecting to a pc running EMC? They tried selling me a 350 euro kit for conversion from parallel to serial, and 150 euro software for it. I think ill go with the 0 euro upgrade to EMC, if I can ![]() -Leav |
|
#3
|
|||
|
|||
|
Re: EMC linux + CNC mill + CNC Lathe
Quote:
|
|
#4
|
||||
|
||||
|
Re: EMC linux + CNC mill + CNC Lathe
You might try http://www.machsupport.com/
or http://www.dakeng.com/turbocnc.html I have run both thru a xylotex control system. Both have the ability for you to tune the drivers. Mach has more features and I use it to develop the g-code but the computer I am running my CNC router is old, so I am running TurboCNC there. There are many more free software solutions. These two are pretty common. Check out http://www.cnczone.com/ |
|
#5
|
|||||
|
|||||
|
Re: EMC linux + CNC mill + CNC Lathe
Thanks guys!
Regarding Linux - I have no problem running linux, I am very fmilier with it and have been running it as my main OS for several years now. Regarding the software - I am not particulerlay concerned with the software itself, but more with the interface between the software and the hardware. Is this LPT1 connection a standard thing, or will I have to modify the signal? will it just involve finding the right pinout? if so, how do i find that pinout? How are stepper boards controlled? is it a standard way, or will each board have it's own special way of communicating with the computer? Thanks for helping me out! -Leav |
|
#6
|
|||||
|
|||||
|
Re: EMC linux + CNC mill + CNC Lathe
Andy, I went through the TurboCNC (reminds me of Turbo Pascal
) and found this website:http://www.seanet.com/~dmauch/ it uses frames so I can't direct link, but in the menu click on "secrets of CCNC", and scroll down a bit: there is a whole section explaining how the parallel port control works and a whole lot more useful information. Thanks again Andy! -Leav |
|
#7
|
||||
|
||||
|
Re: EMC linux + CNC mill + CNC Lathe
Most of the software packages will have the pinouts. I have seen that most control boards use a standard for x, y and z axis. Some, like Mach, let you configure all the pins to match non standard pinouts.
Good luck with resurrecting your machines. They look fairly new so should be adaptable. The control system for my router had a 25 pin serial port and the software was not available. I was able to wire a new control system to the existing steppers. |
|
#8
|
|||
|
|||
|
Re: EMC linux + CNC mill + CNC Lathe
LPT1 is just another name for the parallel port (something like local print terminal). Any parallel port will work, as long as the software supports the same protocol as the mill.
|
|
#9
|
||||
|
||||
|
Re: EMC linux + CNC mill + CNC Lathe
Leav,
Does your mill & lathe have drivers already? Or do you need those? Here's my summary of how all the pieces work, in reverse order. I'm basing my values on general hobby/training-sized machines, which it seems is what you have. Note that this is a bare scratch of the surface of info on these devices... (1) The stepper motors move in very small, but well defined increments with each "pulse" it receives from the driver -- common is 1.8 degrees per step (200 pulses per rev). Some motors are bi-polar and others are uni-polar, and some of these motors can be wired as the other type. (2) Once you determine what type of motors you have, you need matching drivers. The drivers put out a (relatively) high voltage to power the stepper motors. The drivers usually take a 2-wire signal -- one is the direction (high or low digital level), and the other is a step (one pulse for each step). If you don't have drivers already, look into Geckos (a bit pricey, but very capable), IMS, Xylotex, and others. (3) The drivers require a high-voltage, high-current motor power supply (usually 30V to 70V and a few to 10A or 20A, depending on the driver and motor), and a low-voltage, low-current control power supply (usually like 12V or 5V). (4) The drivers get the step and direction signals (one pair of signals for each axis of your machine) from a parallel port (usually). You can get a breakout board to simplify extracting the signals from the parallel port. Some of these cost as low as $10. Note that some laptops have very low signal levels from the parallel port, so get a buffered breakout board for a bit more $$$. Check out places like cnc4pc.com . (5) If your machines have control of the spindle, or coolant, etc, you will can also get the control signals for those from the breakout board. (6) For software, as much as I am a Linux guy first, I must admit that setting up Mach3 with Win2000 was much easier than EMC. The free version is limited in number of lines, but it's still a LOT of lines. You might try that to get started much quicker. (7) You can write g-code manually for now, then later get a decent cad-cam program to generate the code for you. Some other notes... - Common convention is ... On the mill, X is left to right, Y is forward and back, and Z is up/down. On the lathe, X is forward-back, and Z is left to right. Yes, it's odd, but Z is always considered to be along the axis of spindle rotation. - You'll come across "microstepping". This is the ability of the driver to step the motor only partially for each step pulse. You get smoother operation and better resolution, but the PC needs to send out many more pulses per second. 8 microsteps is usually good enough. 4 is decent, but 16 or more is usually not noticed. - Steppers may show a few volts listed on the label (like 2 or 3 volts), but you would power it with a supply about 20 to 25 times that (yes, going up to 70 volts or so). Reason is that the high voltage gets current to the motor windings much faster, and the current-limiters in the driver will switch the voltage off accordingly at the right time to not overdrive the motors. - A CNC machine does not absolve you of learning to machine (endmill types, speeds, feeds, depths-of cut, workholding, etc.). - Get on cnczone.com and machsupport.com . Good info there. Cheers, -Neil. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CNC Router/Mill | Andy L | Technical Discussion | 80 | 03-11-2008 02:14 |
| pic: 294 - This is How we cut (CNC lathe) | AdamHeard | Extra Discussion | 5 | 14-10-2007 22:32 |
| CNC Mill Transformer | John Gutmann | Technical Discussion | 39 | 30-09-2005 02:49 |
| CNC Mill Help | Rickertsen2 | Technical Discussion | 8 | 25-08-2004 00:59 |
| Haas CNC Mill Graph Function | P-Dog | Technical Discussion | 9 | 13-03-2004 23:45 |