Go to Post Hey, I'm not my dad, I dont know anything! - Lil' Lavery [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 22-10-2008, 04:06
Leav's Avatar
Leav Leav is offline
Spud Gun Division
AKA: Leav Oz-Ari
FRC #3316 (D-Bug)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2005
Location: Technion, Haifa, Israel
Posts: 774
Leav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond repute
Send a message via ICQ to Leav Send a message via AIM to Leav Send a message via MSN to Leav
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:
  1. How do stepper control boards(stepper drivers?) work? what is the input signal? (single pulse for each step on a control line?)
  2. I know stepper motors are controlled by stepper drivers, but how are these drivers connected to the PC, and is there some sort of standard?
  3. I gather that the PC connects to the boards through the serial port, is this correct?
  4. How can I tell what the pinout should be on the serial port?

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
__________________
"We choose to build robots this season and do the other things; Not because they are easy, but because they are hard."
-Paraphrasing JFK

Participated in FIRST as a student: 2005-2006 (But still learning every season!)
Mentor: 2008 - ? (Team 2630 2008-2011, and Team 3316 since 2013)
Engineer: 2011 - ? (B.Sc. and M.Sc. in Mech. Eng. from the Technion IIT)
FIRST Volunteer - 2007 - ? (MC, FTA, FIRST Aid etc.)

Last edited by Leav : 22-10-2008 at 04:10.
  #2   Spotlight this post!  
Unread 22-10-2008, 07:53
Leav's Avatar
Leav Leav is offline
Spud Gun Division
AKA: Leav Oz-Ari
FRC #3316 (D-Bug)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2005
Location: Technion, Haifa, Israel
Posts: 774
Leav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond repute
Send a message via ICQ to Leav Send a message via AIM to Leav Send a message via MSN to Leav
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
__________________
"We choose to build robots this season and do the other things; Not because they are easy, but because they are hard."
-Paraphrasing JFK

Participated in FIRST as a student: 2005-2006 (But still learning every season!)
Mentor: 2008 - ? (Team 2630 2008-2011, and Team 3316 since 2013)
Engineer: 2011 - ? (B.Sc. and M.Sc. in Mech. Eng. from the Technion IIT)
FIRST Volunteer - 2007 - ? (MC, FTA, FIRST Aid etc.)
  #3   Spotlight this post!  
Unread 22-10-2008, 12:26
chris31 chris31 is offline
Team 2021 Captain
AKA: Chris Davidson
FRC #2021 (FA Robotics)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2006
Location: Atlanta, GA/ Fredericksburg,VA
Posts: 949
chris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond reputechris31 has a reputation beyond repute
Send a message via AIM to chris31
Re: EMC linux + CNC mill + CNC Lathe

Quote:
Originally Posted by Leav View Post
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
A laptop might not have a parralle port but a desktop most likely will. I have never played with EMC but its a Linux distribution. I dont know how straightforward the install and use of it is, but if you dont have any background in using Linux it might take some time and be a pain to set up.
  #4   Spotlight this post!  
Unread 22-10-2008, 12:56
Andy Brockway Andy Brockway is offline
Engineer
FRC #0716 (Who'sCTEKS)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Falls Village, CT
Posts: 458
Andy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond repute
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/
__________________
Andy Brockway
Team 716, The Who'sCTEKS
  #5   Spotlight this post!  
Unread 22-10-2008, 14:44
Leav's Avatar
Leav Leav is offline
Spud Gun Division
AKA: Leav Oz-Ari
FRC #3316 (D-Bug)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2005
Location: Technion, Haifa, Israel
Posts: 774
Leav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond repute
Send a message via ICQ to Leav Send a message via AIM to Leav Send a message via MSN to Leav
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
__________________
"We choose to build robots this season and do the other things; Not because they are easy, but because they are hard."
-Paraphrasing JFK

Participated in FIRST as a student: 2005-2006 (But still learning every season!)
Mentor: 2008 - ? (Team 2630 2008-2011, and Team 3316 since 2013)
Engineer: 2011 - ? (B.Sc. and M.Sc. in Mech. Eng. from the Technion IIT)
FIRST Volunteer - 2007 - ? (MC, FTA, FIRST Aid etc.)
  #6   Spotlight this post!  
Unread 22-10-2008, 18:58
Leav's Avatar
Leav Leav is offline
Spud Gun Division
AKA: Leav Oz-Ari
FRC #3316 (D-Bug)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2005
Location: Technion, Haifa, Israel
Posts: 774
Leav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond repute
Send a message via ICQ to Leav Send a message via AIM to Leav Send a message via MSN to Leav
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
__________________
"We choose to build robots this season and do the other things; Not because they are easy, but because they are hard."
-Paraphrasing JFK

Participated in FIRST as a student: 2005-2006 (But still learning every season!)
Mentor: 2008 - ? (Team 2630 2008-2011, and Team 3316 since 2013)
Engineer: 2011 - ? (B.Sc. and M.Sc. in Mech. Eng. from the Technion IIT)
FIRST Volunteer - 2007 - ? (MC, FTA, FIRST Aid etc.)
  #7   Spotlight this post!  
Unread 22-10-2008, 20:32
Andy Brockway Andy Brockway is offline
Engineer
FRC #0716 (Who'sCTEKS)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Falls Village, CT
Posts: 458
Andy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond repute
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.
__________________
Andy Brockway
Team 716, The Who'sCTEKS
  #8   Spotlight this post!  
Unread 22-10-2008, 20:46
tdlrali tdlrali is offline
Registered User
FRC #0469 (Las Guerrillas)
Team Role: Programmer
 
Join Date: Sep 2006
Rookie Year: 2006
Location: MI
Posts: 377
tdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud oftdlrali has much to be proud of
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   Spotlight this post!  
Unread 09-11-2008, 23:08
VEI Dude's Avatar
VEI Dude VEI Dude is offline
Mentor 4024, 4013
AKA: Neil the Real Deal
FRC #4013 (Jokers & Clockwork Mania)
Team Role: Mentor
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Orlando, FL
Posts: 54
VEI Dude has a spectacular aura aboutVEI Dude has a spectacular aura about
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.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 19:27.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi