Need help with reprap 3 Gcode (extruder)
-
https://duet3d.dozuki.com/Wiki/FAQ#Section_My_temperature_shows_as_273c_or_2000c
My temperature shows as -273c or 2000c
A disconnected (open circuit) thermistor shows -273C in RRF. Other temperature sensor faults give a reading of 2000C, which triggers thermal protection as a safety. In general, check your wiring first and then ensure thermistor configuration is correct and uses the right syntax for your firmware version. i.e. RRF2 vs RRF3.What is your thermistor? Your config says it's connected to E1temp. Do you have it maybe connected to E0?
@wingtip said in Need help with reprap 3 Gcode (extruder):
so your saying that the only way to move the extruder stepper without heated hot end you have to use that console command every time you want to move it???
Well normally you would be printing and would have it heated up.
If you wanted to allow cold extrusion all the time you add the command to config.g so that it's run at startup. You can then remove it after you're done commissioning.
You might also want to check out these macros which come in very handy on the PanelDue.
https://github.com/Duet3D/RRF-machine-config-files/tree/master/DBotCoreXY/x0r-wifi-RRF3/macros
-
As mentioned in my first post its a e3d v6 with the stock included thermistor. The gcode for that thermister was copied from the dozuki list for rrp3 for the e3d v6
I will check the wiring again.
-
I checked for continuity from the connector at the thermistor through the breakout board, through the cat cable, through the next breakout board, and to the connector at the duet and it all checks out. As i powered the machine back up i noticed another error saying it was an unknown sensor... so i checked my gcode against the wiki again and im fairly certain i have it correct...
My gcode:
; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"e1temp" Y"thermistor" T100000 B4725 C7.06e-8 ; define E1 temperature sensor M950 H1 C"e1heat" T2 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C
From the E3D wiki:
RepRapFirmware
Edit the M305 P1 command in file sys/config.g on the SD card (you can do this in the web interface).-
For firmware versions 1.16 and earlier, set the B parameter (beta value) to 4388. This value gives better accuracy at typical printing temperatures in the range 190 to 250C than the B value of 4267 quoted in the datasheet.
-
For firmware versions 1.17 and later, set the B parameter to 4725 and the C parameter to 7.06e-8.
Restart the electronics to process the new config.g file.
I am using the E1 heater slot and the Thermistor 2 slot on the Duet as you can see:
-
-
Yes that looks correct values for the E3D thermistor.
Can you send M98 P"config.g" in the console and report the results?
-
@Phaedrux said in Need help with reprap 3 Gcode (extruder):
M98 P"config.g"
-
@wingtip said in Need help with reprap 3 Gcode (extruder):
M950 H1 C"e1heat" T2
I think that should be
M950 H1 C"e1heat" T1
Also, is there a reason you're starting with e1heat and e1temp instead of e0heat and e0temp?
-
really? i was going by this diagram which says for the e1 hotend the corresponding thermister is #2... but i can try your suggestion
-
E0 is my x motor, not the hotend
-
It's maybe a little confusing..
T Temperature sensor number, required only when creating a heater. See M308.
M308 S1 P"e1temp" Y"thermistor" T100000 B4725 C7.06e-8 ; define E1 temperature sensor M950 H1 C"e1heat" T2 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C
The T1 in the M950 command refers to the sensor you've created in M308 which is S1.
That's why it's giving the "error sensor number 2 has not been defined." Because it doesn't exist yet. ie been defined with an M308 command.
-
@Phaedrux said in Need help with reprap 3 Gcode (extruder):
M98 P"config.g"
I think that solved it. i need to remove the hotend from the bmg so i can heat it up and tighten it down for the first time... then i will try to extrude and set the esteps for the extruder.
-
https://duet3d.dozuki.com/Wiki/Duet_Wiring_Diagrams
Might want to refer to this wiring diagram as well.
-
I have that one as well and it shows the same information, e1 is T2 but apparently is wrong as your suggestion to have me switch it to T1, in the gcode but still in the T2 slot, is working.
Have the hot end removed from the extruder and about to try to heat it up for the first time.... this thing is gettin close to being finished !!
-
M308 S1 P"e1temp" Y"thermistor" T100000 B4725 C7.06e-8 ; define E1 temperature sensor
It's the M308 that is creating the sensor. Sensor1 in this case. And it's using E1temp pins to do it.
M950 H1 C"e1heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
Then M950 creates the heater. Heater1 in this case. And uses the e1heat pins to do it, then assigns sensor1 we just created to that heater with T1. T1=S1. The pins used are ancillary.
If you created another sensor and heater combo for a second extruder or something, it would use S2 and T2. And whatever pins you connected it to would be defined.
What I was asking before about using e1heat and e1temp was that it starts counting up from 0. So e0temp and e0heat are the first pins. It's not critical. It's just convention.
Hope that makes sense.
-
ehhh sort of lol.... this reprap stuff is new to me coming from marlin and that i just switched to reprap 3...
right now the hot end is working great, thank you. However, the extruder will retract but will not extrude giving this error:
Warning: Tool 0 was not driven because its heater temperatures were not high enough or it has a heater fault
This was with the hot end up to temp at 135c... so not sure why its saying not high enough...
-
135 isn't hot enough.
https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M302_Allow_cold_extrudes
I think the default is 165 unless you've modified the minimum extrusion temp with the cold extrude command or have cold extrudes allowed explicitely.
-
ummm i usually print my petg with 135 on my other printer... is 165 normal for a duet setup printing petg? Pla would be even lower...
If i wanted to use this:
M302 S120 R110 ; Allow extrusion starting from 120°C and retractions already from 110°C
can i just put that anywhere in the heaters section of the config or must it be at a specific location?
-
135 for PETG? I think your old thermistor was bonkers.
can i just put that anywhere in the heaters section of the config or must it be at a specific location?
The heaters section sounds like a good place.
-
i dont know what i was thinking about the 135... its 235.... Getting old and trying to learn new "tricks" isnt goin well for me at times lol....
-
Don't worry about it. I just wanna see the 3d printed james bond car so I'll help however I can.
-
@Phaedrux
You and me both.... Ive already spent way way way to many years on it going in wrong directions having to start over and redesign, retool but i think im heading in the right direction now.