Show me examples of your start and end gcode.
-
I must be the only person that likes the printer to play a little tune when it finishes, like the dishwasher and washing machine
-
There is not much point in my posting my start and end gcode files
I would disagree. Even though your setup may not be directly relevant to mine, I would still likely learn a great deal from seeing what is possible in other configurations. A clever idea has merit beyond its substance.
-
Mines much more simple, but I have a delta.
;Play a little beep beep beep to show print ended. M300 P500 S5000 G4 P400 M300 P500 S5000 G4 P400 M300 P500 S5000 G4 P400 M300 P500 S5000 M0; Turn off heated bed
I like that. I'm totally using that.
-
Additionally I have some settings on Slic3r for Start-Gcode based on filament type. For example for PETG I am setting the PID parameters tuned for my PETG printing temprature and have tuned the Pressure advance to 0.3. This is my Start Gcode for PETG filament type:
That's interesting, do you notice much better temperature stability by using temp specific PID tuning?
I've kind of just targeted the middle temp range I print at and stuck there. I had done tunings at different temps in the past, but never thought to have them be filament specific like that. Good idea.
-
Additionally I have some settings on Slic3r for Start-Gcode based on filament type. For example for PETG I am setting the PID parameters tuned for my PETG printing temprature and have tuned the Pressure advance to 0.3. This is my Start Gcode for PETG filament type:
That's interesting, do you notice much better temperature stability by using temp specific PID tuning?
I've kind of just targeted the middle temp range I print at and stuck there. I had done tunings at different temps in the past, but never thought to have them be filament specific like that. Good idea.
If you use the "Filaments" feature in DWC, you can just change some params (PID, retraction…) when loading the filament, although those params are just executed during load and unload, and not after a reboot :m...
Cheers
-
I must be the only person that likes the printer to play a little tune when it finishes, like the dishwasher and washing machine
Got any examples? I actually did a cursory google search to try and find some jingles or some tool to convert them to tones. No such luck.
-
Alright, I "composed" an end print jingle after watching some youtube videos of singing washing machines and dishwashers.
[c]M300 P200 S2000
G4 p200
M300 P200 S2250
G4 P200
M300 P200 S2000
G4 P200
M300 P200 S3000
G4 P200
M300 P250 S2500
G4 P200
M300 P350 S2000
G4 P200
M300 P350 S2500
G4 P300
M300 P250 S3700
G4 P200
M300 P300 S3500[/c] -
start gcode for my kossel XL
M80 ;PSU on
G4 P2000 ;pause for paneldue
M98 P/macros/rapidcold ; set extruder temp to 130 with max cooling
M109 S0 ;hotend off
G28 ;home
;G32 ;autocalibration - set grid on/off in bed.g
M190 S[first_layer_bed_temperature] ;heat bed
M116 ;wait for temps.
;M98 P/macros/NozzleClean ;nozzle clean macro
G1 X5 Y0 Z5 ;bed centre
G30 ;set Z
M564 S0 ;disable movement limits
G1 Z15 X47.7 Y-160.1 F3000 ;move to front
M109 S[first_layer_temperature] ; set extruder temp
G1 E20 F100 ;extrude 20mm slowly
G4 P1500 ;pause
G1 Z4 X40 Y-168 F6000 ;move down to swipe filament off
G1 Z2 X0 Y0 F6000 ;move to bed centre
M564 S1 ;restore movement limits
M220 S100 ;optional speed control default 100End gcode
M220 S100 ; set speed back to 100%
G28 ; home
M98 P/macros/rapid130 ; set extruder temp to 130 with max cooling
M140 S0 ; turn off bed temperature
M141 S0 ; turn off chamber heater
M104 S50 ; set nozzle below GTT
M116
M84 ; disable motors
M106 S0 ; part fans off
M81 ;PSU off -
There is not much point in my posting my start and end gcode files
I would disagree. Even though your setup may not be directly relevant to mine, I would still likely learn a great deal from seeing what is possible in other configurations. A clever idea has merit beyond its substance.
Nice turn of phrase but I don't do anything clever - just different. Unless you run 5 extruders and a mixing hot end my start and end gcode files really won't be any use to you.
Here is one example though. I have a number of different printer configurations for various Diamond hot end assemblies that I switch between. Eaxh printer configuration has a different start gode file. I also sometimes run post processing scripts that I've written and the ";begin" and ";end" comments in the start and end gcode files act as "flags" or markers when I use these post processing scripts. Also note that initial tool heating is not in my start gcode because it is part of my homeall.g file (I use the nozzle to probe the bed so I warm the hot end to soften any oozed filament).
Start gcode–---------------------------------
G28; home all
; layer_height =[layer_height]
G10 P0 S195 R195 ; Set tool 0 operating and standby temperatures
G10 P1 S195 R195 ; Set tool 1 operating and standby temperatures
G10 P2 S195 R195 ; Set tool 2 operating and standby temperatures
G10 P3 S195 R195 ; Set tool 3 operating and standby temperatures
G10 P4 S195 R195 ; Set tool 4 operating and standby temperatures
G10 P5 S195 R195 ; Set tool 5 operating and standby temperatures
G1 Y364 F9000 ; move to Y =max
T0; select a tool 0
M109 S[first_layer_temperature] ; complete tool heating to filament setting temperature.
M83; Set extruder to relative
;beginEnd gcode–-------------------------------------------
G91 ; set relative positioning
G1 Z5 F240 ; move bed down 5mm
G90 ; back to absolute positioning
G1 X165 Y350 F9000; Move head to centre rear
;M300 S2500 P500 ; play beep to indicate end of print - proved to be too annoying so commented out.
G10 P0 S-273 R-273 ; Set tool 0 operating and standby temperatures
G10 P1 S-273 R-273 ; Set tool 1 operating and standby temperatures
G10 P2 S-273 R-273 ; Set tool 2 operating and standby temperatures
G10 P3 S-273 R-273 ; Set tool 3 operating and standby temperatures
G10 P4 S-273 R-273 ; Set tool 2 operating and standby temperatures
G10 P5 S-273 R-273 ; Set tool 2 operating and standby temperatures
M106 S0 ; turn off print cooling fan
M140 S0; Turn off bed -
If you use the "Filaments" feature in DWC, you can just change some params (PID, retraction…) when loading the filament, although those params are just executed during load and unload, and not after a reboot...
That is why I have a file [c]current_material.g[/c] which currently contains this:
M98 P/macros/Settings/PLA G10 P0 R150 S210
The Settings/PLA contains the retraction settings.
My Filament load macros use M28 and M29 to write the [c]current_material.g[/c]
for PLA:; create file to set options on startup ; current_material.g M28 /sys/current_material.g M98 P/macros/Settings/BDP M29 /sys/current_material.g ; load settings from startup file M98 P/sys/current_material.g ; Load material.g to apply general settings
And I added [c]M98 P/sys/current_material.g[/c] to the end of [c]config.g[/c] so that it gets executed after boot. Voila!
-
That's interesting, do you notice much better temperature stability by using temp specific PID tuning?
I am having some ripples on temperature. I noticed that by setting specific PID for that temperature the ripples are reduced to +-1.5 C.
-
start gcode for my kossel XL
M80 ;PSU on
G4 P2000 ;pause for paneldue
M98 P/macros/rapidcold ; set extruder temp to 130 with max cooling
M109 S0 ;hotend off
G28 ;home
;G32 ;autocalibration - set grid on/off in bed.g
M190 S[first_layer_bed_temperature] ;heat bed
M116 ;wait for temps.
;M98 P/macros/NozzleClean ;nozzle clean macro
G1 X5 Y0 Z5 ;bed centre
G30 ;set Z
M564 S0 ;disable movement limits
G1 Z15 X47.7 Y-160.1 F3000 ;move to front
M109 S[first_layer_temperature] ; set extruder temp
G1 E20 F100 ;extrude 20mm slowly
G4 P1500 ;pause
G1 Z4 X40 Y-168 F6000 ;move down to swipe filament off
G1 Z2 X0 Y0 F6000 ;move to bed centre
M564 S1 ;restore movement limits
M220 S100 ;optional speed control default 100End gcode
M220 S100 ; set speed back to 100%
G28 ; home
M98 P/macros/rapid130 ; set extruder temp to 130 with max cooling
M140 S0 ; turn off bed temperature
M141 S0 ; turn off chamber heater
M104 S50 ; set nozzle below GTT
M116
M84 ; disable motors
M106 S0 ; part fans off
M81 ;PSU offThe last part of your end gcode is the same as mine but M116 for me just get ignored which is annoying, have you ever had that issue?