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

I could use some help

Scheduled Pinned Locked Moved
Duet Hardware and wiring
11
682
63.5k
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.
  • undefined
    fcwilt @A Former User
    last edited by 26 Jun 2022, 03:13

    @mac said in I could use some help:

    Reboot / reset the printer, and you will now be able to travel beyond the lints of the X and Y axes; if the axis limits are enabled, which is typically the case. The would be enabled by M564 S1, which I believe is the default state after reboot/reset. HMMMMMM, why would I go to all that trouble to define the boundaries, so I could go beyond them?

    I mentioned M564 H0 S0 so you could jog anywhere on any given axis while you determined the max travel for the axis.

    The point of the G92 X0 (or Y0) was just to set the current position for that end of the axis to 0 so when you moved to the other end the position displayed by the DWC would directly readout the max travel.

    There are other ways to determine the max travel, I was just trying to give you an example of using the DWC and some simply commands to do it.

    M564 S1 makes it so you cannot go beyond the boundaries set by M208.

    I did not go on to describing how to verify the operation of the endstop sensors and determine their actually position because I did not want to overload you with too much stuff.

    I just wanted to be sure we were both on the same page with what I had posted so far.

    Frederick

    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

    1 Reply Last reply Reply Quote 0
    • undefined
      fcwilt @A Former User
      last edited by 26 Jun 2022, 03:14

      @mac said in I could use some help:

      And it does work worth shite.

      Does or does not?

      Frederick

      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

      ? 1 Reply Last reply 26 Jun 2022, 03:22 Reply Quote 0
      • ?
        A Former User @fcwilt
        last edited by 26 Jun 2022, 03:22

        @fcwilt well, the X-axis is messed up, and the y axis is okay, I guess. But that shaking thing is creep pee!

        undefined 1 Reply Last reply 26 Jun 2022, 03:31 Reply Quote 0
        • undefined
          fcwilt @A Former User
          last edited by 26 Jun 2022, 03:31

          @mac said in I could use some help:

          the X-axis is messed up, and the y axis is okay, I guess. But that shaking thing is creep pee!

          We can figure that out.

          so I sent the command, and then I tried to move the print head. All it did was shake side to side,

          What command are you referring to?

          How did you try to move the print head?

          Frederick

          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

          ? 1 Reply Last reply 26 Jun 2022, 10:18 Reply Quote 0
          • ?
            A Former User @fcwilt
            last edited by 26 Jun 2022, 10:18

            @fcwilt I started by entering the command that allows you to move the axis without homing first.

            ? 1 Reply Last reply 26 Jun 2022, 10:22 Reply Quote 0
            • ?
              A Former User @A Former User
              last edited by 26 Jun 2022, 10:22

              @fcwilt and then I used the incremental buttons to move the X axis towards the end stop in the left side of the printer. It’s possible that when I pushed the “move X 10mm left,” the print head went side to side 10 times?

              ? 1 Reply Last reply 26 Jun 2022, 10:24 Reply Quote 0
              • ?
                A Former User @A Former User
                last edited by 26 Jun 2022, 10:24

                @fcwilt M564 H0 S0

                undefined ? 2 Replies Last reply 26 Jun 2022, 10:29 Reply Quote 0
                • undefined
                  droftarts administrators @A Former User
                  last edited by 26 Jun 2022, 10:29

                  @mac sounds more like a wire is loose on the X axis motor. Check your wiring.

                  Ian

                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                  ? 1 Reply Last reply 26 Jun 2022, 10:35 Reply Quote 0
                  • ?
                    A Former User @A Former User
                    last edited by droftarts 26 Jun 2022, 10:35

                    @mac

                    ; Configuration file for Duet 3 Mini 5+ (firmware version 3.3)
                    ; executed by the firmware on start-up
                    ;
                    ; generated by RepRapFirmware Configuration Tool v3.3.10 on Fri Jun 24 2022 15:21:44 GMT-0700 (Pacific Daylight Time)
                    ; General preferences
                    M575 P1 S1 B57600 ; enable support for PanelDue
                    G90 ; send absolute coordinates...
                    M83 ; ...but relative extruder moves
                    M550 P"Frankenstein's Cinderella" ; 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.0 S1 ; physical drive 0.0 goes forwards
                    M569 P0.1 S0 ; physical drive 0.1 goes backwards
                    M569 P0.2 S0 ; physical drive 0.2 goes backwards
                    M569 P0.3 S1 ; physical drive 0.3 goes forwards
                    M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping
                    M350 X32 Y32 Z32 E32 I1 ; configure microstepping with interpolation
                    M92 X80.00 Y80.00 Z4000.00 E420.00 ; 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 Z200.00 E250.00 ; set accelerations (mm/s^2)
                    M906 X600 Y600 Z600 E600 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 X220 Y220 Z240 S0 ; set axis maxima
                    ; Endstops
                    M574 X2 S1 P"io5.in" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin io5.in
                    M574 Y2 S1 P"io6.in" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin io6.in
                    M574 Z1 S2 ; configure Z-probe endstop for low end on Z
                    ; Z-Probe
                    M950 S0 C"io3.out" ; create servo pin 0 for BLTouch
                    M558 P9 C"io3.in" H5 F120 T3600 ; set Z probe type to bltouch and the dive height + speeds
                    G31 P500 X-42 Y-16 Z2.5 ; set Z probe trigger value, offset and trigger height
                    M557 X5:190 Y5:215 S10 ; define mesh grid
                    ; Heaters
                    M308 S0 P"temp0" Y"thermistor" T100000 B4092 ; configure sensor 0 as thermistor on pin temp0
                    M950 H0 C"out0" T0 ; create bed heater output on out0 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 S33 ; set temperature limit for heater 0 to 33C
                    M308 S1 P"temp1" Y"thermistor" T100000 B4092 ; configure sensor 1 as thermistor on pin temp1
                    M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
                    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
                    M143 H1 S100 ; set temperature limit for heater 1 to 100C
                    ; Fans
                    M950 F0 C"out3" Q500 ; create fan 0 on pin out3 and set its frequency
                    M106 P0 S1 H-1 ; set fan 0 value. Thermostatic control is turned off
                    M950 F1 C"out4" Q500 ; create fan 1 on pin out4 and set its frequency
                    M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
                    ; Tools
                    M563 P0 S"HotEnd" D0 H1 F0 ; define tool 0
                    G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
                    G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
                    ; Custom settings
                    M575 P1 S1 B57600
                    ; Miscellaneous
                    M501 ; load saved parameters from non-volatile memory
                    M911 S21 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @droftarts
                      last edited by 26 Jun 2022, 10:35

                      @droftarts will do, thanks. Mac

                      ? 1 Reply Last reply 26 Jun 2022, 10:39 Reply Quote 0
                      • ?
                        A Former User @A Former User
                        last edited by droftarts 26 Jun 2022, 10:39

                        @fcwilt

                        ; homeall.g
                        ; called to home all axes
                        ;
                        ; generated by RepRapFirmware Configuration Tool v3.3.10 on Fri Jun 24 2022 15:21:44 GMT-0700 (Pacific Daylight Time)
                        G91 ; relative positioning
                        G1 H2 Z5 F3600 ; lift Z relative to current position
                        G1 H1 X225 Y225 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
                        G1 H2 X-5 Y-5 F3600 ; go back a few mm
                        G1 H1 X225 Y225 F360 ; move slowly to X and Y axis endstops once more (second pass)
                        G90 ; absolute positioning
                        G1 X47 Y21 F3600 ; go to first bed probe point and home Z
                        G30 ; home Z by probing the bed
                        ; Uncomment the following lines to lift Z after probing
                        ;G91 ; relative positioning
                        ;G1 Z5 F60 ; lift Z relative to current position
                        ;G90 ; absolute positioning
                        ? 1 Reply Last reply 26 Jun 2022, 10:41 Reply Quote 0
                        • ?
                          A Former User @A Former User
                          last edited by droftarts 26 Jun 2022, 10:41

                          @droftarts

                          ; homex.g
                          ; called to home the X axis
                          ;
                          ; generated by RepRapFirmware Configuration Tool v3.3.10 on Fri Jun 24 2022 15:21:44 GMT-0700 (Pacific Daylight Time)
                          G91 ; relative positioning
                          G1 H2 Z5 F3600 ; lift Z relative to current position
                          G1 H1 X225 F1800 ; move quickly to X axis endstop and stop there (first pass)
                          G1 H2 X-5 F3600 ; go back a few mm
                          G1 H1 X225 F360 ; move slowly to X axis endstop once more (second pass)
                          G1 H2 Z-5 F3600 ; lower Z again
                          G90 ; absolute positioning
                          ? 1 Reply Last reply 26 Jun 2022, 10:43 Reply Quote 0
                          • ?
                            A Former User @A Former User
                            last edited by droftarts 26 Jun 2022, 10:43

                            @droftarts

                            ; homey.g
                            ; called to home the Y axis
                            ;
                            ; generated by RepRapFirmware Configuration Tool v3.3.10 on Fri Jun 24 2022 15:21:44 GMT-0700 (Pacific Daylight Time)
                            G91 ; relative positioning
                            G1 H2 Z5 F3600 ; lift Z relative to current position
                            G1 H1 Y225 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                            G1 H2 Y-5 F3600 ; go back a few mm
                            G1 H1 Y225 F360 ; move slowly to Y axis endstop once more (second pass)
                            G1 H2 Z-5 F3600 ; lower Z again
                            G90 ; absolute positioning
                            ? 1 Reply Last reply 26 Jun 2022, 10:45 Reply Quote 0
                            • ?
                              A Former User @A Former User
                              last edited by droftarts 26 Jun 2022, 10:45

                              @droftarts

                              ; homez.g
                              ; called to home the Z axis
                              ;
                              ; generated by RepRapFirmware Configuration Tool v3.3.10 on Fri Jun 24 2022 15:21:44 GMT-0700 (Pacific Daylight Time)
                              G91 ; relative positioning
                              G1 H2 Z5 F3600 ; lift Z relative to current position
                              G90 ; absolute positioning
                              G1 X47 Y21 F3600 ; go to first probe point
                              G30 ; home Z by probing the bed
                              ; Uncomment the following lines to lift Z after probing
                              ;G91 ; relative positioning
                              ;G1 Z5 F60 ; lift Z relative to current position
                              ;G90 ; absolute positioning
                              ? 1 Reply Last reply 26 Jun 2022, 11:08 Reply Quote 0
                              • ?
                                A Former User @A Former User
                                last edited by 26 Jun 2022, 11:08

                                @droftarts after reading through the code, I think you’re right. I did repair the red wire to X, so I’ll check that.

                                undefined undefined 3 Replies Last reply 26 Jun 2022, 14:22 Reply Quote 0
                                • undefined
                                  droftarts administrators @A Former User
                                  last edited by 26 Jun 2022, 14:22

                                  @mac Fixed your Gcode posts. You selected the 'list' format (three dots vertically next to three lines) rather than the 'code' format (like </>). You can also edit your posts to fix them; click the three blue vertical dots on the right of a post, next to the upvote/downvote buttons, and select edit.

                                  Ian

                                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                  ? 1 Reply Last reply 26 Jun 2022, 21:29 Reply Quote 0
                                  • undefined
                                    fcwilt @A Former User
                                    last edited by 26 Jun 2022, 14:25

                                    @mac said in I could use some help:

                                    after reading through the code, I think you’re right. I did repair the red wire to X, so I’ll check that.

                                    The symptoms you describe do suggest a stepper wiring issue.

                                    Frederick

                                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      droftarts administrators @A Former User
                                      last edited by 26 Jun 2022, 14:35

                                      @mac said in I could use some help:

                                      @droftarts after reading through the code, I think you’re right. I did repair the red wire to X, so I’ll check that.

                                      ... though usually if a phase was disconnected you would get an error. It's possible that the DWC jog buttons are just trying to move the axis too fast. Try sending something like G1 X10 F100 for a short, slow move. This should move the X axis 10mm at 100mm/min, so take 6 seconds.

                                      The default for the jog buttons is 6000mm/min, or 100mm/sec. If you want to change this, it's in System > Machine specific > General tab, under 'Machine specific > Feedrate for move buttons'.

                                      Ian

                                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                      ? 1 Reply Last reply 26 Jun 2022, 15:37 Reply Quote 1
                                      • ?
                                        A Former User @droftarts
                                        last edited by 26 Jun 2022, 15:37

                                        @droftarts Since my bed on the Y axis was behaving, I decided to change the X-motor's rotation to REVERSED also. When I tested it, that didn't go well the first time. I thought because I reversed the green and white endstop connector at the same time, that may have had something to do with the print head's back-and-forth behavior.

                                        So I left the X-motor reversed, and changed the endstop wiring back. Now, GRN is white, and i05.in is green. Because of that, the x-motor's behaving. It appears that it's limited movement to the left (where the endstop is), has to do with where the board thinks the left of the bed is.

                                        Can you tell me, once again, HOW to tell my board where the LEFT ENDSTOP for the X-AXIS is?

                                        I'll assume that the process is the same for the Y and Z axis, and go from there?

                                        Mac

                                        ? undefined 2 Replies Last reply 26 Jun 2022, 15:38 Reply Quote 0
                                        • ?
                                          A Former User @A Former User
                                          last edited by 26 Jun 2022, 15:38

                                          @droftarts Because the X, Y, and Z motors are seem to be happy being reversed, my assumption is A) the wiring to the main connectors is backwards, and B) I need to change the EXTRUDER motor to REVERSED as well?

                                          ? 1 Reply Last reply 26 Jun 2022, 15:41 Reply Quote 0
                                          52 out of 682
                                          • First post
                                            52/682
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA