Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Need help with reprap 3 Gcode (extruder)

    Scheduled Pinned Locked Moved
    General Discussion
    4
    32
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wingtipundefined
      wingtip
      last edited by

      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.

      Highly modified FT5 R1, ATX supply, mosfet w/silicone heat pad, bmg ext, TMC2600 drivers, and my custom quad z mod with 4 lead screws and custom cut new upper panels and bed, and using the dual z endstop mod. New project is 800x500x500z printer.

      1 Reply Last reply Reply Quote 0
      • wingtipundefined
        wingtip
        last edited by wingtip

        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:

        http://puu.sh/HpWHZ/6701529966.jpg

        Highly modified FT5 R1, ATX supply, mosfet w/silicone heat pad, bmg ext, TMC2600 drivers, and my custom quad z mod with 4 lead screws and custom cut new upper panels and bed, and using the dual z endstop mod. New project is 800x500x500z printer.

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          Yes that looks correct values for the E3D thermistor.

          Can you send M98 P"config.g" in the console and report the results?

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • wingtipundefined
            wingtip
            last edited by

            @Phaedrux said in Need help with reprap 3 Gcode (extruder):

            M98 P"config.g"

            console.jpg

            Highly modified FT5 R1, ATX supply, mosfet w/silicone heat pad, bmg ext, TMC2600 drivers, and my custom quad z mod with 4 lead screws and custom cut new upper panels and bed, and using the dual z endstop mod. New project is 800x500x500z printer.

            1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by Phaedrux

              @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?

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • wingtipundefined
                wingtip
                last edited by

                really? i was going by this diagram which says for the e1 hotend the corresponding thermister is #2... but i can try your suggestion
                DuetWiFi_basic-and-intro.jpg

                Highly modified FT5 R1, ATX supply, mosfet w/silicone heat pad, bmg ext, TMC2600 drivers, and my custom quad z mod with 4 lead screws and custom cut new upper panels and bed, and using the dual z endstop mod. New project is 800x500x500z printer.

                1 Reply Last reply Reply Quote 0
                • wingtipundefined
                  wingtip
                  last edited by

                  E0 is my x motor, not the hotend
                  drives.jpg

                  Highly modified FT5 R1, ATX supply, mosfet w/silicone heat pad, bmg ext, TMC2600 drivers, and my custom quad z mod with 4 lead screws and custom cut new upper panels and bed, and using the dual z endstop mod. New project is 800x500x500z printer.

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by Phaedrux

                    It's maybe a little confusing..

                    https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M950_Create_heater_fan_spindle_or_GPIO_servo_pin

                    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.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • wingtipundefined
                      wingtip
                      last edited by wingtip

                      @Phaedrux said in Need help with reprap 3 Gcode (extruder):

                      M98 P"config.g"

                      console.jpg

                      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.

                      Highly modified FT5 R1, ATX supply, mosfet w/silicone heat pad, bmg ext, TMC2600 drivers, and my custom quad z mod with 4 lead screws and custom cut new upper panels and bed, and using the dual z endstop mod. New project is 800x500x500z printer.

                      1 Reply Last reply Reply Quote 1
                      • Phaedruxundefined
                        Phaedrux Moderator
                        last edited by

                        https://duet3d.dozuki.com/Wiki/Duet_Wiring_Diagrams

                        Might want to refer to this wiring diagram as well.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • wingtipundefined
                          wingtip
                          last edited by

                          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 !!

                          Highly modified FT5 R1, ATX supply, mosfet w/silicone heat pad, bmg ext, TMC2600 drivers, and my custom quad z mod with 4 lead screws and custom cut new upper panels and bed, and using the dual z endstop mod. New project is 800x500x500z printer.

                          1 Reply Last reply Reply Quote 0
                          • Phaedruxundefined
                            Phaedrux Moderator
                            last edited by Phaedrux

                            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.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 0
                            • wingtipundefined
                              wingtip
                              last edited by wingtip

                              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...

                              Highly modified FT5 R1, ATX supply, mosfet w/silicone heat pad, bmg ext, TMC2600 drivers, and my custom quad z mod with 4 lead screws and custom cut new upper panels and bed, and using the dual z endstop mod. New project is 800x500x500z printer.

                              1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator
                                last edited by

                                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.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • wingtipundefined
                                  wingtip
                                  last edited by wingtip

                                  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?

                                  Highly modified FT5 R1, ATX supply, mosfet w/silicone heat pad, bmg ext, TMC2600 drivers, and my custom quad z mod with 4 lead screws and custom cut new upper panels and bed, and using the dual z endstop mod. New project is 800x500x500z printer.

                                  1 Reply Last reply Reply Quote 0
                                  • Phaedruxundefined
                                    Phaedrux Moderator
                                    last edited by Phaedrux

                                    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.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    wingtipundefined 1 Reply Last reply Reply Quote 0
                                    • wingtipundefined
                                      wingtip @Phaedrux
                                      last edited by

                                      @Phaedrux

                                      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....

                                      Highly modified FT5 R1, ATX supply, mosfet w/silicone heat pad, bmg ext, TMC2600 drivers, and my custom quad z mod with 4 lead screws and custom cut new upper panels and bed, and using the dual z endstop mod. New project is 800x500x500z printer.

                                      1 Reply Last reply Reply Quote 0
                                      • Phaedruxundefined
                                        Phaedrux Moderator
                                        last edited by

                                        Don't worry about it. I just wanna see the 3d printed james bond car so I'll help however I can. 😉

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        wingtipundefined 1 Reply Last reply Reply Quote 0
                                        • wingtipundefined
                                          wingtip @Phaedrux
                                          last edited by wingtip

                                          @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.
                                          IMG_4210.jpg

                                          Highly modified FT5 R1, ATX supply, mosfet w/silicone heat pad, bmg ext, TMC2600 drivers, and my custom quad z mod with 4 lead screws and custom cut new upper panels and bed, and using the dual z endstop mod. New project is 800x500x500z printer.

                                          1 Reply Last reply Reply Quote 0
                                          • Phaedruxundefined
                                            Phaedrux Moderator
                                            last edited by

                                            we're here to help!

                                            Z-Bot CoreXY Build | Thingiverse Profile

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA