---
title: Bambu Lab Specific G-Code
date: 2024-12-11T01:09:10.000Z
updated: 2026-01-08T14:50:55.682Z
tags:
  - addsub
url: https://baku89.com/Bambu_Lab_Specific_G-Code
---

# Bambu Lab Specific G-Code

- <https://github.com/Doridian/OpenBambuAPI/blob/main/gcode.md>
- <https://marlinfw.org/meta/gcode/>
- を元に解読していく

```
; EXECUTABLE_BLOCK_START
M73 P0 R13                     ; Set Printer Progress (R=minutes, 13m, 0%)
M201 X20000 Y20000 Z1500 E5000 ; Print / Travel Move Limits (accel)
M203 X500 Y500 Z30 E30         ; Set Max Feedrate (units-per-seconds)
M204 P20000 R5000 T20000       ; Set Starting Acceleration
M205 X9.00 Y9.00 Z5.00 E3.00   ; Set Advanced Settings (Jerk?)
M106 S0                        ; Set Fan Speed (S, 0...255, duty cycle)
M106 P2 S0                     ; Set Fan Speed (P = fan index, A1 mini has two fans)
```

```
; FEATURE: Custom
;===== machine: A1 mini =========================
;===== date: 20240204 =====================

;===== start to heat heatbead&hotend==========
M1002 gcode_claim_action : 2     ; Bambu Lab Specific?
M1002 set_filament_type:PETG     ; Bambu Lab Specific?
M104 S170                        ; Set Hotend Temerature (S=target temp)
M140 S70
G392 S0 ;turn off clog detect
M9833.2
```
