Re: [Emc-users] WG: Re: WG: Re: axis and batch processing

2009-10-25 Thread Chris Epicier
Dear Andy and tom3p

Spent now a couple of hours more on this. I looked at the emc 2.3.3 and earlier 
versions release notes. Among other points named O words  is listed. Do I 
need toupgrade from 2.2.8 ?

Greets

Chris



  

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] WG: Re: WG: Re: axis and batch processing SOLVED!

2009-10-25 Thread Chris Epicier
Hi all
 
 Spent now a couple of hours more on this. I looked at the
 emc 2.3.3 and earlier versions release notes. Among other
 points named O words  is listed. Do I need toupgrade
 from 2.2.8 ?


Got it sorted out: you *need* EMC2 version 2.3.3 to get the sample code of
this:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?SubProgramFiles
to run.

That was not obvious to me.

Greets chris

PS: Off to some large cutting :-)


  

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] WG: Re: WG: Re: axis and batch processing SOLVED!

2009-10-25 Thread Chris Epicier
Just one more thing:

make sure your subprogramfiles are all written in lowercases. So, if something 
like MySubProgramFile is called, axis looks for a file like 
mysubprogramfile thus mot considering uppercases.

In my understanding, this should not happen. Is this a bug?

greets chris

 Hi all
  
  Spent now a couple of hours more on this. I looked at
 the
  emc 2.3.3 and earlier versions release notes. Among
 other
  points named O words  is listed. Do I need
 toupgrade
  from 2.2.8 ?
 
 
 Got it sorted out: you *need* EMC2 version 2.3.3 to get the
 sample code of
 this:
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?SubProgramFiles
 to run.
 
 That was not obvious to me.
 
 Greets chris
 
 PS: Off to some large cutting :-)
 
 
       
 
 --
 Come build with us! The BlackBerry(R) Developer Conference
 in SF, CA
 is the only developer event you need to attend this year.
 Jumpstart your
 developing skills, take BlackBerry mobile applications to
 market and stay 
 ahead of the curve. Join us from November 9 - 12, 2009.
 Register now!
 http://p.sf.net/sfu/devconference
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 


  

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] WG: Re: WG: Re: axis and batch processing SOLVED!

2009-10-25 Thread Kenneth Lerman
EMC converts every line to lowercase only when it reads the line. It 
also removes blank spaces when parsing the gcode. That is apparently 
part of the rs274ngc standard. For that reason, the behavior you are 
seeing is not a bug.

A person with more energy than I have could add an option to do away 
with that conversion. It would have to include recognizing X and x as 
both referring to the same code. Doing that would break programs that 
depend on having oaBc recognized at oabc, though.

Ken

Chris Epicier wrote:
 Just one more thing:

 make sure your subprogramfiles are all written in lowercases. So, if 
 something like MySubProgramFile is called, axis looks for a file like 
 mysubprogramfile thus mot considering uppercases.

 In my understanding, this should not happen. Is this a bug?

 greets chris

   
 Hi all
 
 Spent now a couple of hours more on this. I looked at
   
 the
 
 emc 2.3.3 and earlier versions release notes. Among
   
 other
 
 points named O words  is listed. Do I need
   
 toupgrade
 
 from 2.2.8 ?
   
 Got it sorted out: you *need* EMC2 version 2.3.3 to get the
 sample code of
 this:
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?SubProgramFiles
 to run.

 That was not obvious to me.

 Greets chris

 PS: Off to some large cutting :-)


   

 --
 Come build with us! The BlackBerry(R) Developer Conference
 in SF, CA
 is the only developer event you need to attend this year.
 Jumpstart your
 developing skills, take BlackBerry mobile applications to
 market and stay 
 ahead of the curve. Join us from November 9 - 12, 2009.
 Register now!
 http://p.sf.net/sfu/devconference
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 


   

 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] WG: Re: WG: Re: axis and batch processing

2009-10-25 Thread Andy Pugh
2009/10/25 Chris Epicier seuch...@yahoo.de:

 Spent now a couple of hours more on this. I looked at the emc 2.3.3 and 
 earlier versions release notes. Among other points named O words  is 
 listed. Do I need toupgrade from 2.2.8 ?

I know it does work with 2.3.3. I have no evidence either way with
2.2.8 (I am enough of a newbie never to have even used it).
If 2.2.8 doesn't have named O-words then you will not be able to use
non-numeric file names, but there is a fair chance it will work if
your files are numbered (100.ngc, that sort of thing)

-- 
atp

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] WG: Re: WG: Re: axis and batch processing

2009-10-21 Thread Chris Epicier


Dear Andy and tom3p


 
  Thank you very much for the quick reply. Stephen had
  pointed me to this also, I have amended the files
  accordingly and still get Bad Number Format.
 
 I was fiddling around with this last night, and got it
 working for my
 application.
 I suspect that the reason you didn't see any improvement
 when you
 modified the sub-program files is that Axis doesn't seem to
 reload
 them when you reload the main file. The only way I have
 found to make
 changes to a subprogram stick is to quit and reload Axis.
 (I didn't do
 exhaustive testing, though, I was just trying to get it to
 work)
 
 After some discussion on IRC tom3p came up with this Wiki
 article:
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?SubProgamFiles
 (Unfortunately there is a typo in the page title which
 might make it
 hard to find)

First off:  Kindly note that above is now availble here (Alex renamed it 
accordingly, thx):
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?SubProgramFiles

I had copied the files listed: 333 ethel fred and mamnum.ngc, put them into a 
sperate directory and created a symbolic link to this. the link is actually 
referred to by PROGRAM_PREFIX fr convenience. I run axis and see all above 
referred .ngc files. I load namnum.ngc and get (original in German): 
Near Line 5 in
/home/usrename/realpath not symbolic name/namnum.ngc:
No coordinates for path condition
German:
Nahe Linie 5 in
/home/usrename/realpath not symbolic name/namnum.ngc:
Keine Koordinaten für Wegbedingung

Line 5 in namnum.ngc is:
g0 z.1
g0 is gee zero not gee ooo. I do not see a reasn for this, do you?

greets chris






  

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] WG: Re: WG: Re: axis and batch processing

2009-10-11 Thread Andy Pugh
2009/9/30 Chris Epicier seuch...@yahoo.de:

 Thank you very much for the quick reply. Stephen had
 pointed me to this also, I have amended the files
 accordingly and still get Bad Number Format.

I was fiddling around with this last night, and got it working for my
application.
I suspect that the reason you didn't see any improvement when you
modified the sub-program files is that Axis doesn't seem to reload
them when you reload the main file. The only way I have found to make
changes to a subprogram stick is to quit and reload Axis. (I didn't do
exhaustive testing, though, I was just trying to get it to work)

After some discussion on IRC tom3p came up with this Wiki article:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?SubProgamFiles
(Unfortunately there is a typo in the page title which might make it
hard to find)

-- 
atp

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] WG: Re: WG: Re: axis and batch processing

2009-10-11 Thread Alex Joni
I renamed it to:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?SubProgramFiles

Regards,
Alex


--
From: Andy Pugh a...@andypugh.fsnet.co.uk
Sent: Sunday, October 11, 2009 3:56 PM
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] WG: Re: WG: Re: axis and batch processing

 2009/9/30 Chris Epicier seuch...@yahoo.de:

 Thank you very much for the quick reply. Stephen had
 pointed me to this also, I have amended the files
 accordingly and still get Bad Number Format.

 I was fiddling around with this last night, and got it working for my
 application.
 I suspect that the reason you didn't see any improvement when you
 modified the sub-program files is that Axis doesn't seem to reload
 them when you reload the main file. The only way I have found to make
 changes to a subprogram stick is to quit and reload Axis. (I didn't do
 exhaustive testing, though, I was just trying to get it to work)

 After some discussion on IRC tom3p came up with this Wiki article:
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?SubProgamFiles
 (Unfortunately there is a typo in the page title which might make it
 hard to find)

 -- 
 atp

 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 8.5.421 / Virus Database: 270.14.9/2427 - Release Date: 10/10/09 
 06:39:00
 

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] WG: Re: WG: Re: axis and batch processing

2009-10-06 Thread Chris Epicier
Dear Ken



 To generate lots of debug messages:
    In your.ini file section [RS274NGC] add
 the line
       LOG_LEVEL = 999

I guess this is wat I was looking for! thanks!

      
 Then the file emc_log will get a log containing the
 interpreter activity 
 regarding o-words, subroutines, etc. You probably don't
 want this 
 enabled when you are doing something useful because the
 file will be 
 very large.
 
 I suspect that you will find that the file prefix is wrong.

I have some small files ready, that I generated to keep things simple but being 
able to produce the same mistake. I will be back to try and debug this when 
back in my workshop (about 1 week). 


 Put the log 
 up on pastebin and we can take a look at it.

What is the pastebin? Once I am there, I might put an external link to the 
log files, so the digest will be as small as reasonable possible. However, If 
later people try to look up matters, they will see a broken link.


 One neat thing you can do is load a file containing lots of
 subroutines. 
 If you have enabled LAZY_CLOSE in your ini file, you will
 then be able 
 to invoke the subroutines from the MDI.

This sounds like a very neat thing. From time to time I have to repeat just one 
subroutine (to date I load the individual files manually w/o sub endsub stuff). 
Then this will become extremel handy. Thanks for the hint!

greets

chris




  

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] WG: Re: WG: Re: axis and batch processing

2009-10-05 Thread Chris Epicier
Dear Steve

Try removing the O sub/endsub lines and loading the files 
individually.  That should get you a line number where the error occurs 
(I hope).

The files were actually converted into subfiles from standalone files. The 
standalone files work without any error and do not show O sub/endsub lines. 
They do actually also run w/o the M30 command at the end, so...

I glanced at the files and didn't see anything strange.

... confirmed, they run if loaded into axis as standalones, also the preview is 
there and I can rotate the display or whatever.

One thing to note though, the interpreter behaves as though there were 
no spaces in the line.  When calling subroutines that take parameters, 
each parameter needs to be enclosed in [] to insure that it's treated as 
a separate entity.

If there are any places where you have two numbers separated only by 
whitespace, that will be an error.  As an example, 1.25 3.99 will be 
interpreted as 1.253.99, which is a bad number format.

there are only twowhitespaces in the sub files, seperating these two terms: 
-Olabels 
-sub/endsub

I have no parameters to pass from the master to the subs

I'm not sure where else to point you.

Hope still this can be sorted out. It would be just great, If a coud have a 
trace window to see what axis does when it loads a file and also when it starts 
to interprete the file. Finally jan mentioned he could get a preview of my 
files. So I should beleieve it is somewhere in my setup that runs smootheley 
when using stabndrd individual files?

chris

PS: Ian, I hope that this message is in line with lists policy



  

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] WG: Re: WG: Re: axis and batch processing

2009-10-05 Thread Kenneth Lerman
To generate lots of debug messages:
   In your.ini file section [RS274NGC] add the line
  LOG_LEVEL = 999
 
Then the file emc_log will get a log containing the interpreter activity 
regarding o-words, subroutines, etc. You probably don't want this 
enabled when you are doing something useful because the file will be 
very large.

I suspect that you will find that the file prefix is wrong. Put the log 
up on pastebin and we can take a look at it.

One neat thing you can do is load a file containing lots of subroutines. 
If you have enabled LAZY_CLOSE in your ini file, you will then be able 
to invoke the subroutines from the MDI.

Ken

Chris Epicier wrote:
 Dear Steve

 Try removing the O sub/endsub lines and loading the files 
 individually.  That should get you a line number where the error occurs 
 (I hope).

 The files were actually converted into subfiles from standalone files. 
 The standalone files work without any error and do not show O sub/endsub 
 lines. They do actually also run w/o the M30 command at the end, so...

 I glanced at the files and didn't see anything strange.

 ... confirmed, they run if loaded into axis as standalones, also the preview 
 is there and I can rotate the display or whatever.

 One thing to note though, the interpreter behaves as though there were 
 no spaces in the line.  When calling subroutines that take parameters, 
 each parameter needs to be enclosed in [] to insure that it's treated as 
 a separate entity.
 
 If there are any places where you have two numbers separated only by 
 whitespace, that will be an error.  As an example, 1.25 3.99 will be 
 interpreted as 1.253.99, which is a bad number format.

 there are only twowhitespaces in the sub files, seperating these two terms: 
 -Olabels 
 -sub/endsub

 I have no parameters to pass from the master to the subs

 I'm not sure where else to point you.

 Hope still this can be sorted out. It would be just great, If a coud have a 
 trace window to see what axis does when it loads a file and also when it 
 starts to interprete the file. Finally jan mentioned he could get a preview 
 of my files. So I should beleieve it is somewhere in my setup that runs 
 smootheley when using stabndrd individual files?

 chris

 PS: Ian, I hope that this message is in line with lists policy



   

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] WG: Re: WG: Re: axis and batch processing

2009-10-04 Thread Chris Epicier
Dear Jan


 Chris,
 
 I've managed to get a preview that seemed to display a
 combination of
 the files.
 
 Set the PROGRAM_PREFIX setting in the  ini file to
 the location of
 the called files
 Removed the M30 codes from the end of each sub.

I did that and no preview availabl, still get bad number format error. I have 
axis 2.2.8 on 8.04 LTS. latest updates to say 30 minutes ago. 

when I start axis and invoke open file dialogue I see all my ngc files w/o 
changing a directory, so the PROGRAM_PREFIX is set correct. the path to it 
has blanks in it. Could it be that this is the error? So I cpd all files in a 
directory that has no blanks in its name, set PROGRAM_PREFIX to this new path 
and loaded my maste ngc again. now it says near line 6 in master.ngc: wrong 
number format. Looks like axis has a problem of some kind with such symlinks / 
and or path names, but that is a different thing and I do not want to follow 
this here.

rhino cam has been uesd to generate my cnc code in the sub files. So I thought 
it could be a dos2unix issue, so I ran dos2unix * and still get the same 
error.

I check:
- all files in same directory as stated in PROGRAM_PREFIX : OK
- PROGRAM_PREFIX has no blanks? OK
- dos2unix all files OK
- M30 removed in all files OK 

What could it be this time?

best rgeards chris



 
 regards, Jan
 
 
 
 On Thu, Oct 1, 2009 at 12:54, Chris Epicier seuch...@yahoo.de
 wrote:
  Hi all
 
  I am in the process of cutting parts, due out soon.
 Should be doing million things, other than keepin my cnc
 busy.
 
  I checked and rechecked the syntax in bot, master,
 labels and other files. I cannot find a mistake there.
 
  Is there a way I can debug this? A way to set axis/emc
 to talk to me about what is going wrong?
 
  Greets
 
  chris
 
  Besides: had yesterday a couple of guys couriuos abut
 the cnc cutting. one of them works for steel cutter. He said
 he was impressed about the features and easiness emc and
 axis can be handled. Also my finding: great! So a big
 faaa thankyou to all that made emc what it is
 now!
 
 
  Jan
 
  Thank you very much for the quick reply. Stephen
 had
  pointed me to this also, I have amended the files
  accordingly and still get Bad Number Format.
 
  I attach the original files not stripped. Maybe
 there is
  something there that shoudl not be. Besides, all
 files
  rune
  smoothly as truely standa alone files. So I do not
 believe
  it is actually within the sub files.
 
  greets chris
 
Betreff: Re: [Emc-users] WG: Re: axis
 and batch
   processing
An: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
Datum: Mittwoch, 30. September 2009,
 19:48
Chris,
   
in file labels.ngc, line 1: Olabels sub
Should be: Olabels sub
and: Olabels endsub
Should be Olabels endsub
   
This syntax error should also be
 corrected in
  the
   other
files.
   
regards, Jan
   
On Wed, Sep 30, 2009 at 18:00, Chris
 Epicier
  seuch...@yahoo.de
wrote:



 Dear Stephen

 Check this chapter in
 the
  manual:
 http://linuxcnc.org/docs/2.3/html/gcode_main.html#r3_7
 Regards, Jan

 I did, but I just cannot get it to
 work. I
  have
   5
files:

 [master.ngc]
 Olabels call
 Ointernal_contours call
 Oexternal_contours_rough
 call
 Oexternal_contours_finish
 call
 G53 G0 X0Y0Z0
 [end of master.ngc]


 [labels.ngc]
 Olabels sub
 N0G20M6T2
 
 N868M09
 N869M30
 Olabels endsub
 M2
 [end of labels.ngc]

 [internal_contours.ngc]
 Ointernal_contours sub
 N0G20M6T2
 
 N868M09
 N869M30
 Ointernal_contours endsub
 M2
 [end of internal_contours.ngc]

 [external_contours_rough.ngc]
 Oexternal_contours_rough sub
 N0G20M6T2
 
 N868M09
 N869M30
 Oexternal_contours_rough endsub
 M2
 [end of
 external_contours_rough.ngc]

 [external_contours_finish.ngc]
 Oexternal_contours_finish sub
 N0G20M6T2
 
 N868M09
 N869M30
 Oexternal_contours_finish endsub
 M2
 [end of
 external_contours_finish.ngc]


 All files are in the same
 directory. I
  believe I
   got
the
 master file about right. What I
 doubt there
  is if
   the
homing
 sequence is correct but that's not
 a
   showstopper.

 In  [labels.ngc] and all the
 other sub
  files, I
doubt
 the missing line numbering. My
 programming
   experience
tells
 me, either it has to be ther or
 totally
  omitted.

 If I load master ngc in axis, I get
 no
   errormessage.
when I
 run the file I get Bad Number
 Format.

 I am lost now. What's wrong and
 where, any
  help
   is
greatly
 appreciated.

 greets

 chris

Re: [Emc-users] WG: Re: WG: Re: axis and batch processing

2009-10-04 Thread Ian W. Wright
Chris,

More than 2/3 of the digest I just got was taken up by your 
one message - will you PLEASE try to cut down the previous 
posts which are attached to your message and not just hit 
the 'reply' button. Thanks

Ian

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] WG: Re: WG: Re: axis and batch processing

2009-10-03 Thread Jan Van Gilsen
Chris,

I've managed to get a preview that seemed to display a combination of
the files.

Set the PROGRAM_PREFIX setting in the  ini file to the location of
the called files
Removed the M30 codes from the end of each sub.

regards, Jan



On Thu, Oct 1, 2009 at 12:54, Chris Epicier seuch...@yahoo.de wrote:
 Hi all

 I am in the process of cutting parts, due out soon. Should be doing million 
 things, other than keepin my cnc busy.

 I checked and rechecked the syntax in bot, master, labels and other files. I 
 cannot find a mistake there.

 Is there a way I can debug this? A way to set axis/emc to talk to me about 
 what is going wrong?

 Greets

 chris

 Besides: had yesterday a couple of guys couriuos abut the cnc cutting. one of 
 them works for steel cutter. He said he was impressed about the features and 
 easiness emc and axis can be handled. Also my finding: great! So a big 
 faaa thankyou to all that made emc what it is now!


 Jan

 Thank you very much for the quick reply. Stephen had
 pointed me to this also, I have amended the files
 accordingly and still get Bad Number Format.

 I attach the original files not stripped. Maybe there is
 something there that shoudl not be. Besides, all files
 rune
 smoothly as truely standa alone files. So I do not believe
 it is actually within the sub files.

 greets chris

   Betreff: Re: [Emc-users] WG: Re: axis and batch
  processing
   An: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
   Datum: Mittwoch, 30. September 2009, 19:48
   Chris,
  
   in file labels.ngc, line 1: Olabels sub
   Should be: Olabels sub
   and: Olabels endsub
   Should be Olabels endsub
  
   This syntax error should also be corrected in
 the
  other
   files.
  
   regards, Jan
  
   On Wed, Sep 30, 2009 at 18:00, Chris Epicier
 seuch...@yahoo.de
   wrote:
   
   
   
Dear Stephen
   
Check this chapter in the
 manual:
http://linuxcnc.org/docs/2.3/html/gcode_main.html#r3_7
Regards, Jan
   
I did, but I just cannot get it to work. I
 have
  5
   files:
   
[master.ngc]
Olabels call
Ointernal_contours call
Oexternal_contours_rough call
Oexternal_contours_finish call
G53 G0 X0Y0Z0
[end of master.ngc]
   
   
[labels.ngc]
Olabels sub
N0G20M6T2

N868M09
N869M30
Olabels endsub
M2
[end of labels.ngc]
   
[internal_contours.ngc]
Ointernal_contours sub
N0G20M6T2

N868M09
N869M30
Ointernal_contours endsub
M2
[end of internal_contours.ngc]
   
[external_contours_rough.ngc]
Oexternal_contours_rough sub
N0G20M6T2

N868M09
N869M30
Oexternal_contours_rough endsub
M2
[end of external_contours_rough.ngc]
   
[external_contours_finish.ngc]
Oexternal_contours_finish sub
N0G20M6T2

N868M09
N869M30
Oexternal_contours_finish endsub
M2
[end of external_contours_finish.ngc]
   
   
All files are in the same directory. I
 believe I
  got
   the
master file about right. What I doubt there
 is if
  the
   homing
sequence is correct but that's not a
  showstopper.
   
In  [labels.ngc] and all the other sub
 files, I
   doubt
the missing line numbering. My programming
  experience
   tells
me, either it has to be ther or totally
 omitted.
   
If I load master ngc in axis, I get no
  errormessage.
   when I
run the file I get Bad Number Format.
   
I am lost now. What's wrong and where, any
 help
  is
   greatly
appreciated.
   
greets
   
chris
   
   
   
   
   
 
 
 

   
  
 
 ===
 3.7 Calling Files
 
 To call a file name the file
 the
  same as
   your call
and
 include a sub and endsub. The file
 must
  be in
   the
directory
 pointed to by PROGRAM_PREFIX
 
 omyfile call (a
 named
   file)
 
 or
 
 o123 call (a number
 file)
 
 In the called file include the
 oxxx
  sub
   and endsub
and
 the file must be a valid file
 
 myfile.ngc
 omyfile sub
 ...
 omyfile endsub
 M2

  
 
 
 If I interprete that correctly,
 I
  shoud
   be able to
do
 this:
 
 Let's assume I have these
 files:
 engrave.ngc, bevel.ngc,
 inner.ngc,
  outer.
   ngc,
home.ngc

 
 I so, I woul generate another
 file,
  let's
   call it
 master.ngc with about te following
  content:
 
 
 omaster.ngc call engrave.ngc
 omaster.ngc call home.ngc
 omaster.ngc call bevel.ngc
 omaster.ngc call home.ngc
 omaster.ngc call inner.ngc
 omaster.ngc call home.ngc
 omaster.ngc call outer. ngc
 omaster.ngc call home.ngc
 
 However that fails, why?
 
 
 I haven't tried it, but one thing
 to
  note

Re: [Emc-users] WG: Re: WG: Re: axis and batch processing

2009-10-02 Thread Jan Van Gilsen
Chris,

Is your PROGRAM_PREFIX setting in the [DISPLAY] section set?

Regards, Jan

On Thu, Oct 1, 2009 at 12:54, Chris Epicier seuch...@yahoo.de wrote:
 Hi all

 I am in the process of cutting parts, due out soon. Should be doing million 
 things, other than keepin my cnc busy.

 I checked and rechecked the syntax in bot, master, labels and other files. I 
 cannot find a mistake there.

 Is there a way I can debug this? A way to set axis/emc to talk to me about 
 what is going wrong?

 Greets

 chris

 Besides: had yesterday a couple of guys couriuos abut the cnc cutting. one of 
 them works for steel cutter. He said he was impressed about the features and 
 easiness emc and axis can be handled. Also my finding: great! So a big 
 faaa thankyou to all that made emc what it is now!


 Jan

 Thank you very much for the quick reply. Stephen had
 pointed me to this also, I have amended the files
 accordingly and still get Bad Number Format.

 I attach the original files not stripped. Maybe there is
 something there that shoudl not be. Besides, all files
 rune
 smoothly as truely standa alone files. So I do not believe
 it is actually within the sub files.

 greets chris

   Betreff: Re: [Emc-users] WG: Re: axis and batch
  processing
   An: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
   Datum: Mittwoch, 30. September 2009, 19:48
   Chris,
  
   in file labels.ngc, line 1: Olabels sub
   Should be: Olabels sub
   and: Olabels endsub
   Should be Olabels endsub
  
   This syntax error should also be corrected in
 the
  other
   files.
  
   regards, Jan
  
   On Wed, Sep 30, 2009 at 18:00, Chris Epicier
 seuch...@yahoo.de
   wrote:
   
   
   
Dear Stephen
   
Check this chapter in the
 manual:
http://linuxcnc.org/docs/2.3/html/gcode_main.html#r3_7
Regards, Jan
   
I did, but I just cannot get it to work. I
 have
  5
   files:
   
[master.ngc]
Olabels call
Ointernal_contours call
Oexternal_contours_rough call
Oexternal_contours_finish call
G53 G0 X0Y0Z0
[end of master.ngc]
   
   
[labels.ngc]
Olabels sub
N0G20M6T2

N868M09
N869M30
Olabels endsub
M2
[end of labels.ngc]
   
[internal_contours.ngc]
Ointernal_contours sub
N0G20M6T2

N868M09
N869M30
Ointernal_contours endsub
M2
[end of internal_contours.ngc]
   
[external_contours_rough.ngc]
Oexternal_contours_rough sub
N0G20M6T2

N868M09
N869M30
Oexternal_contours_rough endsub
M2
[end of external_contours_rough.ngc]
   
[external_contours_finish.ngc]
Oexternal_contours_finish sub
N0G20M6T2

N868M09
N869M30
Oexternal_contours_finish endsub
M2
[end of external_contours_finish.ngc]
   
   
All files are in the same directory. I
 believe I
  got
   the
master file about right. What I doubt there
 is if
  the
   homing
sequence is correct but that's not a
  showstopper.
   
In  [labels.ngc] and all the other sub
 files, I
   doubt
the missing line numbering. My programming
  experience
   tells
me, either it has to be ther or totally
 omitted.
   
If I load master ngc in axis, I get no
  errormessage.
   when I
run the file I get Bad Number Format.
   
I am lost now. What's wrong and where, any
 help
  is
   greatly
appreciated.
   
greets
   
chris
   
   
   
   
   
 
 
 

   
  
 
 ===
 3.7 Calling Files
 
 To call a file name the file
 the
  same as
   your call
and
 include a sub and endsub. The file
 must
  be in
   the
directory
 pointed to by PROGRAM_PREFIX
 
     omyfile call (a
 named
   file)
 
 or
 
     o123 call (a number
 file)
 
 In the called file include the
 oxxx
  sub
   and endsub
and
 the file must be a valid file
 
     myfile.ngc
     omyfile sub
     ...
     omyfile endsub
     M2

  
 
 
 If I interprete that correctly,
 I
  shoud
   be able to
do
 this:
 
 Let's assume I have these
 files:
 engrave.ngc, bevel.ngc,
 inner.ngc,
  outer.
   ngc,
home.ngc

 
 I so, I woul generate another
 file,
  let's
   call it
 master.ngc with about te following
  content:
 
 
 omaster.ngc call engrave.ngc
 omaster.ngc call home.ngc
 omaster.ngc call bevel.ngc
 omaster.ngc call home.ngc
 omaster.ngc call inner.ngc
 omaster.ngc call home.ngc
 omaster.ngc call outer. ngc
 omaster.ngc call home.ngc
 
 However that fails, why?
 
 
 I haven't tried it, but one thing
 to
  note is
   that the
  are necessary
 around a named O-word or
 parameter.

 Also, the manual might be a little
  unclear
   since it
looks
 like the text

Re: [Emc-users] WG: Re: WG: Re: axis and batch processing

2009-10-02 Thread Stephen Wille Padnos
Chris Epicier wrote:

Hi all

I am in the process of cutting parts, due out soon. Should be doing million 
things, other than keepin my cnc busy. 

I checked and rechecked the syntax in bot, master, labels and other files. I 
cannot find a mistake there. 

Is there a way I can debug this? A way to set axis/emc to talk to me about 
what is going wrong?
  

Try removing the O sub/endsub lines and loading the files 
individually.  That should get you a line number where the error occurs 
(I hope).

I glanced at the files and didn't see anything strange.

One thing to note though, the interpreter behaves as though there were 
no spaces in the line.  When calling subroutines that take parameters, 
each parameter needs to be enclosed in [] to insure that it's treated as 
a separate entity.

If there are any places where you have two numbers separated only by 
whitespace, that will be an error.  As an example, 1.25 3.99 will be 
interpreted as 1.253.99, which is a bad number format.

I'm not sure where else to point you.
- Steve


--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] WG: Re: WG: Re: axis and batch processing

2009-10-01 Thread Chris Epicier
Hi all

I am in the process of cutting parts, due out soon. Should be doing million 
things, other than keepin my cnc busy. 

I checked and rechecked the syntax in bot, master, labels and other files. I 
cannot find a mistake there. 

Is there a way I can debug this? A way to set axis/emc to talk to me about what 
is going wrong?

Greets 

chris

Besides: had yesterday a couple of guys couriuos abut the cnc cutting. one of 
them works for steel cutter. He said he was impressed about the features and 
easiness emc and axis can be handled. Also my finding: great! So a big 
faaa thankyou to all that made emc what it is now! 


 Jan 
 
 Thank you very much for the quick reply. Stephen had
 pointed me to this also, I have amended the files
 accordingly and still get Bad Number Format.
 
 I attach the original files not stripped. Maybe there is
 something there that shoudl not be. Besides, all files
 rune
 smoothly as truely standa alone files. So I do not believe
 it is actually within the sub files.
 
 greets chris 
  
   Betreff: Re: [Emc-users] WG: Re: axis and batch
  processing
   An: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
   Datum: Mittwoch, 30. September 2009, 19:48
   Chris,
   
   in file labels.ngc, line 1: Olabels sub
   Should be: Olabels sub
   and: Olabels endsub
   Should be Olabels endsub
   
   This syntax error should also be corrected in
 the
  other
   files.
   
   regards, Jan
   
   On Wed, Sep 30, 2009 at 18:00, Chris Epicier
 seuch...@yahoo.de
   wrote:
   
   
   
Dear Stephen
   
Check this chapter in the
 manual:
http://linuxcnc.org/docs/2.3/html/gcode_main.html#r3_7
Regards, Jan
   
I did, but I just cannot get it to work. I
 have
  5
   files:
   
[master.ngc]
Olabels call
Ointernal_contours call
Oexternal_contours_rough call
Oexternal_contours_finish call
G53 G0 X0Y0Z0
[end of master.ngc]
   
   
[labels.ngc]
Olabels sub
N0G20M6T2

N868M09
N869M30
Olabels endsub
M2
[end of labels.ngc]
   
[internal_contours.ngc]
Ointernal_contours sub
N0G20M6T2

N868M09
N869M30
Ointernal_contours endsub
M2
[end of internal_contours.ngc]
   
[external_contours_rough.ngc]
Oexternal_contours_rough sub
N0G20M6T2

N868M09
N869M30
Oexternal_contours_rough endsub
M2
[end of external_contours_rough.ngc]
   
[external_contours_finish.ngc]
Oexternal_contours_finish sub
N0G20M6T2

N868M09
N869M30
Oexternal_contours_finish endsub
M2
[end of external_contours_finish.ngc]
   
   
All files are in the same directory. I
 believe I
  got
   the
master file about right. What I doubt there
 is if
  the
   homing
sequence is correct but that's not a
  showstopper.
   
In  [labels.ngc] and all the other sub
 files, I
   doubt
the missing line numbering. My programming
  experience
   tells
me, either it has to be ther or totally
 omitted.
   
If I load master ngc in axis, I get no
  errormessage.
   when I
run the file I get Bad Number Format.
   
I am lost now. What's wrong and where, any
 help
  is
   greatly
appreciated.
   
greets
   
chris
   
   
   
   
   
 
 
 

   
  
 
 ===
 3.7 Calling Files
 
 To call a file name the file
 the
  same as
   your call
and
 include a sub and endsub. The file
 must
  be in
   the
directory
 pointed to by PROGRAM_PREFIX
 
     omyfile call (a
 named
   file)
 
 or
 
     o123 call (a number
 file)
 
 In the called file include the
 oxxx
  sub
   and endsub
and
 the file must be a valid file
 
     myfile.ngc
     omyfile sub
     ...
     omyfile endsub
     M2

  
 
 
 If I interprete that correctly,
 I
  shoud
   be able to
do
 this:
 
 Let's assume I have these
 files:
 engrave.ngc, bevel.ngc,
 inner.ngc,
  outer.
   ngc,
home.ngc

 
 I so, I woul generate another
 file,
  let's
   call it
 master.ngc with about te following
  content:
 
 
 omaster.ngc call engrave.ngc
 omaster.ngc call home.ngc
 omaster.ngc call bevel.ngc
 omaster.ngc call home.ngc
 omaster.ngc call inner.ngc
 omaster.ngc call home.ngc
 omaster.ngc call outer. ngc
 omaster.ngc call home.ngc
 
 However that fails, why?
 
 
 I haven't tried it, but one thing
 to
  note is
   that the
  are necessary
 around a named O-word or
 parameter.

 Also, the manual might be a little
  unclear
   since it
looks
 like the text
 in parentheses is part of the
 command. 
  I
   think what
 the instructions
 are trying to say is that the
 master
  file
   should do