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

    Request Cartesian with cyclops system: 2 extruders and 1 hotend

    Scheduled Pinned Locked Moved
    Example setups and prints
    3
    23
    1.1k
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      How's this?

      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4092     ; 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 S150                                       ; set temperature limit for heater 0 to 150C
      M308 S1 P"e0temp" Y"thermistor" T100000 B4092      ; 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 S275                                       ; set temperature limit for heater 1 to 275C
      
      ; 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
      M950 F1 C"fan1" Q500                               ; create fan 1 on pin fan1 and set its frequency
      M106 P1 S1 H1 T45                                  ; set fan 1 value. Thermostatic control is turned on
      M950 F2 C"fan2" Q500                               ; create fan 2 on pin fan2 and set its frequency
      M106 P2 S1 H1:0 T45                                ; set fan 2 value. Thermostatic control is turned on
      
      ; 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
      M563 P1 D1 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
      

      Two tools, separate extruders, but shared heater.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • FelixHundefined
        FelixH
        last edited by FelixH

        Thanks a lot @Phaedrux . Actually today I had more time that I was anticipating and I was able to search a bit... I came up with a configuration much like you have posted. However it doesn't work for me somehow. The second extruder does not get recognized. When I boot up the console on the PanelDue reads something like this:

        Tool creation: Bad drive number
        

        I am on RRF3 on a Duet 2 WiFi

        Here is my whole config.g

        ; Configuration file for Duet WiFi (firmware version 3.11)
        ; executed by the firmware on start-up
        ;
        ; generated by RepRapFirmware Configuration Tool on Mon Feb 04 2019 17:03:09 GMT+0100 (Central European Standard Time)
        
        ; General preferences
        
        G90                                                ; Send absolute coordinates...
        M83                                                ; ...but relative extruder moves
        
        ;Panel Due Setup
        
        M575 P1 B57600 S1
        
        ; Network
        M550 P"FH-Dual"                                    ; Set machine name
        M552 S1                                            ; Enable network
        
        M586 P0 S1                                         ; Enable HTTP
        M586 P1 S0                                         ; Disable FTP
        M586 P2 S0                                         ; Disable Telnet
        
        ; Drives
        
        M569 P0 S1                                         ; Drive 0 goes forwards
        M569 P1 S1                                         ; Drive 1 goes forwards
        M569 P2 S0                                         ; Drive 2 goes forwards
        M569 P3 S1                                         ; Drive 3 goes backwards
        M569 P4 S1                                         ; Drive 4 goes backwards 
        
        M350 X16 Y16 Z16 E16 I1                       	  ; Configure microstepping with interpolation
        M92 X100.00 Y100.00 Z400.00 E408.3          	  ; Set steps per mm
        M566 X600.00 Y600.00 Z18.00 E300.00         	  ; Set maximum instantaneous speed changes (mm/min)
        M203 X10000.00 Y10000.00 Z1000.00 E3600.00 	  ; Set maximum speeds (mm/min)
        M201 X1500.00 Y1500.00 Z100.00 E10000.00 	  ; Set accelerations (mm/s^2)
        M906 X650.00 Y800.00 Z800.00 E800.00 I30  	  ; Set motor currents (mA) and motor idle factor in per cent
        M84 S30 
        
        ; Axis Limits
        
        M208 X0 Y-49.0 Z0 S1                               ; Set axis minima
        M208 X220 Y209 Z200 S0                             ; Set axis maxima
        
        ; Endstops
        
        M574 X1 S3                                         ; Motor Stall X Endstop
        M574 Y1 S3                                         ; Motor Stall Y Endstop
                                              
        
        M915 X Y S30 F0 R0				   ; Stall guard config when not homing
        
        
        
        M574 Z1 S2 	                                   ; Set endstops controlled by probe
        M558 P5 C"zprobe.in" I1 H5 F300 T6000   	   ; Set Z probe type to switch and the dive height + speeds
        
        G31 P500 X-23 Y7 Z0.35                             ; Set Z probe trigger value, offset and trigger height
                                                           ; The larger the number the closest it gets to the bed
                                                           ; i.e.  1.50 puts the nozzle closer to the bed than 1.20
        M557 X40:210 Y5:190 S20                            ; Define mesh grid
        
        
        ; Bed Heaters/Thermistors
        
        M308 S0 P"bedtemp" Y"thermistor" T100000 B4092 C0 R4700 	    ; Define thermistor
        M950 H0 C"bedheat" T0                                           ; Link pin name with heater
        M307 H0 B0 S1.00				                                ; Disable bang-bang mode for the bed heater and set PWM limit
        M140 H0								                            ; Links everything on the GUI
        M143 H0 S95                                              		; Set temperature limit for heater 0 to 95C
                                        
        
        ; HotEnd Heaters/Thermistors
        
        M308 S1 P"e0temp" Y"thermistor" T103944 B3943 C1.658e-7 R4700 	  ; Define thermistor
        M950 H1 C"e0heat" T1						                      ; Link pin name with heater
        M143 H1 S290							                          ; Set temperature limit for heater 1 to 290C
        
        
        ; Bed / HotEnd Autotunes
        
        M307 H1 A1048.7 C250.3 D10.3 V24.1 B0                ; Hotend Autotune  //Changed
        M307 H0 A112.6 C601.0 D1.0 V24.1                      ; Bed Autotune //Changed
        
        ; Fans
        M950 F0 C"fan0" Q500
        M106 P0 S0 H-1                        		   ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
        
        M950 F1 C"fan1" Q500
        M106 P1 S1 H1 T45                         	   ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                                                       ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
        
        ; Tools
        M563 P0 D0 H1                                      ; Define tool 0
        M563 P1 D1 H1                                      ; Define tool 1
        
        G10 P0 X0 Y0 Z0                                    ; Set tool 0 offsets
        G10 P0 S0 R0                                       ; Set tool 0 operating and standby temperatures
        
        G10 P1 X0 Y0 Z0                                    ; Set tool 1 offsets
        G10 P1 S0 R0                                       ; Set tool 1 operating and standby temperatures
        
        
        ; Automatic power saving
        M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss
        
        ; Custom settings are not configured
        
        T0
        
        

        If I add the settings for the second extruder to the lines 31 to 36, somehow the extruder 1 doesn't work when I try to extrude. It makes some sound and vibrates, but doesn't extrude. I read somewhere that if the settings are the same it can be skipped (?)

        Needles to say, the second extruder is plugged on Drive 4.

        I hope I can have this sorted out, it's a new printed build from scratch and my first attempt to double extrusion. I'm quite excited...

        Phaedruxundefined 2 Replies Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          What firmware are you using on the PanelDue? Might wanna try 3.2.10 that just came out along with 3.2.2 on the Duet.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @FelixH
            last edited by

            @FelixH said in Request Cartesian with cyclops system: 2 extruders and 1 hotend:

            M563 P1 D1 H1 ; Define tool 1

            I think the problem is that you have a second extruder drive defined in the tools, but you don't actually have a second extruder drive defined anywhere else.

            @FelixH said in Request Cartesian with cyclops system: 2 extruders and 1 hotend:

            M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation M92 X100.00 Y100.00 Z400.00 E408.3 ; Set steps per mm M566 X600.00 Y600.00 Z18.00 E300.00 ; Set maximum instantaneous speed changes (mm/min) M203 X10000.00 Y10000.00 Z1000.00 E3600.00 ; Set maximum speeds (mm/min) M201 X1500.00 Y1500.00 Z100.00 E10000.00 ; Set accelerations (mm/s^2) M906 X650.00 Y800.00 Z800.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • FelixHundefined
              FelixH
              last edited by

              I've just added the additional settings for the second extruder and still doesn't seem to work. On the web interface I cannot use the second extruder either.

              I don't think the PanelDue is to blame, but just for the sake of being up to date, I will update everything tomorrow

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator @FelixH
                last edited by

                @FelixH said in Request Cartesian with cyclops system: 2 extruders and 1 hotend:

                Tool creation: Bad drive number

                Do you still get the same error message after adding the drive details?

                The second drive would only be active when the second tool is selected. How are you trying to control it?

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • FelixHundefined
                  FelixH
                  last edited by

                  It is still not recognizing the additional tool. I was trying to select it by sending T1 to the console, which only greys-out the extrude/retract buttons on the web interface (even though I allowed cold extrusion).

                  I made a picture of the console on the panelDue:

                  IMG_3027.PNG

                  1 Reply Last reply Reply Quote 0
                  • FelixHundefined
                    FelixH
                    last edited by

                    UPDATE: just updated to 3.2.2 and nothing changed

                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by

                      Can you try copy and pasting the config sample I posted and trying that?

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • FelixHundefined
                        FelixH
                        last edited by FelixH

                        Just did, no change.

                        At this point I am wondering if it is at all possible a hardware error, like a bad crimped cable or something like that.

                        1 Reply Last reply Reply Quote 0
                        • Phaedruxundefined
                          Phaedrux Moderator
                          last edited by

                          Is it still giving error messages like shown on the paneldue?

                          Z-Bot CoreXY Build | Thingiverse Profile

                          1 Reply Last reply Reply Quote 0
                          • FelixHundefined
                            FelixH
                            last edited by

                            Yeah, but I have a new lead. Hold on

                            1 Reply Last reply Reply Quote 0
                            • FelixHundefined
                              FelixH
                              last edited by

                              So, when I turn on the printer a whole lot of error codes flashed on the PanelDue screen. It was so fast, I had to recorded with my phone with the Slow-Mo option. The errors are as follows:

                              Error in the macro file line 32 column 32: M350 array too long, max length = 1
                              Error in the macro file line 33 column 34: M92 array too long, max length = 1
                              Error in the macro file line 34 column 34: M566 array too long, max length = 1
                              Error in the macro file line 35 column 41: M203 array too long, max length = 1
                              Error in the macro file line 36 column 35: M201 array too long, max length = 1
                              Error in the macro file line 37 column 35: M906 array too long, max length = 1
                              

                              So I checked the documentation and I changed this snipped:

                              M350 X16 Y16 Z16 E16:16 I1                        ; Configure microstepping with interpolation
                              M92 X100.00 Y100.00 Z400.00 E408:408          	  ; Set steps per mm
                              M566 X600.00 Y600.00 Z18.00 E300:300         	  ; Set maximum instantaneous speed changes (mm/min)
                              M203 X10000.00 Y10000.00 Z1000.00 E3600:3600 	  ; Set maximum speeds (mm/min)
                              M201 X1500.00 Y1500.00 Z100.00 E10000:10000 	  ; Set accelerations (mm/s^2)
                              M906 X650.00 Y800.00 Z800.00 E800:800 I30  	  ; Set motor currents (mA) and motor idle factor in per cent
                              

                              for this one:

                              M350 X16 Y16 Z16 I1                  		      ; Configure microstepping with interpolation
                              M350 E16:16                        				  ; Configure microstepping with interpolation
                              M92 X100.00 Y100.00 Z400.00                 	  ; Set steps per mm
                              M92 E408:408          	                          ; Set steps per mm
                              M566 X600.00 Y600.00 Z18.00         	          ; Set maximum instantaneous speed changes (mm/min)
                              M566 E300:300         	                          ; Set maximum instantaneous speed changes (mm/min)
                              M203 X10000.00 Y10000.00 Z1000.00 	              ; Set maximum speeds (mm/min)
                              M203 E3600:3600 	                              ; Set maximum speeds (mm/min)
                              M201 X1500.00 Y1500.00 Z100.00 	                  ; Set accelerations (mm/s^2)
                              M201 E10000:10000 	                              ; Set accelerations (mm/s^2)
                              M906 X650.00 Y800.00 Z800.00 I30  	              ; Set motor currents (mA) and motor idle factor in per cent
                              M906 E800:800 I30  	                              ; Set motor currents (mA) and motor idle factor in per cent
                              

                              Unfortunatelly, however. Nothing changed.

                              1 Reply Last reply Reply Quote 0
                              • FelixHundefined
                                FelixH
                                last edited by FelixH

                                I have no M584 command. I think that's it. Going to see the documentation.

                                UPDATE: so, that was it. I had no M584 mapping command. I read it completely by chance while reviewing the M305 command... Anyway now it works as I expected on both the web interface and the PanelDue display.

                                Thanks for sticking with me @Phaedrux

                                1 Reply Last reply Reply Quote 0
                                • FelixHundefined
                                  FelixH
                                  last edited by

                                  If somebody lands on this thread looking for the same info as I was, here you have it. This is what did it after some headaches:

                                  ; Configuration file for Duet WiFi (firmware version 3.11)
                                  ; executed by the firmware on start-up
                                  ;
                                  ; generated by RepRapFirmware Configuration Tool on Mon Feb 04 2019 17:03:09 GMT+0100 (Central European Standard Time)
                                  
                                  ; General preferences
                                  
                                  G90                                                ; Send absolute coordinates...
                                  M83                                                ; ...but relative extruder moves
                                  
                                  ;Panel Due Setup
                                  
                                  M575 P1 B57600 S1
                                  
                                  ; Network
                                  M550 P"FH-Dual"                                    ; Set machine name
                                  M552 S1                                            ; Enable network
                                  
                                  M586 P0 S1                                         ; Enable HTTP
                                  M586 P1 S0                                         ; Disable FTP
                                  M586 P2 S0                                         ; Disable Telnet
                                  
                                  ; Drives
                                  
                                  M569 P0 S1                                         ; Drive 0 goes forwards
                                  M569 P1 S1                                         ; Drive 1 goes forwards
                                  M569 P2 S0                                         ; Drive 2 goes forwards
                                  M569 P3 S1                                         ; Drive 3 goes backwards
                                  M569 P4 S1                                         ; Drive 4 goes backwards 
                                  
                                  M584 X0 Y1 Z2 E3:4                                 ; Driver 0 controls the X motor, 1 controls Y, 2 controls Z motors, 3 and 4 control E motors 
                                  
                                  M350 X16 Y16 Z16 I1                  		      ; Configure microstepping with interpolation
                                  M350 E16:16                        				  ; Configure microstepping with interpolation
                                  M92 X100.00 Y100.00 Z400.00                 	  ; Set steps per mm
                                  M92 E408:408          	                          ; Set steps per mm
                                  M566 X600.00 Y600.00 Z18.00         	          ; Set maximum instantaneous speed changes (mm/min)
                                  M566 E300:300         	                          ; Set maximum instantaneous speed changes (mm/min)
                                  M203 X10000.00 Y10000.00 Z1000.00 	              ; Set maximum speeds (mm/min)
                                  M203 E3600:3600 	                              ; Set maximum speeds (mm/min)
                                  M201 X1500.00 Y1500.00 Z100.00 	                  ; Set accelerations (mm/s^2)
                                  M201 E10000:10000 	                              ; Set accelerations (mm/s^2)
                                  M906 X650.00 Y800.00 Z800.00 I30  	              ; Set motor currents (mA) and motor idle factor in per cent
                                  M906 E800:800 I30  	                              ; Set motor currents (mA) and motor idle factor in per cent
                                  M84 S30 
                                  
                                  ; Axis Limits
                                  
                                  M208 X0 Y-49.0 Z0 S1                               ; Set axis minima
                                  M208 X220 Y209 Z200 S0                             ; Set axis maxima
                                  
                                  ; Endstops
                                  
                                  M574 X1 S3                                         ; Motor Stall X Endstop
                                  M574 Y1 S3                                         ; Motor Stall Y Endstop
                                                                        
                                  
                                  M915 X Y S30 F0 R0				   ; Stall guard config when not homing
                                  
                                  
                                  
                                  M574 Z1 S2 	                                   ; Set endstops controlled by probe
                                  M558 P5 C"zprobe.in" I1 H5 F300 T6000   	   ; Set Z probe type to switch and the dive height + speeds
                                  
                                  G31 P500 X-23 Y7 Z0.35                             ; Set Z probe trigger value, offset and trigger height
                                                                                     ; The larger the number the closest it gets to the bed
                                                                                     ; i.e.  1.50 puts the nozzle closer to the bed than 1.20
                                  M557 X40:210 Y5:190 S20                            ; Define mesh grid
                                  
                                  
                                  ; Bed Heaters/Thermistors
                                  
                                  M308 S0 P"bedtemp" Y"thermistor" T100000 B4092 C0 R4700 	    ; Define thermistor
                                  M950 H0 C"bedheat" T0                                           ; Link pin name with heater
                                  M307 H0 B0 S1.00				                                ; Disable bang-bang mode for the bed heater and set PWM limit
                                  M140 H0								                            ; Links everything on the GUI
                                  M143 H0 S95                                              		; Set temperature limit for heater 0 to 95C
                                                                  
                                  
                                  ; HotEnd Heaters/Thermistors
                                  
                                  M308 S1 P"e0temp" Y"thermistor" T103944 B3943 C1.658e-7 R4700 	  ; Define thermistor
                                  M950 H1 C"e0heat" T1						                      ; Link pin name with heater
                                  M143 H1 S290							                          ; Set temperature limit for heater 1 to 290C
                                  
                                  
                                  ; Bed / HotEnd Autotunes
                                  
                                  M307 H1 A1048.7 C250.3 D10.3 V24.1 B0                ; Hotend Autotune  //Changed
                                  M307 H0 A112.6 C601.0 D1.0 V24.1                      ; Bed Autotune //Changed
                                  
                                  ; Fans
                                  M950 F0 C"fan0" Q500
                                  M106 P0 S0 H-1                        		   ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                                  
                                  M950 F1 C"fan1" Q500
                                  M106 P1 S1 H1 T45                         	   ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                                                                                 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                                  
                                  ; Tools
                                  M563 P0 D0 H1                                      ; Define tool 0
                                  M563 P1 D1 H1                                      ; Define tool 1
                                  
                                  G10 P0 X0 Y0 Z0                                    ; Set tool 0 offsets
                                  G10 P0 S0 R0                                       ; Set tool 0 operating and standby temperatures
                                  
                                  G10 P1 X0 Y0 Z0                                    ; Set tool 1 offsets
                                  G10 P1 S0 R0                                       ; Set tool 1 operating and standby temperatures
                                  
                                  
                                  ; Automatic power saving
                                  M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss
                                  
                                  ; Custom settings are not configured
                                  
                                  T0
                                  T1
                                  
                                  Phaedruxundefined 1 Reply Last reply Reply Quote 1
                                  • Phaedruxundefined
                                    Phaedrux Moderator @FelixH
                                    last edited by

                                    @FelixH said in Request Cartesian with cyclops system: 2 extruders and 1 hotend:

                                    M584 X0 Y1 Z2 E3:4

                                    🤘

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    o_lampeundefined 1 Reply Last reply Reply Quote 0
                                    • o_lampeundefined
                                      o_lampe @Phaedrux
                                      last edited by o_lampe

                                      @Phaedrux
                                      Just out of curiosity, now that the drive mapping is added, would it still be necessary to have separate jerk-, acceleration-, etc- setting for the second extruder?
                                      Is it even possible to have different settings?

                                      [OT]
                                      Like different steps/mm for a geared direct drive mixed with a remote Bowden extruder?
                                      mixed_chimera.jpg

                                      Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                      • FelixHundefined
                                        FelixH
                                        last edited by

                                        I will try to see if it still works if it has only half of the settings. I have no idea...

                                        Why wouldn‘t be possible to have different settings? What would be the point to have the possibility to set two settings if it wasn‘t?

                                        o_lampeundefined 2 Replies Last reply Reply Quote 0
                                        • o_lampeundefined
                                          o_lampe @FelixH
                                          last edited by

                                          @FelixH
                                          Right, it's just a bad gutt feeling.
                                          I remember, some settings had to be identical or be ignored if you set them different.

                                          1 Reply Last reply Reply Quote 0
                                          • FelixHundefined
                                            FelixH
                                            last edited by

                                            I've just checked. You can set separate settings. Actually I've just done it for the M92 command

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