Bambu Lab X1 Specific G-Code

Hey, whats actually turning on the light inside the printer?
Its not like in “stock” marlin Firmwares / M355 Case Light Control | Marlin Firmware
At least, i found a way to turn off the toolhead on the X1:

M960 S5 P0 ; turn off logo lamp

Thats an interesting comment in the “machine start G-Code”:

;========turn off light and wait extrude temperature =============
M1002 gcode_claim_action : 0
M973 S4 ; turn off scanner
M400 ; wait all motion done before implement the emprical L parameters
;M900 L500.0 ; Empirical parameters
M109 S[nozzle_temperature_initial_layer]
M960 S1 P0 ; turn off laser
M960 S2 P0 ; turn off laser
M106 S0 ; turn off fan
M106 P2 S0 ; turn off big fan
M106 P3 S0 ; turn off chamber fan
M975 S1 ; turn on mech mode supression
G90
M83
T1000
G1 E{-retraction_length[initial_no_support_extruder]} F1800
G1 X128.0 Y253.0 Z0.2 F24000.0;Move to start position
G1 E{retraction_length[initial_no_support_extruder]} F1800
M109 S{nozzle_temperature_initial_layer[initial_no_support_extruder]}
G0 X253 E6.4 F{outer_wall_volumetric_speed/(0.3*0.6) * 60}
G0 Y128 E6.4
G0 X252.5
G0 Y252.5 E6.4
G0 X128 E6.4
1 Like