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

only z motor tries to work

Scheduled Pinned Locked Moved
Duet Hardware and wiring
5
25
840
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
    Inno 3D
    last edited by 29 Jul 2020, 16:40

    Thanks for your reply!

    That's my config.g file:

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Sun Jul 12 2020 17:24:58 GMT+0200 (Mitteleuropäische Sommerzeit)
    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Inno 3D" ; set printer name
    ; Network
    M551 P"Inno3D" ; set password
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet
    ; Drives
    M569 P0 S1 ; physical drive 0 goes forwards
    M569 P1 S1 ; physical drive 1 goes forwards
    M569 P2 S1 ; physical drive 2 goes forwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M569 P4 S1 ; physical drive 4 goes forwards
    M569 P5 S1 ; physical drive 5 goes forwards
    M569 P6 S1 ; physical drive 6 goes forwards
    M584 X0 Y1:4 Z2:5:6 E3 ; set drive mapping
    M350 X16 Y16:16 Z16:16:16 E16 I1 ; configure microstepping with interpolation
    M92 X6400.00 Y5120.00:5120.00 Z5120.00:5120.00:5120.00 E420.00 ; set steps per mm
    M566 X900.00 Y900.00:900.00 Z12.00:12.00:12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00:6000.00 Z180.00:180.00:180.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00:500.00 Z20.00:20.00:20.00 E250.00 ; set accelerations (mm/s^2)
    M906 X2000 Y2000:2000 Z2000:2000:2000 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 X1500 Y2500 Z1500 S0 ; set axis maxima
    ; Endstops
    M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop
    M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop
    ; Z-Probe
    M950 S0 C"duex.pwm2" ; create servo pin 0 for BLTouch
    M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
    M557 X15:1485 Y15:2485 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 B1 S1.00 ; 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
    ; Fans
    M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
    M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
    ; Tools
    M563 P1 S"FAN" D0 H1 F0 ; define tool 1
    G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
    G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C
    ; Custom settings are not defined
    ; Miscellaneous
    M911 S22 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss

    board wiring

    motor wiring

    I hope, that you can work with this information!

    undefined 1 Reply Last reply 29 Jul 2020, 20:57 Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 29 Jul 2020, 20:43

      Driver 2 has 2 ports, but they are wired in series, so you cannot use it for 4 separate motors as it sounds like you are trying to do.

      Your photo shows you have some spare drivers left, so move the second motor on driver 2 to its own driver and replace it with the jumpers as indicated by @droftarts and then remap the Z axis to use 4 drivers in M584

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 30 Jul 2020, 10:50 Reply Quote 0
      • undefined
        droftarts administrators @Inno 3D
        last edited by 29 Jul 2020, 20:57

        @Inno-3D You have Z defined as drivers 2, 5 and 6. But, as I expected, you don't have anything connected to drivers 5 and 6 on the Duet. There are two motors connected to driver 8 and 9. And you have two motors on the Z driver. What is the specification of these motors?

        Your config.g shows why you're having problems with Z, and probably with your other motors as well. With 5120 steps per mm, and maximum speed of 180mm/m (3mm/s), your Z motors can't move fast enough. Even the accelerations and instantaneous speed changes settings are probably too high to allow the motor to move. Your steps per mm are peculiarly high; are you sure they are correct? What are the motors driving?

        Also, in your config.g you have many places where you have defined motor settings for each motor on the axis, eg
        M350 X16 Y16:16 Z16:16:16 E16 I1
        You can only define each motor on the E axis. For the other axes, only the first setting is used. The rest are ignored, and/or may even cause problems. Use these:

        M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
        M92 X6400.00 Y5120.00 Z5120.00 E420.00 ; set steps per mm
        M566 X900.00 Y900.00 Z12.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 X2000 Y2000 Z2000 E800 I30 ; set motor currents (mA) and motor idle factor in per cent

        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 Reply Quote 1
        • undefined
          Inno 3D @Phaedrux
          last edited by 30 Jul 2020, 10:50

          Many thanks for your response!

          @Phaedrux I will test it later when I'am at home.

          @droftarts Oh that's my fault, the two motors connected to driver 8 and 9 should be connected to driver 5 and 6. I will change it!

          Motor Specifications 1

          Motor Specifications 2

          This are brake motors but I defently know, that the brake is open, because i can rotate thim myself.

          I know that the motor rated current is 3 amps and the duet 2 wifi only provide 2,4 amps. Is it a problem, when the motor don't get 3 amps?

          Oh yes you are right the steps per mm are to high. I actually changed it.

          The z motors are driving a leadscrew with a picht from 5 mm and they have a gear ratio from 1:1,38. So I have 883,2 steps per mm.

          steps per mm calculator

          You can only define each motor on the E axis. For the other axes, only the first setting is used. The rest are ignored, and/or may even cause problems. Use these:

          Ok! I will use these part and change it at my config file.

          undefined 1 Reply Last reply 30 Jul 2020, 10:59 Reply Quote 0
          • undefined
            droftarts administrators @Inno 3D
            last edited by droftarts 30 Jul 2020, 10:59

            @Inno-3D the motor specification says these motors have an inductance of 11mH, which is very high. This will limit the speed. See https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors#Section_Inductance

            Use the EMF calculator here to work out the maximum speed you can drive these motors: https://www.reprapfirmware.org/
            I expect it won’t be very high. In the end, these motors may not be a good choice for this application.

            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 Reply Quote 0
            • undefined
              Inno 3D
              last edited by 30 Jul 2020, 11:53

              @droftarts I have hope I have used the right values. I have this calculated:

              EMF calculator.png

              Does it mean that the maximum speed is 17.1 mm/s?

              undefined 1 Reply Last reply 30 Jul 2020, 14:13 Reply Quote 0
              • undefined
                droftarts administrators @Inno 3D
                last edited by 30 Jul 2020, 14:13

                @Inno-3D can you show the motor settings? Because I’d expect the results to be much lower.

                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 Reply Quote 0
                • undefined
                  Inno 3D
                  last edited by 30 Jul 2020, 15:18

                  @droftarts here is a photo of the settings
                  which are hopefully right.

                  EMF calculator1.png

                  undefined 1 Reply Last reply 30 Jul 2020, 16:22 Reply Quote 0
                  • undefined
                    droftarts administrators @Inno 3D
                    last edited by 30 Jul 2020, 16:22

                    @Inno-3D the steps per mm is different from earlier? Which is correct? In reality, what the EMF calculator suggests is usually the absolute maximum. It’s best to set max speed a sensible amount below this.

                    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 Reply Quote 0
                    • undefined
                      Inno 3D
                      last edited by 30 Jul 2020, 20:52

                      @droftarts i think that the steps per mm above are correct, because I have used another steps per mm calculator an it said the same one like abobe.

                      Ok I will test it tomorrow and give feedback

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        Inno 3D
                        last edited by Inno 3D 31 Jul 2020, 09:18

                        @droftarts I changed the steps per mm and I have connected the motors to the right driver. Now It's working better but not corretly.

                        I tested to home all axis, the the z axis drove a little bit up and than the y axis shortly rotate.

                        But what is with the x axis? And why does y only shortly rotate? And why doesn't the z axis drive down? Do you know why?

                        I tested the connection cabel from the x motor and it works

                        I don't understand it!

                        Many thanks for your help!!!

                        ? 1 Reply Last reply 31 Jul 2020, 09:21 Reply Quote 0
                        • ?
                          A Former User @Inno 3D
                          last edited by 31 Jul 2020, 09:21

                          @Inno-3D said in only z motor tries to work:

                          And why does y only shortly rotate?

                          you'd probably need to post your homing files to be able to answer that.

                          and you have confirmed the endstops are working correctly?

                          undefined 1 Reply Last reply 31 Jul 2020, 09:29 Reply Quote 0
                          • undefined
                            Inno 3D @A Former User
                            last edited by 31 Jul 2020, 09:29

                            @bearer I've tested the endstops. When I put them, I get a signal. So I think, that they are working.

                            Here are my homin files:

                            homez.g homey.g homex.g homeall.g

                            undefined 1 Reply Last reply 31 Jul 2020, 09:44 Reply Quote 0
                            • undefined
                              droftarts administrators @Inno 3D
                              last edited by 31 Jul 2020, 09:44

                              @Inno-3D please post current config.g, and M122 after trying to home.

                              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

                              undefined 1 Reply Last reply 31 Jul 2020, 09:56 Reply Quote 0
                              • undefined
                                Inno 3D @droftarts
                                last edited by 31 Jul 2020, 09:56

                                @droftarts

                                My current config.g file:

                                ; Configuration file for Duet WiFi (firmware version 3)
                                ; executed by the firmware on start-up
                                ;
                                ; generated by RepRapFirmware Configuration Tool v3.1.3 on Sun Jul 12 2020 17:24:58 GMT+0200 (Mitteleuropäische Sommerzeit)
                                ; General preferences
                                G90 ; send absolute coordinates...
                                M83 ; ...but relative extruder moves
                                M550 P"Inno 3D" ; set printer name
                                ; Network
                                M551 P"Inno3D" ; set password
                                M552 S1 ; enable network
                                M586 P0 S1 ; enable HTTP
                                M586 P1 S0 ; disable FTP
                                M586 P2 S0 ; disable Telnet
                                ; Drives
                                M569 P0 S1 ; physical drive 0 goes forwards
                                M569 P1 S1 ; physical drive 1 goes forwards
                                M569 P2 S1 ; physical drive 2 goes forwards
                                M569 P3 S1 ; physical drive 3 goes forwards
                                M569 P4 S1 ; physical drive 4 goes forwards
                                M569 P5 S1 ; physical drive 5 goes forwards
                                M569 P6 S1 ; physical drive 6 goes forwards
                                M584 X0 Y1:4 Z2:7:8:9 E3 ; set drive mapping
                                M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
                                M92 X1104.00 Y883.20 Z883.20 E420.00 ; set steps per mm
                                M566 X900.00 Y900.00 Z12.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 X2000 Y2000 Z2000 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 X1500 Y2500 Z1500 S0 ; set axis maxima
                                ; Endstops
                                M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop
                                M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop
                                ; Z-Probe
                                M950 S0 C"duex.pwm2" ; create servo pin 0 for BLTouch
                                M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
                                G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
                                M557 X15:1485 Y15:2485 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 B1 S1.00 ; 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
                                ; Fans
                                M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
                                M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
                                ; Tools
                                M563 P1 S"FAN" D0 H1 F0 ; define tool 1
                                G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
                                G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C
                                ; Custom settings are not defined
                                ; Miscellaneous
                                M911 S22 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss

                                M122

                                M122
                                === Diagnostics ===
                                RepRapFirmware for Duet 2 WiFi/Ethernet version 2.03 running on Duet WiFi 1.02 or later + DueX5
                                Board ID: 08DLM-996RU-N8PS0-7JTDG-3SJ6N-TBB7R
                                Used output buffers: 4 of 24 (7 max)
                                === RTOS ===
                                Static ram: 25680
                                Dynamic ram: 94084 of which 0 recycled
                                Exception stack ram used: 348
                                Never used ram: 10960
                                Tasks: NETWORK(ready,524) HEAT(blocked,1236) DUEX(suspended,156) MAIN(running,3756) IDLE(ready,160)
                                Owned mutexes:
                                === Platform ===
                                Last reset 00:02:56 ago, cause: power up
                                Last software reset at 2020-07-31 11:08, reason: User, spinning module GCodes, available RAM 10960 bytes (slot 0)
                                Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
                                Error status: 0
                                Free file entries: 10
                                SD card 0 detected, interface speed: 20.0MBytes/sec
                                SD card longest block write time: 0.0ms, max retries 0
                                MCU temperature: min 26.7, current 31.9, max 32.0
                                Supply voltage: min 18.7, current 22.9, max 23.4, under voltage events: 0, over voltage events: 0, power good: yes
                                Driver 0: standstill, SG min/max 0/776
                                Driver 1: standstill, SG min/max 0/770
                                Driver 2: standstill, SG min/max not available
                                Driver 3: standstill, SG min/max not available
                                Driver 4: standstill, SG min/max 0/768
                                Driver 5: standstill, SG min/max not available
                                Driver 6: standstill, SG min/max not available
                                Driver 7: standstill, SG min/max not available
                                Driver 8: standstill, SG min/max not available
                                Driver 9: standstill, SG min/max not available
                                Date/time: 2020-07-31 11:55:50
                                Cache data hit count 678953335
                                Slowest loop: 4.24ms; fastest: 0.07ms
                                I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
                                === Move ===
                                Hiccups: 0, FreeDm: 169, MinFreeDm: 167, MaxWait: 160066ms
                                Bed compensation in use: none, comp offset 0.000
                                === DDARing ===
                                Scheduled moves: 5, completed moves: 5, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
                                === Heat ===
                                Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
                                === GCodes ===
                                Segments left: 0
                                Stack records: 1 allocated, 0 in use
                                Movement lock held by null
                                http is idle in state(s) 0
                                telnet is idle in state(s) 0
                                file is idle in state(s) 0
                                serial is idle in state(s) 0
                                aux is idle in state(s) 0
                                daemon is idle in state(s) 0
                                queue is idle in state(s) 0
                                autopause is idle in state(s) 0
                                Code queue is empty.
                                === Network ===
                                Slowest loop: 15.44ms; fastest: 0.00ms
                                Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
                                HTTP sessions: 1 of 8
                                - WiFi -
                                Network state is running
                                WiFi module is connected to access point
                                Failed messages: pending 0, notready 0, noresp 0
                                WiFi firmware version 1.23
                                WiFi MAC address ec:fa:bc:5b:45:8f
                                WiFi Vcc 3.37, reset reason Turned on by main processor
                                WiFi flash size 4194304, free heap 25832
                                WiFi IP address 192.168.178.69
                                WiFi signal strength -60dBm, reconnections 0, sleep mode modem
                                Socket states: 0 0 0 0 0 0 0 0
                                undefined 1 Reply Last reply 31 Jul 2020, 18:40 Reply Quote 0
                                • undefined
                                  Phaedrux Moderator @Inno 3D
                                  last edited by 31 Jul 2020, 18:40

                                  Your config file is for RRF3, but your installed firmware version is only 2.03.

                                  I would suggest you update your firmware.

                                  First you will need to update to 3.0 and then 3.1.1.

                                  First upload this zip file as is to the /sys folder.
                                  https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip

                                  Then upload this one.
                                  https://github.com/Duet3D/RepRapFirmware/releases/download/3.1.1/Duet2and3Firmware-3.1.1.zip

                                  Then start testing from there.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  undefined undefined 2 Replies Last reply 31 Jul 2020, 18:57 Reply Quote 1
                                  • undefined
                                    droftarts administrators @Phaedrux
                                    last edited by 31 Jul 2020, 18:57

                                    @Phaedrux well spotted!

                                    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 Reply Quote 0
                                    • undefined
                                      Inno 3D @Phaedrux
                                      last edited by 2 Aug 2020, 08:01

                                      @Phaedrux yes you are right!

                                      Now it's working!!!

                                      Many thanks for your help guys I'am so happy that it's working now!

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