First T0 in gcode, does not work
-
Am I right in thinking that you are using M703 within your tpost0.g file, and you are finding that file /filaments/<filament name>/config.g isn't being run? If so, please post the contents of tpost0.g and your filament config file here.
Do you have any evidence that tpost0.g is being run at all? You can put a M117 command with a message in it to check.
-
No, I do not use filament management
Here are my macros, I skip the servo macros, gotopurge and wipe
tpost0.g
G1 U0
M98 Ptpost_all.gtpost_all.g
M98 P"GotoPurge.g"
;M291 S3 R"Test" P"Press OK to start test"
M116
M98 P"SortirServo.g"
M400
M98 P"SortirFilament.g"
M400
M98 P"RentrerServo.g"
M400
G1 E60 F300
G1 E20 F300
G1 E-5 F1800
G1 E2.5 F300
M400
G4 S4
M98 P"Wipe.g"
G1 E-2 F1800SortirFilament.g
G92 V0
M574 V2 S1
G1 V1000 F3600 S1
M581 E1 S0 T2 C0 ; activate trigger 2 on falling edge
M582 T2 ; check filament sensor to confirm loading successful
M581 T2 S-1G92 V0
M574 W2 S1
G92 W0; methode stall
;M574 W2 S3 ; W2 2-> end & S3 3 = motor load detection
;M913 W50; r‚duire le courant moteur … 50% pour ‚viter le meulage
;M915 W S5 F0; régler les paramêtres de protection contre le décrochage
;G1 S1 W2000 F3600; filament d'alimentation rapide dans l'extrudeuse
;M913 W100; augmente la puissance moteur; methode capteur
G1 W2000 F8000 S1
G92 W0
G1 W60 F2400
G92 W0;M581 E1 S0 T2 C0 ; activate trigger 2 on falling edge
;M582 T2 ; check filament sensor to confirm loading successful
;G92 W0
;G1 W-100 F3600
;M400
;G1 W-100 F600G1 E50:50 F300
G92 W0
M400I tested a T0 directly in the top control bar, and it works well.
As if when I start printing, he had in memory a T0 already activated. I will test tonight with a sound (M300) -
Do you have a T0 command at the end of config.g? The online configurator gives you the option of inserting one.
-
I just checked, and no, neither in homeall.g
-
I will test tonight by putting a sound in the command tpost0.g
And I will raise everything, as I will see. -
it's the M109 S225 T0 the offender
-
he selects me the tool, but not completely
-
@NicoLab28 so a tool needs to be selected so you can heat the Hotend, but, it's too cold to extrude. So my work around is to just let the Hotend heat up at the start then what I do is this
Start code example;
Heat up Hotend...
T-1 P0
T0
Start printing....I always have a T-1 in my end gcode so the machine is always unloaded when starting
-
@nicolab28 said in First T0 in gcode, does not work:
it's the M109 S225 T0 the offender
For compatibility with slicers that don't select a tool before heating it (i.e. most of them), if M109 is used with no tool selected then RRF selects the tool. So M109 S225 T0 run with no tool selected should be equivalent to T0 followed by M109 S225 T0. It should still run the tool change files exactly as if you had used the T0 command explicitly - assuming that all axes are flagged as having been homed. But of course the tool won't be hot when the tool change files are run, so commands to extrude or retract filament will probably fail.
-
Thank you gavatron and DC42,
The problem with the T-1 is that if there is a filament loaded at the beginning of the print, it will unload it.
For now, I load my tool before,.There is a method / trick for heating the hotend without selecting a tool?
No doubt the use of
G10 Rxx Sxx
T0
in the print fileM116 at the beginning of tpost # .g (which I already do)
-
That's why I always start unloaded, then load before each print. Much easier
-
@nicolab28 said in First T0 in gcode, does not work:
The problem with the T-1 is that if there is a filament loaded at the beginning of the print, it will unload it.
You can use T-1 P0 to deselect the tool without running the tool change files, if you don't need any part of the free file run.
There is a method / trick for heating the hotend without selecting a tool?
Use T0 P0 to select tool 0 without running any tool change files, then you can heat it.