Re: [Emc-users] Emc-users Digest, Vol 174, Issue 64

2020-10-23 Thread andy pugh
On Fri, 23 Oct 2020 at 00:31, Alan Condit  wrote:

> Thank you very much. Because of the error message I was looking in the
> wrong place. That fix got it to load successfully, and allowed me to debug
> the problem and fix it.

It was reporting the error in the subroutine at the subroutine call
line (which isn't as helpful as it could be)

I found it by removing the sub definitions.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Emc-users Digest, Vol 174, Issue 64

2020-10-22 Thread Alan Condit
Andy,

Thank you very much. Because of the error message I was looking in the
wrong place. That fix got it to load successfully, and allowed me to debug
the problem and fix it.

Thanks again,
Alan


> From: andy pugh 
> To: "Enhanced Machine Controller (EMC)" 
> Cc:
> Bcc:
> Date: Thu, 22 Oct 2020 19:03:25 +0100
> Subject: Re: [Emc-users] Apparent changes in gcode in Linuxcnc 2.8.0
> On Wed, 21 Oct 2020 at 14:52, Alan Condit  wrote:
>
> > I have a bunch of wizards that I have written under 2.7 and under 2.8
> they won’t work. The biggest change is that you used to be able to write
> the subroutine declaration as O< CutBevel > SUB [1] [2] [3]  like a formal
> declaration of parameters. Now I have to go through and make all of them
> just comments like O SUB ([1] [2] [3]).
>
> Subroutines get parameters strictly by position, they just appear as #1,
> #2 etc. You can have a comment to document what they do, but I don't think
> anything has changed there
>
> The problem is actually line 76:
>
> G00 X0.0 Z[#Zcut]
>
> Should be
>
> G00 X0.0 Z[#]
>
> --
> atp
>
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users