CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] hi

Posted by ccs@m...
on 2001-10-11 08:01:06 UTC
> My project is "Conversion of a conventional lathe to the CNC lathe,
> by using PC based motion control unit" The programming language is
> Turbo Pascal. PC is sending signals to parallel port. Then a driver
> is sending this signals to 2 step motors. One of them is acting on X-
> direction and the other Y-direction of the lathe. I write a programm.
> But is it not finished. In this programm, x1 and y1 (start point)are
> entered and then x2 and y2 (finish point) are entered. If this is a
> linear line, then my programm is successful (y=mx*i) either m>1 or
> m<1 (m=slope). But I can not do it for a circle. (x^2 + y^2 = r^2)
> I want to move the step motors like a quarter circle for example for
> a shaft. Look the figure below. I update the program to the FILES.
> You know any programm like this? Or can please help me!?

I'd suggest you make your program also able to read a text file
containing a subset of the rs274 "G code" language usually used for
this purpose. By looking up the specs for this one the web you can
get an idea of what types of commands one usually gives such a
machine, for example how circles are specified. Knowing what
information is contained in the usual commands can help you figure out
how your program should work.

There is source code available I think to one or two programs that do
this kind of thing in Basic and perhaps pascal.

Also, in C/C++ is the Enhanced Machine Controller which runs under
linux. This is full-strength industrial grade control package which
is public domain and open source. You could probably learn quite a
bit by reading the code, once you learn your way around it.

Chris

Discussion Thread

sdiken@r... 2001-10-11 03:40:37 UTC hi Drew Rogge 2001-10-11 07:16:11 UTC Re: [CAD_CAM_EDM_DRO] hi ccs@m... 2001-10-11 08:01:06 UTC Re: [CAD_CAM_EDM_DRO] hi Bert Pirson 2001-10-11 08:06:28 UTC Re: [CAD_CAM_EDM_DRO] hi Carol & Jerry Jankura 2001-10-11 10:03:34 UTC RE: [CAD_CAM_EDM_DRO] hi Jon Elson 2001-10-11 10:39:20 UTC Re: [CAD_CAM_EDM_DRO] hi Alan Marconett KM6VV 2001-10-11 10:56:56 UTC Re: [CAD_CAM_EDM_DRO] hi dkowalcz@d... 2001-10-11 11:14:09 UTC Re: hi shawncd@p... 2004-09-07 11:30:16 UTC hi Shumaim Shaheer 2010-03-08 12:34:17 UTC hi caudlet 2010-03-08 14:29:27 UTC Re: hi [off topic] David G. LeVine 2010-03-08 17:50:10 UTC Re: [CAD_CAM_EDM_DRO] hi