# Gcode with "ANaN.0" - missing settings?

**URL:** <https://forum.grid.space/t/gcode-with-anan-0-missing-settings/2421>\
**Category:** CAM\
**Created:** [March 13, 2025, 7:17am UTC](https://forum.grid.space/t/gcode-with-anan-0-missing-settings/2421 "2025-03-13T07:17:32Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![primozk](https://forum.grid.space/letter_avatar_proxy/v4/letter/p/ecb155/32.png) [@primozk](https://forum.grid.space/u/primozk)\
**Post date:** [March 13, 2025, 7:17am UTC](https://forum.grid.space/t/gcode-with-anan-0-missing-settings/2421/1 "2025-03-13T07:17:32Z")

</div>

Hi, after a while (will be a year probably) i’m again preparing some milling for my cnc.

I generated the gcode and have seen there is the “A” postion as well in the code and in all my code as “ANaN.0”. I wonder is this a valid code or i’m missing some settings for the “A”, or to disable? I did not try the code on the router yet - asking in advance.

G21  
G90  
G0 X56.5413 Y126.2218 F4000  
G0 Z5.0 ANaN.0 F400  
G1 Z-0.3236 ANaN.0 F150  
G1 X57.1046 Y125.9740 ANaN.0 F1600  
G1 X57.6778 Y125.7511 ANaN.0  
G1 X58.2601 Y125.5534 ANaN.0

Tnx for the advice

---

<div class="post-metadata">

**Author:** ![Forecaster](https://forum.grid.space/user_avatar/forum.grid.space/forecaster/32/2209_2.png) [@Forecaster](https://forum.grid.space/u/Forecaster)\
**Post date:** [March 13, 2025, 8:01am UTC](https://forum.grid.space/t/gcode-with-anan-0-missing-settings/2421/2 "2025-03-13T08:01:17Z")

</div>

Can you export and upload your workspace?

It seems you have a missing or invalid value somewhere that is causing a NaN (Not a Number) error in the coordinate calculation.

---

<div class="post-metadata">

**Author:** ![TKnapton](https://forum.grid.space/user_avatar/forum.grid.space/tknapton/32/2228_2.png) [@TKnapton](https://forum.grid.space/u/TKnapton)\
**Post date:** [March 13, 2025, 11:35am UTC](https://forum.grid.space/t/gcode-with-anan-0-missing-settings/2421/3 "2025-03-13T11:35:07Z")

</div>

I’ve been using my CNC router all week, and then today have started having the same problem - despite all settings remaining the same, all my G-code is now being exported with ANaN on every line.

It also stops the code from running.

---

<div class="post-metadata">

**Author:** ![Forecaster](https://forum.grid.space/user_avatar/forum.grid.space/forecaster/32/2209_2.png) [@Forecaster](https://forum.grid.space/u/Forecaster)\
**Post date:** [March 13, 2025, 12:03pm UTC](https://forum.grid.space/t/gcode-with-anan-0-missing-settings/2421/4 "2025-03-13T12:03:34Z")

</div>

Could you try reverting to the previous version and exporting the g-code and see if it still happens?

---

<div class="post-metadata">

**Author:** ![stewart](https://forum.grid.space/user_avatar/forum.grid.space/stewart/32/21_2.png) [@stewart](https://forum.grid.space/u/stewart)\
**Post date:** [March 13, 2025, 12:12pm UTC](https://forum.grid.space/t/gcode-with-anan-0-missing-settings/2421/5 "2025-03-13T12:12:14Z")

</div>

if you use `files --> export` to produce a `.kmz` file and email it to me I can take a look … [sa at grid dot space]

---

<div class="post-metadata">

**Author:** ![primozk](https://forum.grid.space/letter_avatar_proxy/v4/letter/p/ecb155/32.png) [@primozk](https://forum.grid.space/u/primozk)\
**Post date:** [March 13, 2025, 1:11pm UTC](https://forum.grid.space/t/gcode-with-anan-0-missing-settings/2421/6 "2025-03-13T13:11:03Z")

</div>

[workspace\_Vratca\_elektrika\_vB1(3) (1).kmz](https://forum.grid.space/uploads/short-url/oVwCyzjbH000r0DXTddyvcviz2i.kmz) (661.2 KB)

Here, the kmz & thanks for looking

---

<div class="post-metadata">

**Author:** ![stewart](https://forum.grid.space/user_avatar/forum.grid.space/stewart/32/21_2.png) [@stewart](https://forum.grid.space/u/stewart)\
**Post date:** [March 13, 2025, 1:13pm UTC](https://forum.grid.space/t/gcode-with-anan-0-missing-settings/2421/7 "2025-03-13T13:13:27Z")

</div>

this bug is fixed in production with KM 4.1.4

---

<div class="post-metadata">

**Author:** ![TKnapton](https://forum.grid.space/user_avatar/forum.grid.space/tknapton/32/2228_2.png) [@TKnapton](https://forum.grid.space/u/TKnapton)\
**Post date:** [March 13, 2025, 1:32pm UTC](https://forum.grid.space/t/gcode-with-anan-0-missing-settings/2421/8 "2025-03-13T13:32:00Z")

</div>

Works great, thank you.

---

<div class="post-metadata">

**Author:** ![primozk](https://forum.grid.space/letter_avatar_proxy/v4/letter/p/ecb155/32.png) [@primozk](https://forum.grid.space/u/primozk)\
**Post date:** [March 14, 2025, 6:42am UTC](https://forum.grid.space/t/gcode-with-anan-0-missing-settings/2421/9 "2025-03-14T06:42:50Z")

</div>

Same here, thanks for the quick fix Stewart!

---

<div class="post-metadata">

**Author:** ![Daniel\_Roitman](https://forum.grid.space/user_avatar/forum.grid.space/daniel_roitman/32/3115_2.png) [@Daniel\_Roitman](https://forum.grid.space/u/Daniel_Roitman)\
**Post date:** [December 22, 2025, 1:16pm UTC](https://forum.grid.space/t/gcode-with-anan-0-missing-settings/2421/10 "2025-12-22T13:16:56Z")

</div>

Hi everyone,

I’m new to Kiri:Moto and really excited about using it for my CNC projects, but I’m running into an issue that’s stalling me.

My .mzk file

> **[problem\_Znan.kmz](https://drive.google.com/file/d/1460eq6evcF38K35LIKSditwp6a6A1B2h/view?usp=sharing)**
>
> Google Drive file.

thanks all

---

<div class="post-metadata">

**Author:** ![stewart](https://forum.grid.space/user_avatar/forum.grid.space/stewart/32/21_2.png) [@stewart](https://forum.grid.space/u/stewart)\
**Post date:** [December 22, 2025, 2:59pm UTC](https://forum.grid.space/t/gcode-with-anan-0-missing-settings/2421/11 "2025-12-22T14:59:36Z")

</div>

Hi Daniel,

I’m tracking down a bug in the CPU based contouring code that seems to cause this. In the meantime, please try enabling GPU acceleration since that uses a new code path for contouring that doesn’t have this issue.

 ![Screenshot 2025-12-22 at 9.57.28 AM](https://forum.grid.space/uploads/default/original/2X/e/e622dfa758612515392cb2ba124b19a987c46bc2.png)

---

<div class="post-metadata">

**Author:** ![Daniel\_Roitman](https://forum.grid.space/user_avatar/forum.grid.space/daniel_roitman/32/3115_2.png) [@Daniel\_Roitman](https://forum.grid.space/u/Daniel_Roitman)\
**Post date:** [December 22, 2025, 5:16pm UTC](https://forum.grid.space/t/gcode-with-anan-0-missing-settings/2421/12 "2025-12-22T17:16:09Z")

</div>

Hi Stewart,

Thank you very much for the information. It solved my problem. 🙏
