Mixing Extruder with Internal and External Driver



  • Hello everybody!

    I spent most of my day today trying to configure Duet 2 wifi for a mixing extruder setup. I want to use one internal driver for E0 and one external driver through the CONN_LCD pins for E1.

    I followed the documentation for the drive mapping etc and I managed to get both of the motors moving.

    The problem is that the motor connected to the external driver doesn't behave properly.

    After trying every combination in the config I could imagine and reading any post I could find on the forums I read that it is not possible to combine internal and external drivers on the same axis. Is this true?

    If thats the case I guess I should drive both extruder motors through the CONN_LCD (drivers 9 and 10)



  • @Yiannis Whilst it may be true that one cannot combine internal and external drivers on the same axis, extruders are usually treated as individual axis. On the other hand, strange things might possibly happen if one then defines a tool using both internally and externally driven extruders.

    What exactly do you mean by (quote) " The problem is that the motor connected to the external driver doesn't behave properly". ?

    It might also be an idea if you post your config.g and also the firmware version that you are using.



  • @deckingman What exactly do you mean by (quote) " The problem is that the motor connected to the external driver doesn't behave properly". ?

    I mean that when i try to change the microstepping through :
    OLD : "M350 X16 Y16 Z16 E16:16 I1"
    NEW : "M350 X16 Y16 Z16 E16:2 I1"

    or steps per mm through :
    OLD : M92 X80.00 Y80.00 Z80.00 E292.24:141.73
    NEW : M92 X80.00 Y80.00 Z80.00 E292.24:500

    the motor at E1 behaves in the same way that it used to as if the changes didn't take any effect.

    Setting E292.24:141.73 or E292.24:500 makes no difference at all at the distance the motor travels for a movement of 100mm

    Here is my config.g V2.02 firmware

    ; Configuration file for factory testing Duet Ethernet and Wifi with V2.02 firmware
    
    *******************************************************************************************************************
    FOR TESTING ONLY! USE https://configurator.reprapfirmware.org/ to generate configuration files for your printer!
    *******************************************************************************************************************
    
    
    ; Communication and general
    M111 S0                            		; Debug off
    M550 PDuetTest					; Machine name and Netbios name (can be anything you like)
    M551 Preprap                   			; Machine password (used for FTP)
    
    *** Ethernet networking: The following lines are used for factory testing - PLEASE REMOVE THEM
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED		; MAC Address
    M552 P192.168.1.101				; IP address
    M554 P192.168.1.255				; Gateway
    M553 P255.255.255.0				; Netmask
    
    ;*** End of factory test lines to be removed
    
    M555 P2						; Set output to look like Marlin
    G21						; Work in millimetres
    G90						; Send absolute coordinates...
    M83						; ...but relative extruder moves
    
    ; Delta Settings
    M665 L440.000 R227.453 H455.2 B185.0 ; Delta base
    
    ; Network
    M550 P"Anycubic Predator"                     				; Set machine name
    M551 P""                         							; Set password
    M552 S1  	                        				; Enable network and acquire dynamic address via DHCP
    M586 P0 S1                                  				; Enable HTTP
    M586 P1 S0                                  				; Disable FTP
    M586 P2 S0                                  				; Disable Telnet
    
    ; Drives
    M584 E3:10
    M569 P0 S0                                  				; Drive 0 goes forwards
    M569 P1 S0                                  				; Drive 1 goes forwards
    M569 P2 S0                                  				; Drive 2 goes forwards
    M569 P3 S1                                  				; Drive 3 goes forwards
    M569 P4 S1                                  				; Drive 4 goes forwards
    M569 P10 S1                                  				; Drive 10 goes forwards
    M350 X16 Y16 Z16 E16:16 I1                     				; Configure microstepping with interpolation
    
    ;M92 X80.00 Y80.00 Z80.00 E520:252.2             			; Set steps per mm
    
    M92 X80.00 Y80.00 Z80.00 E292.24:141.73             			; Set steps per mm
    
    M566 X3000 Y3000 Z3000 E1000:1000    	            			; Set maximum instantaneous speed changes (mm/min)
    M203 X5000.00 Y5000.00 Z5000.00 E10000:10000 					; Set maximum speeds (mm/min)
    M201 X1000.00 Y1000.00 Z1000.00 E3000:3000   				; Set accelerations (mm/s^2)
    M906 X1650.00 Y1650.00 Z1650.00 E800:3000 I30 				; Set motor currents (mA) and motor idle factor in per cent
    
    M84 S30                                     				; Set idle timeout
    
    ; Retraction
    ;M207 S4.0 F5000 R-0.025 T2500 Z0.5							; Firmware retraction
    
    ; Axis Limits
    M208 Z0 S1                                  				; Set minimum Z
    
    ; Endstops
    M574 X2 Y2 Z2 S1                            				; Set active high endstops
    
    ; Z-Probe
    M558 P4 H5 F600 T9000                       				; Set Z probe type to switch and the dive height + speeds
    ;G31 P500 X0 Y0 Z16.0  
    G31 P500 X0 Y0 Z17.04                 					; Set Z probe trigger value, offset and trigger height
    M557 R115 S20                               				; Define mesh grid
    G29 S1									; Load the heightmap
    
    ; Heaters
    ;M307 H0 A137.8 C533.3 D1.5 V24.3 B0                       		; Disable bang-bang mode for the bed heater and set PWM limit
    ;M305 P0 T100000 B4300 C0 R4700                 				; Set thermistor + ADC parameters for heater 0
    ;M143 H0 S120                                				; Set temperature limit for heater 0 to 120C
    ;M305 P1 T100000 B4300 C0 R4700                 				; Set thermistor + ADC parameters for heater 1
    ;M143 H1 S240                                				; Set temperature limit for heater 1 to 240C
    
    ; Fans
    M106 P0 S0 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
    
    ; 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
    
    ; Automatic saving after power loss is not enabled
    
    ; Custom settings are not configured
    M572 D0 S0.1												; Pressure Advance
    ;M591 D0 P2 C4 S1											; Activate filament sensor
    M404 N1.75 													; Set for print monitor
    M592 D0 A0.07772 B-0.00029 									; Nonlinear extrusion. Set parameters for extruder drive 0
    
    ;Set Mixing Extruder
    M302 ; Allow cold extrusion
    M563 P0 D0:1 ; Define tool 3 (P3) to use all three extruders (D0:1:2) 
    M568 P0 S1 ; Enable mixing for tool 3
    M567 P0 E0.9:0.1 ; Set mixing ratio for tool 3.
    M913 E100:300 ; Set current of ram 
    
    
    ;*** Networking
    M552 S1						; Turn network on
    
    
    ; Miscellaneous
    M501                                               			; Load saved parameters from non-volatile memory
    
    

Log in to reply