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

    Dual Z independent setp

    Scheduled Pinned Locked Moved
    General Discussion
    1
    2
    719
    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.
    • flippnswitchezundefined
      flippnswitchez
      last edited by

      I am trying to setup the the Dual Z motors so they are independent. I plugged the 2nd motor in to my E1 space. What else am I missing to do? As only one motor is running.

      M667 S1                        ; Select CoreXY mode
      
      ; Network
      M550 PCrimReaper               ; Set machine name
      M552 S1                        ; Enable network
      M587 S"SD6 2.4" P"drakkar#99"  ; 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
      
      ; Drives
      M569 P0 S1; Drive 0 goes forwards  (X)
      M569 P1 S1; Drive 1 goes forwards  (Y)
      M569 P2 S0; Drive 2 goes backwards (Z1)
      M569 P3 S0; Drive 3 goes backwards (E0)
      M569 P4 S0; Drive 4 goes backwards  (Z2 in the E1)
      
      ;Dual Z
      M584 X0 Y1 Z2:4; Two Z motors connected to driver outputs 2 and 4 
      M671 X15:305 Y162:162 S0.5; leadscrews at mid left, and mid right
      
      M350 X32 Y32 Z32:32 E32 I1        ; Configure microstepping with interpolation
      M92 X160 Y160 Z2000 E160  ; Set steps per mm
      M566 X500 Y500 Z10 E420       ; Set maximum instantaneous speed changes (mm/min)
      M203 X3000 Y3000 Z180 E1200    ; Set maximum speeds (mm/min)
      M201 X500 Y500 Z4 E500       ; Set accelerations (mm/s^2)
      M906 X1000 Y1000 Z1000 E1000 I30   ; Set motor currents (mA) and motor idle factor in per cent
      M84 S5                         ; Set idle timeout
      
      ; Axis Limits
      M208 X0 Y0 Z0 S1               ; Set axis minima
      M208 X320 Y320 Z380 S0         ; Set axis maxima
      
      ; Endstops
      M574 X1 Y2 S0; Set active low endstops
      
      ; Z-Probe
      M574 Z1 S2
      M558 X0 Y0 Z1 P1 H5 F1000 T6000          ; Set Z probe type to unmodulated and the dive height + speeds
      G31 P490 X42 Y-20 Z0.138       ; Set Z probe trigger value, offset and trigger height
      M557 X15:305 Y15:305 S40       ; Define mesh grid
      
      ; Heaters
      M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
      M143 H0 S120                   ; Set temperature limit for heater 0 to 120C
      M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
      M143 H1 S280                   ; Set temperature limit for heater 1 to 280C
      
      ; 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 T45      ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
      M106 P2 S1 I0 F500 H1 T45      ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on
      
      ; Tools
      M563 P1 D0 H1                  ; 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
      
      ; Automatic saving after power loss is not enabled
      
      ; Custom settings are not configured
      
      ; Miscellaneous
      T1                             ; Select first tool 
      
       ; bed.g
      ; called to perform automatic bed compensation via G32
      ;
      ; generated by RepRapFirmware Configuration Tool on Tue Mar 20 2018 20:29:09 GMT-0400 (Eastern Daylight Time)
      
      M561 ; clear any bed transform
      G30
      G30 P0 X0 Y160 Z-99999; probe near a leadscrew 
      G30 P1 X320 Y160 Z-99999 s2; probe near a leadscrew and calibrate 2 motors
      G30 
      

      Tronxy X5S w? DuetWifi
      CTC

      1 Reply Last reply Reply Quote 0
      • flippnswitchezundefined
        flippnswitchez
        last edited by

        Helps if you have the jumpers in place haha

        Tronxy X5S w? DuetWifi
        CTC

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