# Klipper G-Code convention

**URL:** <https://klipper.discourse.group/t/klipper-g-code-convention/12441>\
**Category:** General Discussion\
**Created:** [December 20, 2023, 9:32pm UTC](https://klipper.discourse.group/t/klipper-g-code-convention/12441 "2023-12-20T21:32:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wscrivens](https://avatars.discourse-cdn.com/v4/letter/w/c67d28/32.png) [@wscrivens](https://klipper.discourse.group/u/wscrivens)\
**Post date:** [December 20, 2023, 9:32pm UTC](https://klipper.discourse.group/t/klipper-g-code-convention/12441/1 "2023-12-20T21:32:19Z")

</div>

### Basic Information:

Creality  
 Ender 4.2.7  
[klippy 2.log.zip](https://klipper.discourse.group/uploads/short-url/rynWOqkMy5aISkxnkPn8B0Mjuvs.zip) (279.7 KB)

What does "_xxx" added to a G-Code command mean?  
I’m trying to diagnose excessive noise while doing a fast move without extruding. The code that’s being executed looks like F9000_112. What does the _112 mean? The actual move looks reasonable at 150 mm/sec (9000/60). It can’t mean multiplication (16,800 mm/sec), and I’ve seen similar modifications on other commands like "G1 E0.7592_124).  
(The printer works as expected without the \*xxx added to the commands)

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [December 21, 2023, 4:22am UTC](https://klipper.discourse.group/t/klipper-g-code-convention/12441/2 "2023-12-21T04:22:23Z")

</div>

For a G-code explanation see here:

[https://reprap.org/wiki/G-code](https://reprap.org/wiki/G-code)

The 112 is the checksum and should be preceded by a **`*`**

It makes a difference if you use \</\> in the editor or not

Just plain it is

G1 X100 F9000_112_

With \</\>

```auto
G1 X100 F9000*112

```

---

<div class="post-metadata">

**Author:** ![wscrivens](https://avatars.discourse-cdn.com/v4/letter/w/c67d28/32.png) [@wscrivens](https://klipper.discourse.group/u/wscrivens)\
**Post date:** [December 21, 2023, 3:23pm UTC](https://klipper.discourse.group/t/klipper-g-code-convention/12441/3 "2023-12-21T15:23:18Z")

</div>

Thank you - that answers my question! 😀

Walt

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [January 21, 2024, 1:24am UTC](https://klipper.discourse.group/t/klipper-g-code-convention/12441/4 "2024-01-21T01:24:03Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
