RE: [CAD_CAM_EDM_DRO] CNC scripting stuff....
Posted by
Alan Marconett
on 2005-05-17 12:45:48 UTC
Hi Dave,
Good to meet you!
I'll have to check it out! I can see that Delphi (I think you said after I
wrote my last email) is a ways from Pascal. I prefer to stay with my
current language as well. ;>)
"SMOP"?
Do we need a full language implementation? I really don't want to have to
write a full interpreter (or compiler, for that matter!), but a "tiny" or a
subset of a language has some appeal. And if I can get a good start on it
(say from Cterp), I may be inclined to do so. I have the "CNC controller
core" from my own efforts (STEP4, and now STEP6).
"That will generate Gcode that contains loops and variables ", that sounds
like a code generator. I think it would be QUITE useful!
"Face off a block" (or pocketing, drilling bolt circles) is an operation
that can be an "interactive screen" item. Fill in the blanks, press go, and
the controller drills or mills it. I have one for pockets, also does
facings. Jon has a program that generates Gcode for this on his web site!
Good ideas!
Alan KM6VV
Good to meet you!
I'll have to check it out! I can see that Delphi (I think you said after I
wrote my last email) is a ways from Pascal. I prefer to stay with my
current language as well. ;>)
"SMOP"?
Do we need a full language implementation? I really don't want to have to
write a full interpreter (or compiler, for that matter!), but a "tiny" or a
subset of a language has some appeal. And if I can get a good start on it
(say from Cterp), I may be inclined to do so. I have the "CNC controller
core" from my own efforts (STEP4, and now STEP6).
"That will generate Gcode that contains loops and variables ", that sounds
like a code generator. I think it would be QUITE useful!
"Face off a block" (or pocketing, drilling bolt circles) is an operation
that can be an "interactive screen" item. Fill in the blanks, press go, and
the controller drills or mills it. I have one for pockets, also does
facings. Jon has a program that generates Gcode for this on his web site!
Good ideas!
Alan KM6VV
> Subject: Re: [CAD_CAM_EDM_DRO] CNC scripting stuff....
>
> Alan Marconett wrote:
>
> >Have you considered an interpreter for executing your Pascal?
> >
> >
> It's in there :) Fully interpreted, type the code into the main window,
> press F9, and it runs.
> It even has some GUI features. As a demonstration one of the example
> scripts included
> with the tool pops up an input window into which the user may enter the
> feedrate.
>
> >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.
> >
> I'd love to do something like this with TurboCNC, but alas, its in such
> an old version of the language that I'd have to spend quite a
> significant amount of time porting code. Truely, a SMOP, but I'm not
> convinced that the elegance of having native script support in TurboCNC
> is justified by the amount of effort required. Instead I plan to
> streamline my workflow from the script tool to the controller.
>
> One possibility is to do some clever programming in my script utility
> that will generate gcode that contains loops and variables that can run
> with TurboCNC as it is now. In this way I can generate gcode programs
> that can be adapted to the work within TurboCNC without going back to
> the script processor. A simple example would be a gcode script to face
> off a block. Again though, this is probably more work than its worth.
> Easy stuff like facing off material can just be written directly in
> gcode, and hard stuff probably wouldn't be adapted frequently enough to
> make it worth the trouble to write the tools to make it work.
>
> >P.S. First Name?
> >
> >
> I'm another Dave. Windows application developer by trade, tinkerer by
> nature. My interests lie in places where the domain knowledge is deep
> and the experts are amiable and passionate about their field.
>
> 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....