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

    MakerGear M2 z issue/board Z drive?

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    17
    591
    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.
    • FuseDeepundefined
      FuseDeep
      last edited by

      To change Z axis drive to E1/4 is this the correct change (it has been some months since I touched any of this stuff); Do i need to do anything else, other than move stepper plug to correct output on board?

      ; Configuration file for Duet WiFi (firmware version 3.3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Apr 20 2022 11:07:59 GMT+0100 (British Summer Time)

      ; General preferences
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"DUET 0.6mm HB / Son.im" ; 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 forwards
      M569 P1 S1 ; physical drive 1 goes forwards
      M569 P2 S0 ; physical drive 2 goes forwards
      M569 P3 S1 ; physical drive 3 goes forwards
      M584 X0 Y1 Z4 E3 ; set drive mapping (changed Z from 2 to drive motor 4 (E01)
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      M92 X88.89 Y88.89 Z400.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 Z180.00 E1200.00 ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z20.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 X200 Y250 Z185 S0 ; set axis maxima

      ; Endstops
      M574 X1 S1 P"!xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
      M574 Y1 S1 P"!ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop
      M574 Z1 S1 P"!zstop" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin zstop

      ; Z-Probe
      M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
      M557 X15:200 Y15:195 S20 ; define mesh grid

      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; 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 R0.227 K0.317:0.000 D10.46 E1.35 S1.00 B0
      ; enable 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"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
      M950 H1 C"e0heat" T1 ; 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

      ; Fans
      M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
      M106 P0 S0 H0 T40 ; set fan 0 value. Thermostatic control is turned on
      M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
      M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off

      ; Tools
      M563 P0 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 are not defined
      M552 S2

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @FuseDeep
        last edited by

        @FuseDeep thats correct.
        Also add an M569 line for P4 so you can match the settings for P2.
        Then just move the connection

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        FuseDeepundefined 1 Reply Last reply Reply Quote 0
        • FuseDeepundefined
          FuseDeep @jay_s_uk
          last edited by

          @jay_s_uk

          M569 P2 S0 ; physical drive 2 goes forwards

          replace w

          M569 P4 S0 ; physical drive 2 goes forwards

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @FuseDeep
            last edited by

            @FuseDeep yep

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            FuseDeepundefined 2 Replies Last reply Reply Quote 0
            • FuseDeepundefined
              FuseDeep @jay_s_uk
              last edited by

              @jay_s_uk thanks

              1 Reply Last reply Reply Quote 0
              • FuseDeepundefined
                FuseDeep @jay_s_uk
                last edited by

                @jay_s_uk Please remind me how to save a config. g file, I had a specific piece of software but can't find it now!

                And yes, I was awoken 0400 this morning by the wind and rain...

                jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                • jay_s_ukundefined
                  jay_s_uk @FuseDeep
                  last edited by

                  @FuseDeep are you not editing it though DWC?
                  otherwise notepad or something like that

                  Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                  FuseDeepundefined 1 Reply Last reply Reply Quote 0
                  • FuseDeepundefined
                    FuseDeep @jay_s_uk
                    last edited by

                    @jay_s_uk Thanks, I have notepad but can't find the G option in the drop down, is there a nack to it?

                    jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                    • jay_s_ukundefined
                      jay_s_uk @FuseDeep
                      last edited by

                      @FuseDeep you can right click and open with.
                      i use notepad++ and this UDL https://github.com/ComedianTF2/RepRapFirmware-UDL-For-Notepad

                      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                      FuseDeepundefined 1 Reply Last reply Reply Quote 0
                      • FuseDeepundefined
                        FuseDeep @jay_s_uk
                        last edited by

                        @jay_s_uk yes, no problem opening it. but when wanting to save as a congig.g file I can't see the G extension option in the save as....can't remeber what I did last time?

                        jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                        • jay_s_ukundefined
                          jay_s_uk @FuseDeep
                          last edited by

                          @FuseDeep just save? no need to save as

                          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                          1 Reply Last reply Reply Quote 0
                          • FuseDeepundefined
                            FuseDeep
                            last edited by

                            Hmmm

                            Have saved and checked the new config file and still have a weak as a kitten Z axis.

                            Please note, the set up worked perfectly for many months then suddenly became weak.

                            I replaced the entire Z stepper direct from makergear (the old z steppers were known to fail after a decade) and have checked continuity on all 4 stepper cables, all good.

                            This is now a new z stepper and re assigned as above, but with exact same weakness issue!!!!!!

                            What is the max current I can set for the duet wifi board for a stepper drive channel, maybe the z set up is stiffer and needs more power (only thing that makes sense)?

                            Cheers Richard

                            1 Reply Last reply Reply Quote 0
                            • FuseDeepundefined
                              FuseDeep
                              last edited by

                              I canged the z/E1 output MA from 800 to 1600 and it is much happier (0nly cost me 100gbp to not fix this!).

                              Seems it needed more current. will relube and see how she runs!

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