# How to enable FILAMENT\_LOAD\_UNLOAD\_GCODES

**URL:** <https://forum.snapmaker.com/t/how-to-enable-filament-load-unload-gcodes/39099>\
**Category:** J1/J1s IDEX\
**Tags:** Gcode, Snapmaker\_Luban\
**Created:** [March 12, 2025, 2:47pm UTC](https://forum.snapmaker.com/t/how-to-enable-filament-load-unload-gcodes/39099 "2025-03-12T14:47:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dirkpitt3959](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@dirkpitt3959](https://forum.snapmaker.com/u/dirkpitt3959)\
**Post date:** [March 12, 2025, 2:47pm UTC](https://forum.snapmaker.com/t/how-to-enable-filament-load-unload-gcodes/39099/1 "2025-03-12T14:47:23Z")

</div>

I’d like to add M702 commands into my gcode but my first attempts resulted in a big fat nothing. It looks like I must first “enable FILAMENT\_LOAD\_UNLOAD\_GCODES” which defines the M702 behavior. Does anyone have a guide on how to do that?

---

<div class="post-metadata">

**Author:** ![Wombley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/wombley/32/27838_2.png) [@Wombley](https://forum.snapmaker.com/u/Wombley)\
**Post date:** [March 13, 2025, 8:44pm UTC](https://forum.snapmaker.com/t/how-to-enable-filament-load-unload-gcodes/39099/2 "2025-03-13T20:44:48Z")

</div>

This is a Marlin flag. I’ve done quite some review of the Marlin base including compiling and flashing.

Unfortunately what you ask is not at all as easy as turning on this feature. This is because the user interaction for loading and unloading is not done from a standard screen control. It’s entirely managed by the custom Android firmware and screen.

So I highly doubt just turning on this flag and recompiling will produce the desired result.

To learn more, you can lookup the Snapmaker J1 IDEX on github which has the Marlin base firmware with instructions on how to compile as well.
