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

    New to the duet COMPLETE NEWBIE

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    5
    101
    5.4k
    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.
    • gabrealekundefined
      gabrealek @Phaedrux
      last edited by gabrealek

      @Phaedrux

      ; Configuration file for Duet WiFi (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.2.1 on Tue Jan 19 2021 17:33:25 GMT-0500 (Eastern Standard Time)

      ; General preferences
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"Creola" ; set printer name

      ; Network
      M552 S1 ; enable network
      M586 P0 S1 ; enable HTTP
      M586 P1 S0 ; disable FTP
      M586 P2 S0 ; disable Telnet

      ; Drives
      M569 P0 S0 ; physical drive 0 goes backwards
      M569 P1 S0 ; physical drive 1 goes backwards
      M569 P2 S1 ; physical drive 2 goes forwards
      M569 P3 S0 ; physical drive 3 goes backwards
      M584 X0 Y1 Z2 E3 ; set drive mapping
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z400.00 E97.08 ; set steps per mm
      M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z600.00 E1200.00 ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z120.00 E250.00 ; set accelerations (mm/s^2)
      M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 X0 Y0 Z0 S1 ; set axis minima
      M208 X300 Y300 Z400 S0 ; set axis maxima

      ; Endstops
      M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
      M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
      M574 Z1 S1 P"!zstop" ; configure active-high endstop for low end on Z via pin !zstop

      ; Z-Probe
      M558 P0 H18 F120 T480000 ; disable Z probe but set dive height, probe speed and travel speed
      M557 X10:220 Y10:220 S20 ; define mesh grid

      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T98801 B4185 ; configure sensor 0 as thermistor on pin e0temp
      M950 H0 C"bedheat" T0 ; create bed heater output on e0heat 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 S80 ; set temperature limit for heater 0 to 80C
      M308 S1 P"e1temp" Y"thermistor" T98801 B4185 ; configure sensor 1 as thermistor on pin e1temp

      ; homeall.g
      ; called to home all axes
      ;
      ; generated by RepRapFirmware Configuration Tool v3.2.1 on Tue Jan 19 2021 17:33:25 GMT-0500 (Eastern Standard Time)
      G91 ; relative positioning
      G1 H2 Z18 F480000 ; lift Z relative to current position
      G1 H1 X-305 Y-305 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
      G1 H2 X5 Y5 F480000 ; go back a few mm
      G1 H1 X-305 Y-305 F3600 ; move slowly to X and Y axis endstops once more (second pass)
      G1 H1 Z-405 F3600 ; move Z down stopping at the endstop
      G90 ; absolute positioning
      G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

      ; Uncomment the following lines to lift Z after probing
      ;G91 ; relative positioning
      ;G1 Z18 F8000 ; lift Z relative to current position
      ;G90 ; absolute positioning

      ;FLAVOR:Marlin
      ;TIME:15708
      ;Filament used: 30.0079m
      ;Layer height: 0.32
      ;MINX:87.5
      ;MINY:87.5
      ;MINZ:0.32
      ;MAXX:212.5
      ;MAXY:212.5
      ;MAXZ:99.84
      ;Generated with Cura_SteamEngine 4.8.0
      M140 S45
      M105
      M190 S45
      M104 S210
      M105
      M109 S210
      M82 ;absolute extrusion mode
      M201 X500.00 Y500.00 Z100.00 E5000.00 ;Setup machine max acceleration
      M203 X500.00 Y500.00 Z10.00 E50.00 ;Setup machine max feedrate
      M204 P500.00 R1000.00 T500.00 ;Setup Print/Retract/Travel acceleration
      M205 X8.00 Y8.00 Z0.40 E5.00 ;Setup Jerk
      M220 S100 ;Reset Feedrate
      M221 S100 ;Reset Flowrate

      G28 ;Home

      G92 E0 ;Reset Extruder
      G1 Z2.0 F3000 ;Move Z Axis up
      G1 X10.1 Y20 Z0.28 F5000.0 ;Move to start position
      G1 X10.1 Y200.0 Z0.28 F1500.0 E15 ;Draw the first line
      G1 X10.4 Y200.0 Z0.28 F5000.0 ;Move to side a little
      G1 X10.4 Y20 Z0.28 F1500.0 E30 ;Draw the second line
      G92 E0 ;Reset Extruder
      G1 Z2.0 F3000 ;Move Z Axis up

      G92 E0
      G92 E0
      G1 F2700 E-5
      ;LAYER_COUNT:312
      ;LAYER:0
      M107
      G0 F6000 X96.919 Y97.136 Z0.32
      ;TYPE:SKIRT
      G1 F2700 E0
      G1 F1200 X97.194 Y96.861 E0.05174
      G1 X97.565 Y96.502 E0.12042
      G1 X97.79 Y96.289 E0.16164
      G1 X98.257 Y95.859 E0.2461
      G1 X98.563 Y95.587 E0.30057

      Phaedruxundefined 3 Replies Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator @gabrealek
        last edited by Phaedrux

        @gabrealek said in New to the duet COMPLETE NEWBIE:

        M201 X500.00 Y500.00 Z100.00 E5000.00 ;Setup machine max acceleration
        M203 X500.00 Y500.00 Z10.00 E50.00 ;Setup machine max feedrate
        M204 P500.00 R1000.00 T500.00 ;Setup Print/Retract/Travel acceleration
        M205 X8.00 Y8.00 Z0.40 E5.00 ;Setup Jerk

        Delete these lines from your cura start gcode.

        @gabrealek said in New to the duet COMPLETE NEWBIE:

        ;FLAVOR:Marlin

        Also in Cura change your gcode flavour to REPRAP

        Also change cura to use relative extrusion while you're at it.

        Then reslice and try again.

        Z-Bot CoreXY Build | Thingiverse Profile

        gabrealekundefined 1 Reply Last reply Reply Quote 0
        • gabrealekundefined
          gabrealek @Phaedrux
          last edited by

          @Phaedrux I feel like such a nube, thanks again!! Im about to try now and keep you updated.

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

            Don't feel too bad, 3D printing is probably one of the most complicated hobbies you can pick up.

            Z-Bot CoreXY Build | Thingiverse Profile

            gabrealekundefined 1 Reply Last reply Reply Quote 1
            • gabrealekundefined
              gabrealek @Phaedrux
              last edited by

              @Phaedrux Okay. . so it tried to print again . . but . the extruder isnt going up or down . .

              539DB6E5-06CC-41D5-8EDD-35C294C36488.jpeg

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

                @gabrealek said in New to the duet COMPLETE NEWBIE:

                M574 Z1 S1 P"!zstop" ; configure active-high endstop for low end on Z via pin !zstop

                Is your Z endstop the same as the other endstops? Your config has it as inverted signal, which could cause it to act as triggered even when it's not, meaning your homing is off.

                Does homeall work to move all axis to their endstops correctly? Are you then able to jog all axis around correctly?

                -x to the left, +x to the right, -y moves head to front of bed, +y moves head back, -z moves nozzle towards bed, +z moves nozzle away from bed.

                Z-Bot CoreXY Build | Thingiverse Profile

                gabrealekundefined 1 Reply Last reply Reply Quote 0
                • gabrealekundefined
                  gabrealek @Phaedrux
                  last edited by

                  @Phaedrux im not able to move to any - axis. I was able to this morning and i havent unplugged anything. Should i go into my config and change that?

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

                    @gabrealek said in New to the duet COMPLETE NEWBIE:

                    G1 H2 X5 Y5 F480000 ; go back a few mm

                    In your homeall can you change this line from G1 H2 to remove the H2 completely?

                    What does it do when you tell it to home all?
                    Does it move towards the endstops?

                    I'm not sure what you mean by not able to move to any - axis.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    gabrealekundefined 1 Reply Last reply Reply Quote 0
                    • gabrealekundefined
                      gabrealek @Phaedrux
                      last edited by

                      @Phaedrux whew . . Uhm so i went and took the "!" from in front of the zstop

                      M574 Z1 S1 P"zstop" ; configure active-high endstop for low end on Z via pin zstop

                      and now i'm able to move everything accordingly. It wouldn't let me use any of the negative machine movements. I dont know why it inverted it like that. . Do you think i should still go and remove the H2?

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

                        Yes, still remove the H2. Glad that ! took care of the homing.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        gabrealekundefined 1 Reply Last reply Reply Quote 0
                        • gabrealekundefined
                          gabrealek @Phaedrux
                          last edited by

                          @Phaedrux i took off the H2 and it wouldnt let me home all it gave me

                          G28
                          Error: G0/G1: insufficient axes homed

                          I put it back on and homed all again and it homed correctly . . . idk whats going on.

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

                            That's kind of why H2 shouldn't be in there. H2 will let it proceed even if there is a problem.

                            Looking at the printer from the front (so that the bed motor is at the rear) the 0,0 origin point should be the front left of the bed. -x should move to the left etc as I mentioned above.

                            We can test this without trying to home the printer first. Turn off the printer, move the print head and bed to the center point. Now turn the printer on and send g92 x150 y150 z1. Now you should be able to jog the axis around with the buttons to test that they move in the correct directions.

                            Then we need to know where the endetops are physically located on the cr10. IF it matches the ender3 the x should be on the left and y at the back by the motor. Is that right?

                            Then send m119 to get the status of the endstops. They should all say not triggered. And when you press them and send m119 it should say triggered.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            gabrealekundefined 5 Replies Last reply Reply Quote 0
                            • gabrealekundefined
                              gabrealek @Phaedrux
                              last edited by

                              @Phaedrux

                              ; homeall.g
                              ; called to home all axes
                              ;
                              ; generated by RepRapFirmware Configuration Tool v3.2.1 on Tue Jan 19 2021 17:33:25 GMT-0500 (Eastern Standard Time)
                              G91 ; relative positioning
                              G1 H2 Z18 F480000 ; lift Z relative to current position
                              G1 H1 X-305 Y-305 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
                              G1 H2 X5 Y5 F480000 ; go back a few mm
                              G1 H1 X-305 Y-305 F3600 ; move slowly to X and Y axis endstops once more (second pass)
                              G1 H1 Z-405 F3600 ; move Z down stopping at the endstop
                              G90 ; absolute positioning
                              G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

                              ; Uncomment the following lines to lift Z after probing
                              ;G91 ; relative positioning
                              ;G1 Z18 F8000 ; lift Z relative to current position
                              ;G90 ; absolute positioning

                              So just the first H2 right?

                              Phaedruxundefined 1 Reply Last reply Reply Quote 0
                              • gabrealekundefined
                                gabrealek @Phaedrux
                                last edited by

                                @Phaedrux
                                1/21/2021, 4:54:38 PM m119
                                Endstops - X: not stopped, Y: not stopped, Z: at min stop, Z probe: at min stop

                                1 Reply Last reply Reply Quote 0
                                • gabrealekundefined
                                  gabrealek @Phaedrux
                                  last edited by

                                  @Phaedrux
                                  yes. Z is still triggered .
                                  😞

                                  gabrealekundefined 1 Reply Last reply Reply Quote 0
                                  • gabrealekundefined
                                    gabrealek @gabrealek
                                    last edited by

                                    @gabrealek

                                    Endstops - X: not stopped, Y: at min stop, Z: at min stop, Z probe: at min stop

                                    Y is triggered but Z is not at the moment and it still reads as "triggered". .

                                    1 Reply Last reply Reply Quote 0
                                    • gabrealekundefined
                                      gabrealek @Phaedrux
                                      last edited by

                                      @Phaedrux They are all moving correctly . im about to move it to the center to see if its still triggered. .

                                      m119
                                      Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: at min stop

                                      YAYYYYYY

                                      1 Reply Last reply Reply Quote 0
                                      • gabrealekundefined
                                        gabrealek @Phaedrux
                                        last edited by gabrealek

                                        @Phaedrux
                                        1/21/2021, 5:04:08 PM G28
                                        Error: G0/G1: insufficient axes homed

                                        Does this mean i have to home them all individually at this point?

                                        G1 (H1) Z18 F480000 ; lift Z relative to current position
                                        would this work?

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

                                          @gabrealek said in New to the duet COMPLETE NEWBIE:

                                          So just the first H2 right?

                                          Nope, just the one for the XY axis move. G1 H2 X5 Y5 F480000 ; go back a few mm

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          gabrealekundefined 1 Reply Last reply Reply Quote 0
                                          • gabrealekundefined
                                            gabrealek @Phaedrux
                                            last edited by gabrealek

                                            @Phaedrux So do i change the value for F480000?
                                            As in go back a few MM i took it down to

                                            G91 ; relative positioning
                                            G1 Z18 F480000 ; lift Z relative to current position
                                            G1 H1 X-300 Y-300 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
                                            G1 H2 X5 Y5 F480000 ; go back a few mm
                                            G1 H1 X-300 Y-300 F3600 ; move slowly to X and Y axis endstops once more (second pass)
                                            G1 H1 Z-400 F3600 ; move Z down stopping at the endstop
                                            G90 ; absolute positioning
                                            G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

                                            So now when i try to homeall i cannot, it gives me

                                            G28
                                            Error: G0/G1: insufficient axes homed

                                            So now its

                                            G91 ; relative positioning
                                            G1 Z18 F480000 ; lift Z relative to current position
                                            G1 H1 X-300 Y-300 F3000 ; move quickly to X and Y axis endstops and stop there (first pass)
                                            G1 X5 Y5 F480000 ; go back a few mm
                                            G1 H1 X-300 Y-300 F3600 ; move slowly to X and Y axis endstops once more (second pass)
                                            G1 H1 Z-400 F3600 ; move Z down stopping at the endstop
                                            G90 ; absolute positioning
                                            G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

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