Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    4 motor IDEX configuration problems

    Duet Hardware and wiring
    2
    5
    611
    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.
    • Sastas
      Sastas last edited by

      Dear all,
      I ran into several problems during the setup, but now its working. The machine is about 550x590x800 build size. 0,51 nm 2A NEMA17, dual head, 4 independent Z motors.
      The problem is, G32 not start autotune my Z rods. It does the probing and the web interface shows the correct map, but then its not start the autotune. Config file, bed and heightmap included.
      And photo attached from the board. And I didnt understand why motor mapping works like this. And the Zprobe was moved to the Zprobe input from the E endstop, because it dont want to work neither of the E endstop connectors.
      The Board:
      https://goo.gl/yP6Bxh

      The Config:

      [[language]]
      ; Configuration file for Duet WiFi (firmware version 1.17)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool on Fri Aug 25 2017 14:31:48 GMT+0200 (W. Europe Standard Time)
      
      ; General preferences
      M111 S0 ; Debugging off
      G21 ; Work in millimetres
      G90 ; Send absolute coordinates...
      M83 ; ...but relative extruder moves
      M555 P2 ; Set firmware compatibility to look like Marlin
      M208 X0 Y0 Z0 S1 ; Set axis minima
      M208 X550 Y590 Z800 S0 ; Set axis maxima
      M669 K0		;Carthesian
      
      ; Endstops
      M574 X1 Y1 Z2 S1 ; Define active high microswitches
      M558 P5 X0 Y0 Z1 H3 F200 T12000 R0.2 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
      G31 P600 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
      
      ; Drives
      M569 P0 S0 ; Drive 0 goes forwards X
      M569 P1 S1 ; Drive 1 goes forwards Y
      M569 P2 S1 ; Drive 2 goes forwards E0
      M569 P3 S0 ; Drive 3 goes backwards E1
      M569 P4 S1 ; Drive 4 goes forwards ?
      M569 P5 S1 ; Drive 5 goes forwards Z0
      M569 P6 S1 ; Drive 6 goes forwards Z1
      M569 P7 S1 ; Drive 7 goes forwards Z2
      M569 P8 S1 ; Drive 8 goes forwards Z3
      
      M584 X0 Y1 Z5:6:7:8 E3:4 	;Drive Maps
      
      M350 X16 Y16 Z16 E16:16 I1 ; Configure microstepping with interpolation
      M92 X80 Y80 Z1066.667 E420:420 ; Set steps per mm
      M566 X600 Y600 Z100 E100:100 ; Set maximum instantaneous speed changes (mm/min)
      M203 X18000 Y12000 Z600 E3000:3000 ; Set maximum speeds (mm/min)
      M201 X1500 Y1500 Z200 E250:250 ; Set accelerations (mm/s^2)
      M906 X1800 Y1800 Z1800 E1800:1800 I30 ; Set motor currents (mA) and motor idle factor in per cent
      M84 S20 ; Set idle timeout
      
      M557 X5:545 Y5:585 S80 ; Define mesh grid
      M671 X-45:625:625:-45 Y-40:-40:690:690 S5 P3
      
      ; Heaters
      M143 S390 ; Set maximum heater temperature to 390C
      M141 H7 ; Assign chamber heater to heater 0
      M301 H7 P-1 ; Set heater 7 to bang-bang mode
      M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
      M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
      M305 P2 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 2
      M305 P7 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 7
      
      ; Tools
      M563 P0 D0 H1 ; 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
      M563 P1 D1 H2 ; 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
      
      ; Network
      M550 PDuet ; Set machine name
      M551 P1234 ; Set password
      M552 S1 ; Enable network
      M587 SZyXEL P"12345678" ; Configure access point. You can delete this line once connected
      M586 P0 S1 ; Enable HTTP
      M586 P1 S0 ; Disable FTP
      M586 P2 S0 ; Disable Telnet
      
      ; Fans
      M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P1 S1 I0 F500 H1:2:7 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
      M106 P2 S1 I0 F500 H1:2:7 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
      
      ; Custom settings are not configured
      
      

      The Bed

      [[language]]
      G28
      
      G30 P0 X25 Y25 Z-99999
      G30 P1 X25 Y565 Z-99999
      G30 P2 X525 Y565 Z-99999
      G30 P3 X525 Y25 Z-99999 S4
      
      

      The heightmap:

      [[language]]
      RepRapFirmware height map file v1 generated at 2017-08-19 09:46, mean error 0.04, deviation 0.14
      xmin,xmax,ymin,ymax,radius,spacing,xnum,ynum
      5.00,545.00,5.00,585.00,-1.00,80.00,7,8
       -0.054,  0.003,  0.054, -0.027, -0.133, -0.207, -0.260
        0.136,  0.197,  0.295,  0.146, -0.039, -0.102, -0.135
        0.222,  0.267,  0.314,  0.218,  0.072,  0.026, -0.017
        0.195,  0.204,  0.216,  0.177,  0.112,  0.070,  0.035
        0.133,  0.151,  0.168,  0.152,  0.117,  0.070,  0.044
        0.064,  0.072,  0.102,  0.096,  0.068,  0.027, -0.010
       -0.025, -0.007,  0.030,  0.027, -0.004, -0.049, -0.104
       -0.117, -0.105, -0.088, -0.088, -0.139, -0.201, -0.243
      
      
      1 Reply Last reply Reply Quote 0
      • dc42
        dc42 administrators last edited by

        I don't see a M671 command in your config.g file. See Bed_levelling_using_multiple_independent_Z_motors.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • Sastas
          Sastas last edited by

          @dc42:

          I don't see a M671 command in your config.g file. See Bed_levelling_using_multiple_independent_Z_motors.

          Its after the Drives section and just before the Heaters.

          1 Reply Last reply Reply Quote 0
          • Sastas
            Sastas last edited by

            Problem solved after a firmware update. The Gcode page doesn't tell it, but its seems not working with 1.8.1. Updated to 1.9.2/1.9 and workinf beautifully.
            I have some wifi problems now, but I can live with that(duet doesnt really want to connect automatically to my router, and I have to start the wifi module manually)

            1 Reply Last reply Reply Quote 0
            • dc42
              dc42 administrators last edited by

              Thanks, I've updated the wiki to mention that you need firmware 1.19.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

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