Re: [CAD_CAM_EDM_DRO] turbo pascal
Posted by
Alan Marconett KM6VV
on 2002-01-05 14:12:58 UTC
Hi sdiken,
What you need to write is a parser, which is quite simple for Gcode. As
each block (line) of code is parsed, you execute the indicated move.
Your two "points" are current position, and the parsed "next" position.
Throw in a few Mcodes, and and 'F' for the feedrate, and you've got
yourself a controller!
You are a student? Tell us a little more about your project, and
school! And we didn't ketch the name.
HTH
Alan KM6VV
"sdiken.rm" wrote:
What you need to write is a parser, which is quite simple for Gcode. As
each block (line) of code is parsed, you execute the indicated move.
Your two "points" are current position, and the parsed "next" position.
Throw in a few Mcodes, and and 'F' for the feedrate, and you've got
yourself a controller!
You are a student? Tell us a little more about your project, and
school! And we didn't ketch the name.
HTH
Alan KM6VV
"sdiken.rm" wrote:
>
> Hi!
> I have project "Conversion of a lathe to CNC by using pc based motion
> control unit". I am using two step motors and Turbo Pascal programm.
> On my program, I should enter 1. point and 2. point. And also if it
> is line or acr. Tha programm is functioning well but my lovly prof.
> Want to enter G-Code like CNC. For exaple G01 X20 Y15. The advantage
> of this is to enter more motion commant. But how can I use it by
> turbo pascal programm.
>
Discussion Thread
sdiken.rm
2002-01-05 05:56:24 UTC
turbo pascal
Paul
2002-01-05 06:41:06 UTC
Re: [CAD_CAM_EDM_DRO] turbo pascal
Carol & Jerry Jankura
2002-01-05 07:06:53 UTC
RE: [CAD_CAM_EDM_DRO] turbo pascal
Alan Marconett KM6VV
2002-01-05 14:12:58 UTC
Re: [CAD_CAM_EDM_DRO] turbo pascal
ballendo
2002-01-06 00:46:44 UTC
Re: turbo pascal