Re: [Emc-users] Proglem with EMC script - understanding error message

2007-08-17 Thread Jeff Epler
On Fri, Aug 17, 2007 at 11:15:29AM +0100, [EMAIL PROTECTED] wrote: Just a couple of points I'm not completely clear on - in the above example, are line numbers needed on every line of the subroutine or just at the ends? O-numbers are required on lines where the flow control words such as

Re: [Emc-users] Macro Language

2007-08-17 Thread Kenneth Lerman
Fenn, See my recent reply to this list regarding o-words and named parameters. O-words provide programming language looping, testing, and subroutine capabilities that can be wrapped around other gcode. Named parameters let you have natural language names for parameters. [Sorry it took so long

Re: [Emc-users] Proglem with EMC script - understandingerror message

2007-08-17 Thread Kenneth Lerman
Stephen, You got it more or less correct. Actually, the arguments to subroutines are expressions; not values. So, you can write: o100 call [25] [#1-17/2]. The brackets must be there to separate the expressions. Ken [EMAIL PROTECTED] Mark Kenny Products Company, LLC 55 Main Street Voice:

Re: [Emc-users] Floating Z (solenoid on PCB Mill) Hal configuration

2007-08-17 Thread cldicenso
Jeff Epler [EMAIL PROTECTED] wrote: Thanks -- I imagine this will be helpful to anyone with a similar system. the only thing that comes to mind is that the time emc spends on the Z motion had better be long enough for the solenoid to completely lower -- does this take long on your

Re: [Emc-users] Proglem with EMC script - understandin g error message

2007-08-17 Thread Gene Heskett
On Friday 17 August 2007, Jeff Epler wrote: Subroutine locals are #1 through #30 inclusive. #31 through #5000 are for global use, because they're neither modified by O- call nor restored by O- endsub. Above #5000 is reserved for internal interpreter stuff, like the result of a G38.2 probe, the

Re: [Emc-users] EMC2 and Macro capability

2007-08-17 Thread Gene Heskett
On Friday 17 August 2007, Kenneth Lerman wrote: Go to the wiki and search for subroutine. Among the pages you will find: Subroutines, looping, testing, etc are described in: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Oword Named parameters are described in:

Re: [Emc-users] Proglem with EMC script - understanding error message

2007-08-17 Thread Jeff Epler
On Fri, Aug 17, 2007 at 05:31:38PM +0100, [EMAIL PROTECTED] wrote: N0300 do (first cut of pinion leaves) With do you need an O-number, and the matching O-number at the while Jeff - This SF.net email is

Re: [Emc-users] Floating Z (solenoid on PCB Mill) Hal configuration

2007-08-17 Thread Jon Elson
[EMAIL PROTECTED] wrote: In case anyone else has one of these PCB mills with the solenoid driven floating Z, I thought I would share my configuration changes. The premise I worked with was that if I could take the commanded Z position and convert it to a bit output to my solenoid relay I

Re: [Emc-users] Problem with EMC script - understanding error message

2007-08-17 Thread [EMAIL PROTECTED]
Jeff Epler wrote: On Fri, Aug 17, 2007 at 11:15:29AM +0100, [EMAIL PROTECTED] wrote: Just a couple of points I'm not completely clear on - in the above example, are line numbers needed on every line of the subroutine or just at the ends? O-numbers are required on lines where the flow

Re: [Emc-users] EMC Features

2007-08-17 Thread John Kasunich
Ryan Hulsker wrote: Good to hear that foam cutting is being added, i will check out the current CVS and try it out once i get the machine complete (should be this weekend). The filament winding applications I am looking at are for winding fiberglass and carbon fiber tubes. There are

Re: [Emc-users] Macro Language

2007-08-17 Thread Sven Mueller
Jeff Epler schrieb: On Wed, Aug 15, 2007 at 03:16:35PM +0200, Sven Mueller wrote: Ask user to define minimum and maximum X, Y and Z positions by moving the tooltip to the relevant positions manually or by entering the values numerically. Then use a procedural (possibly recursive) approach to

Re: [Emc-users] Macro Language

2007-08-17 Thread Jeff Epler
That's right, the named parameters and named O-words are in the version that will be known as 2.2, not the current stable version. Anyone can download, compile, and use the development version, but it may not be a task for linux beginners:

Re: [Emc-users] Macro Language

2007-08-17 Thread Kenneth Lerman
No... AFAIK, named o-words have not yet been implemented. -- At least not by me. Named parameters have been implemented by me. I expect to get a new machine to run ubuntu soon and will get back to developing EMC2 stuff. (My previous machine is now my telephone system.) Ken [EMAIL PROTECTED]

[Emc-users] EMC features- Mirror Image for lathes

2007-08-17 Thread Chris Morley
Greetings. As I have been reading about features requests/questions for EMC, I have one I have been wondering about as well: How difficult would if be to add 'mirror image' to EMC. I'm talking about using a tool holder on the 'other side' of the lathe center line without changing the G code.

Re: [Emc-users] EMC Features (Filament Winding)

2007-08-17 Thread Ryan Hulsker
On Fri, 2007-08-17 at 14:36 -0400, John Kasunich wrote: It sounds to me like this will require some very tricky g-coding. One possibility to consider is using a rotary axis instead of a spindle. Then you can program any head-vs-mandrel pattern you want, including zero-degree, 90-degree,

[Emc-users] Interactive machining

2007-08-17 Thread Ron Ginger
There are a couple threads here that I think could be tied together with a simple programming language linked into EMC. First the fiber winding, second the intelligent probing and third the macro programming of Gcode,. If some simple language, TCL? (or Visual Basic in the windows world) can

Re: [Emc-users] Interactive machining

2007-08-17 Thread Jeff Epler
AXIS can automatically execute a filter program when loading a machinable file. You can also use the NML messages for issuing MDI commands to feed your program in line-by-line. (I just verified that, at least in the development version of emc 2, this doesn't kill blending altogether, though it's

Re: [Emc-users] Interactive machining

2007-08-17 Thread Sven Mueller
Jeff Epler schrieb: AXIS can automatically execute a filter program when loading a machinable file. You can also use the NML messages for issuing MDI commands to feed your program in line-by-line. (I just verified that, at least in the development version of emc 2, this doesn't kill blending