<p>I don't understand what's wrong with my G-code. I have set the printing temperature to 195 °C but when I try to print, the target temperature is always 0 °C and printing never starts.</p>
<p><a href="https://i.stack.imgur.com/hkB6E.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hkB6E.jpg" alt="enter image description here" /></a></p>
<p>I have tried changing material preset to different PLA profiles but that didn't help at all.</p>
<p>G-code:</p>
<pre><code>;FLAVOR:RepRap
;TIME:1736
;Filament used: 0.676205m
;Layer height: 0.1
;Generated with Cura_SteamEngine 3.4.1
T0
M190 S50
M104 S195
M109 S195
M82 ;absolute extrusion mode
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z15.0 F9000 ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
G1 F9000
M117 Print0ng...
M83 ;relative extrusion mode
G1 F1500 E-6.5
;LAYER_COUNT:96
;LAYER:0
M107
G0 F600 X90.425 Y93.152 Z0.3
;TYPE:SKIRT
G1 F1500 E6.5
...
</code></pre>
<p>In addition, the extruder and heat sensor are working. An older G-code file correctly sets 200 °C as the target temperature for the extruder.</p>
<p><a href="https://i.stack.imgur.com/nQhqQ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nQhqQ.jpg" alt="enter image description here" /></a></p>
<p>This G-code prints just fine</p>
<pre><code>;FLAVOR:RepRap
;TIME:4628
;Filament used: 1.44191m
;Layer height: 0.15
;Generated with Cura_SteamEngine 3.4.1
T0
M190 S60
M104 S200
M109 S200
M82 ;absolute extrusion mode
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G1 Z15.0 F9000 ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
G1 F9000
M117 Print0ng...
M83 ;relative extrusion mode
G1 F1500 E-6.5
;LAYER_COUNT:80
;LAYER:0
M107
G0 F4800 X72.96 Y99.484 Z0.3
;TYPE:SKIRT
---
</code></pre>
<hr />
<p><em>Note, I have never modified the firmware or changed anything except what I can change with the frontpanel.</em></p>

[{'answer_id': 8244, 'author': '0scar', 'author_id': 5740, 'author_profile': 'https://3dprinting.stackexchange.com/users/5740', 'pm_score': 2, 'selected': False, 'text': '<p>There is nothing wrong with the G-code, <code>M109 S195</code> sets and waits for the temperature to reach the set point. There must be a different reason, other than G-code, why the temperature is not set correctly.</p>\n\n<p>After updating your question by adding another G-code script, the conclusion is that there is nothing wrong with the G-code itself. The problem is that the printer cannot set the 195&nbsp;&deg;C temperature.</p>\n\n<p>Could it be that the minimum temperature is 200&nbsp;&deg;C and that it doesn\'t set a temperature lower than the minimum value?</p>\n\n<p>If you are comfortable enough to flash a new firmware <strong>(which you should always do with an Anet A8 as it has no <a href="https://3dprinting.stackexchange.com/questions/8466/what-is-thermal-runaway-protection">thermal runaway protection</a>)</strong> you could try to see if this is a firmware problem.</p>\n'}, {'answer_id': 11301, 'author': 'Kaleb Callahan', 'author_id': 19063, 'author_profile': 'https://3dprinting.stackexchange.com/users/19063', 'pm_score': 1, 'selected': False, 'text': "<p>Double check the physical connection to the heating element and the thermistor that go in the hot end. Those wires and crimps aren't great. I had one fail on me out of the box with my A8. Re-crimping did the trick.</p>\n"}, {'answer_id': 11685, 'author': 'megamanjay', 'author_id': 19667, 'author_profile': 'https://3dprinting.stackexchange.com/users/19667', 'pm_score': 1, 'selected': False, 'text': '<p>Be sure that you are using the version of Cura (14.07) that comes on the SD card provided with the printer.  I ran into this same thing after updating Cura, largely because it prompts you to when it starts.  </p>\n'}, {'answer_id': 11686, 'author': 'R.. GitHub STOP HELPING ICE', 'author_id': 11157, 'author_profile': 'https://3dprinting.stackexchange.com/users/11157', 'pm_score': 1, 'selected': False, 'text': "<p>You don't mention printing via a connected computer over USB, so I assume you're printing from an SD card. I think the most likely cause of your problem is a corrupted filesystem on the SD card, or bad SD card. I've had many occasions where my printer (Ender 3 with Marlin, stock and upgraded to 2.0) fails to see files or correctly read files despite them being readable when the SD card is put in a PC; I suspect the microcontroller library implementations of FAT filesystem reading are less tolerant of errors than real filesystem drivers on Windows, Linux, etc.</p>\n\n<p>Try backing up all the files you care about on the SD card, reformatting it, and repopulting it with known-good files and see if the problem goes away.</p>\n"}, {'answer_id': 14469, 'author': 'JP Dias', 'author_id': 23678, 'author_profile': 'https://3dprinting.stackexchange.com/users/23678', 'pm_score': 3, 'selected': True, 'text': '<p>I got the same problem today and after a lot of troubleshooting (following the answers here) I found out that the <strong>issue was the connection to the hotbed</strong>. After I clean out the connection to the hotbed the printer started working as usual. The debugging logic was that <strong>the printer heats up the hotbed <em>before</em> setting the extruder temperature</strong>.</p>\n<p>Looking to your LCD the issue seems to be the same, since 33 degrees is a normal ambient temperature.</p>\n'}]
['https://3dprinting.stackexchange.com/questions/8242', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/5359/']