Re: [Emc-developers] carousel_demo and duplicate O-word label

2015-12-28 Thread Sebastian Kuzminsky
On 12/28/15 3:58 PM, andy pugh wrote: > On 27 December 2015 at 19:59, Mattias wrote: > >> Did you sort this issue out? >> I get the same error when trying to make my own toolchanging macros. >> I have tried in 2.7-pre6 and 2.7.3 > > I think that this is the fix: > http://git.linuxcnc.org/gitweb?p=

Re: [Emc-developers] carousel_demo and duplicate O-word label

2015-12-28 Thread andy pugh
On 27 December 2015 at 19:59, Mattias wrote: > Did you sort this issue out? > I get the same error when trying to make my own toolchanging macros. > I have tried in 2.7-pre6 and 2.7.3 I think that this is the fix: http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=commit;h=301cc84f8727cba3cca3323e0

Re: [Emc-developers] carousel_demo and duplicate O-word label

2015-12-27 Thread Mattias
andy pugh writes: > > On 6 August 2015 at 01:36, Kenneth Lerman wrote: > > Your error message is: > > 9:duplicate O-word label - already defined in line 29: 'O200 > > IF[# > > GT 0]' > > This is saying that on line 9 of the current file there is a definition of > > O200 and that this has previ

Re: [Emc-developers] carousel_demo and duplicate O-word label

2015-08-06 Thread andy pugh
On 6 August 2015 at 01:36, Kenneth Lerman wrote: > Your error message is: > 9:duplicate O-word label - already defined in line 29: 'O200 > IF[# > GT 0]' > This is saying that on line 9 of the current file there is a definition of > O200 and that this has previously been defined on line 29. > Line

Re: [Emc-developers] carousel_demo and duplicate O-word label

2015-08-05 Thread Kenneth Lerman
Looking at the code, I see (rs274ngc/interp_o_word.cc: 862) appears to be where the message is generated. Your error message is: 9:duplicate O-word label - already defined in line 29: 'O200 IF[# GT 0]' This is saying that on line 9 of the current file there is a definition of O200 and that this ha

Re: [Emc-developers] carousel_demo and duplicate O-word label

2015-08-05 Thread andy pugh
On 5 August 2015 at 18:07, Kenneth Lerman wrote: > I've seen a similar thing happen when I call a subroutine using MDI. First > I call it. That's not a problem. I call it again. That's not a problem. I > see that it isn't working properly for some reason and I edit the file -- > adding or removing

Re: [Emc-developers] carousel_demo and duplicate O-word label

2015-08-05 Thread Kenneth Lerman
Hi Andy, I haven't looked at that code since I wrote the original and I assume that it has been modified if not completely replaced. I can probably add some insight to what is supposed to be happening. 1 -- There are two phases to interpretation of o sub lines. In the first phase, the sub is bein

Re: [Emc-developers] carousel_demo and duplicate O-word label

2015-08-05 Thread andy pugh
On 5 August 2015 at 15:41, EBo wrote: > What whitespace problem? A speculative one that might not exist. It was a guess. The first time through the G-code routine 860 if (control_find_oword(block, settings, &op) == INTERP_OK) { returns false for both "if" statements. The second time thro

Re: [Emc-developers] carousel_demo and duplicate O-word label

2015-08-05 Thread EBo
On Aug 5 2015 3:16 AM, andy pugh wrote: > On 5 August 2015 at 07:41, EBo wrote: >>> hazy now, and found that it went away if I quit using a capital O, >>> so >>> I've been using o100 style o-words ever since. So you might want >>> to >>> include that in your pattern tests. >> >> That would be a

Re: [Emc-developers] carousel_demo and duplicate O-word label

2015-08-05 Thread andy pugh
On 5 August 2015 at 07:41, EBo wrote: >> hazy now, and found that it went away if I quit using a capital O, so >> I've been using o100 style o-words ever since. So you might want to >> include that in your pattern tests. > > That would be a good bug to to fix IMNSHO. I don't think that it is act

Re: [Emc-developers] carousel_demo and duplicate O-word label

2015-08-04 Thread EBo
On Aug 4 2015 8:15 PM, Gene Heskett wrote: > On Tuesday 04 August 2015 20:51:18 andy pugh wrote: > >> ... >> >> I have not yet figured out what it is about the O100 if that >> triggers >> a problem in the next IF. (The error actually occurs during >> interpretation of the second IF) >> I have trie

Re: [Emc-developers] carousel_demo and duplicate O-word label

2015-08-04 Thread Gene Heskett
On Tuesday 04 August 2015 20:51:18 andy pugh wrote: > On 25 July 2015 at 12:35, andy pugh wrote: > > As reported in > > http://psha.org.ru/irc/%23emc/2015-07-22.html#16:59:29 > > > > The G-code re-map in the carousel_demo branch gives the error: > > 9:duplicate O-word label - already defined in l

Re: [Emc-developers] carousel_demo and duplicate O-word label

2015-08-04 Thread andy pugh
On 25 July 2015 at 12:35, andy pugh wrote: > As reported in > http://psha.org.ru/irc/%23emc/2015-07-22.html#16:59:29 > > The G-code re-map in the carousel_demo branch gives the error: > 9:duplicate O-word label - already defined in line 29: 'O200 IF > [# GT 0]' I have done some experimenting and

Re: [Emc-developers] carousel_demo and duplicate O-word label

2015-07-27 Thread andy pugh
On 25 July 2015 at 13:35, andy pugh wrote: > This sounds like something that Tormach have already found and fixed. > (spotted in a release note). Apparently Tormach have found it, but not fixed it. So a resolution still needs to be found, it seems. -- atp If you can't fix it, you don't own it.