First Layer Temperature always 190°C in gcode

Hello,

recently purchased some new filament and started testing different profiles for the PLA ‘Filament Settings’ in Repitier-Host & Slic3r.

I noticed that the temperature for the first layer always gets set to 190°C, no matter the value I put in the profile (and of course ‘save’ it after changing).

When I check the ‘slic3r.ini’ file, it reads ‘first_layer_temperature = 180’, when I check the ‘composition.gcode’ file, it always reads ‘M109 S190’ and thus starting with 190°C for the first layer. The settings for M190, M140 and M104 are translated OK. If a different temperature is set for ‘Other Layers’, printer does switch to this temperature after the first layer.

I use Repitier-Host V0.90c and Slicer V0.9.9-dev. Tried this on multiple machines with multiple objects. Result is always the same.

Does anyone have any idea of what might be wrong?

Kind regards,
BigDee

Update:

browsing the internet for a solution, I just found out that Slic3r V1.0.0RC1 is out. Downloaded the software and installed it, but the problem remains.

BigDee

Update:

looks like the problem is located in the ‘Custom G-code’ section in the ‘Printer Settings’ in Slic3r (K8200_pla_standard_new).
In the ‘Start G-code’ part, the parameter M109 is ‘hard coded’ and thus set to 190°C.

So I started a new ‘Printer Settings’-profile.

When I remove the M109 code from the ‘Start G-code’ and run Slic3r again with the new profile, a new M109-code is generated after the ‘Start G-code’ with the value that is set for ‘First Layer Extruder Temperature’ in the ‘Filament Settings’-profile. Unfortunatly the code is placed after the ‘prime the nozzle’-instruction (which is also part of the ‘Start G-code’-section.

When I remove this code from ‘Start G-code’-section and run Slic3r, there is no ‘prime the nozzle’ instruction generated.

How do I solve this? Sure would like to prime the nozzle before starting to print.

Hi BigDee,

yes, and there is also a note somewhere in the (Slic3r) manual to change the custom G-code when changing the temperature in the print profile. Unfortunately, I don’t have the exact code here on this computer, but you can enter the first layer temperature as a variable in the custom G-code section. Iirc it was something like “M109 S[first_layer_temperature]”. You can quickly verify the correct syntax by slicing a small object, since it’s in the first few lines of the output G-code.

Cheers,
kuraasu

PS: found it, both Slic3r manual and github: https://github.com/alexrj/Slic3r/wiki/FAQ#what-placeholders-can-i-use-in-custom-g-code

Solution found:

in the ‘G-start Code’-section of the ‘printer Settings’-tab, replace the hard-coded value ‘190’ with this: [first_layer_temperature].
Now the value you use for the ‘First Layer Extruder Temperature’ in the ‘Filament Settings’-profile will be used when generating the G-code.

Hope this helps,
Regards.

Thanks @ kuraasu

Thx.