CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] CNC scripting stuff....

on 2005-05-17 11:00:43 UTC
HI cs,

... For people who like working with code. Exactly right! I guess I'm in
that category.

There are times you want to "generate" a set of surfaces or cuts, and you
can do it "with the math". I did a "timing belt pulley" Gcode generation
program that way, and I want to do cams also.

Gears, pulleys, the "ruler" or calibrated dials are good examples.

Have you considered an interpreter for executing your Pascal? That could
make your generation of an algorithm and execution of it possible in a
single program.

About the time the C language started to make it onto the PC, first by
Lifeboat, and then bought out by Microsoft, there was a "Cterp" (?) C
language interpreter program available. A library of C core routines to
allow parsing and executing C statements. The typical controller program is
a Gcode interpreter. I suppose any controller program with a built-in
editor could be considered this way. I'd be inclined to combine a C
interpreter with a controller "core". (I'm partial to the C language!) ;>)
(I know I didn't throw away Cterp, I'll have to look for it).

In fact, my first robot was controlled by a tiny BASIC interpreter program
that I "extended" to accept simple move commands (turn X degrees, move FWD
XX inches, etc.). Same idea, 20+ years later!

And with TurboCNC in Pascal, you've got a "natural" controller core
available to you. Strip out the Gcode parser, substitute a Pascal
interpreter with your "additions", and you've got it. You'll be saving your
"script", I would suggest having the ability to save generated moves in
Gcode as well

Alan KM6VV
P.S. First Name?

>
> Correct. It is a tool for people who like working with code. Obviously
> it isn't intended as a replacement for a general CAD/CAM solution. It
> is a platform for developing tools to do repetitive tasks that may vary
> from run to run. For example, a task such as engraving lines on a
> ruler. In this example the length and resolution (down to 8ths, or
> 32nds? 10ths?) may vary from part to part. Instead of a single program
> to do that specific task, a script can be written with this tool to
> handle all the variants.
>
> Since the core routines are part of the script the overall system is
> extremely flexible. Core behaviours can be extended by anyone with the
> desire and skill to do so. With the addition of something like the
> G200X to handle machine movement, it could directly control the machine
> (I'm excited about the possibility, which is why I mention it :) ).
>
> cs
>

Discussion Thread

Mark 2005-05-17 04:24:08 UTC CNC scripting stuff.... Alex Holden 2005-05-17 05:46:45 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... R Rogers 2005-05-17 06:00:26 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... Alex Holden 2005-05-17 07:46:58 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... Codesuidae 2005-05-17 08:11:30 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... Ted Gregorius 2005-05-17 08:42:25 UTC Re: Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... Codesuidae 2005-05-17 09:21:02 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... lcdpublishing 2005-05-17 09:59:55 UTC Re: CNC scripting stuff.... Alex Holden 2005-05-17 10:25:48 UTC Re: [CAD_CAM_EDM_DRO] Re: CNC scripting stuff.... Alan Marconett 2005-05-17 11:00:43 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... lcdpublishing 2005-05-17 11:09:14 UTC Re: CNC scripting stuff.... Codesuidae 2005-05-17 11:44:39 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... D Cranston 2005-05-17 12:12:46 UTC RE: [CAD_CAM_EDM_DRO] Re: CNC scripting stuff.... Alan Marconett 2005-05-17 12:45:48 UTC RE: [CAD_CAM_EDM_DRO] CNC scripting stuff.... Codesuidae 2005-05-17 13:12:20 UTC Re: [CAD_CAM_EDM_DRO] Re: CNC scripting stuff.... Alex Holden 2005-05-17 13:13:32 UTC Re: [CAD_CAM_EDM_DRO] Re: CNC scripting stuff.... Alex Holden 2005-05-17 13:25:07 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... Drew Rogge 2005-05-17 13:30:10 UTC Re: [CAD_CAM_EDM_DRO] Re: CNC scripting stuff.... lcdpublishing 2005-05-17 13:35:02 UTC Re: CNC scripting stuff.... Codesuidae 2005-05-17 13:55:32 UTC Re: [CAD_CAM_EDM_DRO] Re: CNC scripting stuff.... Drew Rogge 2005-05-17 14:03:25 UTC Re: [CAD_CAM_EDM_DRO] Re: CNC scripting stuff.... Codesuidae 2005-05-17 14:07:15 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... lcdpublishing 2005-05-17 14:29:53 UTC Re: CNC scripting stuff.... bobmcknight@c... 2005-05-17 15:09:55 UTC Re: [CAD_CAM_EDM_DRO] Re: CNC scripting stuff.... Brian 2005-05-17 15:28:10 UTC Re: [CAD_CAM_EDM_DRO] Re: CNC scripting stuff.... Alan Marconett 2005-05-17 16:24:37 UTC RE: [CAD_CAM_EDM_DRO] CNC scripting stuff.... Paul Amaranth 2005-05-17 17:01:11 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... Alex Holden 2005-05-17 23:31:30 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... Alex Holden 2005-05-17 23:39:28 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... Fred Smith 2005-05-18 05:16:40 UTC Re: CNC scripting stuff.... Drew Rogge 2005-05-18 07:10:58 UTC Re: [CAD_CAM_EDM_DRO] Re: CNC scripting stuff.... Alan Marconett 2005-05-18 09:03:17 UTC RE: [CAD_CAM_EDM_DRO] Re: CNC scripting stuff.... Jon Elson 2005-05-18 09:09:25 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... Bruce Pigeon 2005-05-18 09:13:36 UTC Re: [CAD_CAM_EDM_DRO] Re: CNC scripting stuff.... Paul Amaranth 2005-05-18 11:12:08 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... Codesuidae 2005-05-18 12:27:07 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... bank haam 2005-05-19 06:54:28 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... Codesuidae 2005-05-19 07:10:49 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... bank haam 2005-05-19 08:14:25 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff.... bank haam 2005-05-19 08:14:31 UTC Re: [CAD_CAM_EDM_DRO] CNC scripting stuff....