Welcome! Log In Create A New Profile

Advanced

Custom command remove filament

Posted by mokush 
Custom command remove filament
October 21, 2018 05:15AM
Hello All!
I'm trying to add an "unload" command to the custom command menu that would retract 400mm filament from the PTFE tube, but whatever command I use, does not work. I tried heated, cold, but extruder motor does not move (all OK otherwise)
I used G10, also G1 E-400 F60 with M92 and without, with M83 and without... Nothing.
How could I make it work? Please help.
Re: Custom command remove filament
October 21, 2018 06:00AM
how about posting at least one eg, so we can see how your trying to implement this?

Also please take a look at [github.com] ADVANCED_PAUSE_FEATURE might already do what you want.
Re: Custom command remove filament
October 21, 2018 10:20AM
The latest attempt:

#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User script done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_SCRIPT_RETURN // Return to status screen after a script

#define USER_DESC_1 "Home all"
#define USER_GCODE_1 "G28"

#define USER_DESC_2 "Preheat 200/60"
#define USER_GCODE_2 "M140 S" STRINGIFY(PREHEAT_1_TEMP_BED) "\nM104 S" STRINGIFY(PREHEAT_1_TEMP_HOTEND)

#define USER_DESC_3 "Preheat 210/60"
#define USER_GCODE_3 "M140 S" STRINGIFY(PREHEAT_2_TEMP_BED) "\nM104 S" STRINGIFY(PREHEAT_2_TEMP_HOTEND)

#define USER_DESC_4 "Cooldown"
#define USER_GCODE_4 "M140 S0\nM104 S0"

#define USER_DESC_5 "Unload"
#define USER_GCODE_5 "G10"


It was...

#define USER_DESC_5 "Unload"
#define USER_GCODE_5 "G1 E-400 F200"

...and...

#define USER_DESC_5 "Unload"
#define USER_GCODE_5 "G92 E0/nG1 E-400 F200"

...and...

#define USER_DESC_5 "Unload"
#define USER_GCODE_5 "M83\nG1 E-400 F200"

I get the beep and the "User script done" message, but no movement on E motor.

Edited 1 time(s). Last edit at 10/21/2018 10:20AM by mokush.
Sorry, only registered users may post in this forum.

Click here to login