Re: [Emc-developers] Unknown g code used

2022-12-23 Thread lcnc



Excuse my fault.

Witout
source ../scripts/rip-environment
the new compiled linuxcnc does not start.

Joachim


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


Re: [Emc-developers] Unknown g code used

2022-12-23 Thread Rainer Stelzer

run into an unknown Gcode when using a work coordinate offset bigger 7

stopped on
 ... G54.1 ... .

Took me 35 views to notice that the post processor (I wrote) generated 
the fanuc style


G54.1 P01

instead of LinuxCNC s

G59.1

embarrassing.
But there is no error message than can make a blind man see.


Am 23.12.2022 um 15:14 schrieb Stuart Stevenson:

maybe a better error feedback would be "Gunknown is not a defined command"

On Fri, Dec 23, 2022 at 7:08 AM andy pugh  wrote:


On Fri, 23 Dec 2022 at 11:39,  wrote:

I get the Message "Unknown g code used".
How to debug this?

It means exactly what it says.
Which G-code is it complaining about?

(note that the line number might be a few lines out)

--
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-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers






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


Re: [Emc-developers] Unknown g code used

2022-12-23 Thread Stuart Stevenson
maybe a better error feedback would be "Gunknown is not a defined command"

On Fri, Dec 23, 2022 at 7:08 AM andy pugh  wrote:

> On Fri, 23 Dec 2022 at 11:39,  wrote:
> >
> > I get the Message "Unknown g code used".
> > How to debug this?
>
> It means exactly what it says.
> Which G-code is it complaining about?
>
> (note that the line number might be a few lines out)
>
> --
> 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-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>


-- 
Addressee is the intended audience.
If you are not the addressee then my consent is not given for you to read
this email furthermore it is my wish you would close this without saving or
reading, and cease and desist from saving or opening my private
correspondence.
Thank you for honoring my wish.

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


Re: [Emc-developers] Unknown g code used

2022-12-23 Thread andy pugh
On Fri, 23 Dec 2022 at 11:39,  wrote:
>
> I get the Message "Unknown g code used".
> How to debug this?

It means exactly what it says.
Which G-code is it complaining about?

(note that the line number might be a few lines out)

-- 
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-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Unknown g code used

2022-12-23 Thread Greg C
On Fri, Dec 23, 2022 at 6:39 AM  wrote:

> I get the Message "Unknown g code used".
> How to debug this?
>

It may help to know what the gcode is...

>
>
> My beloved debug method "printf(...)" does not work.
>

use:  fprintf(stderr, "your debug stuff here")

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


[Emc-developers] Unknown g code used

2022-12-23 Thread lcnc

I get the Message "Unknown g code used".
How to debug this?

From emc/rs274ngc/rs274ngc_return.hh:
#define NCE_UNKNOWN_G_CODE_USED _("Unknown g code used")

NCE_UNKNOWN_G_CODE_USED occures only in emc/rs274ngc/interp_read.cc about line 
604

My beloved debug method "printf(...)" does not work.

Joachim


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