andy pugh <bodgesoc@...> writes:

> 
> On 6 August 2015 at 01:36, Kenneth Lerman <lerman@...> wrote:
> > Your error message is:
> > 9:duplicate O-word label - already defined in line 29: 'O200
> > IF[#<selected_tool>
> > 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 9 has the text: 'O200 IF...'
> 
> Yes, and if that was really the case I would have fixed it by now...
> 
> http://git.linuxcnc.org/gitweb?
p=linuxcnc.git;a=blob;f=configs/sim/axis/vismach/VMC_toolchange/toolchange.n
gc;h=c1bee464f8ab3660dc26a83901458653e2c922e1;hb=3a6ab378e8c5d6759914e08f61c
d28e6bd526e3d
> 
> So, it is parsing line 29, doing a check, finding line 29 and thinking
> it is line 9. As far as I can see.
> 


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

"3:duplicate O-word label - already defined in line 22:"
Line 3 is empty in my macro...
My macro is about 15 lines of code, using 3 or 4 If cases with o1001, 
o1002, o1003. I have read it forth and back several times and I have only 
used the o1001 for one if and one endif, o1002 for one if and one endif and 
so on.

Best Regards Mattias


------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to