Duex2 issues



  • Hi,

    I purchased a Duex2 a while back that I am just getting around to using and I am having a couple of issues.

    1. BLTouch isn't working when connected to the PWM connector.

      I had the BLTouch before the duex2. It was set up using the exact settings found in the guide here with the wires connected directly to the expansion header.

      I thought I would be able to plug the header into the PWM_5 and everything would continue to work, but that is not the case.

      I have checked the wiring multiple times and everything is correct. I checked for continuity between the PWM_5 signal pin and expansion pin 31 on the duex2 board. There was none, but I am not sure if there should be.

      I have tested connecting the wires back to the expansion header, and everything still works that way.

    2. Direction issues with Drive 6.

      I setup Bed levelling using multiple independent Z motors. The motors for Z1 and Z2 always spin the correct direction. The Z3 motor, which is connected to drive 6, will sometime spin in the opposite direction. When this happens the axis moves the correct distance, just in the wrong direction.

      This was tested by entering G1 S2 Z5 F10 into the gcode console. However, I haven't fully investigated this issue, I have not yet tried with a different cable, motor, or any other firmware configuration, but I thought it would be worth mentioning.

    Any help would be appreciated.

    Thank you


  • administrators

    @mfd said in Duex2 issues:

    Hi,

    I purchased a Duex2 a while back that I am just getting around to using and I am having a couple of issues.

    1. BLTouch isn't working when connected to the PWM connector.

    Make sure you have configured it to use the right GPIO pin (7) and disabled the correct heater (also 7), and replace the I1 parameter in the M280 commands by I0.

    The motors for Z1 and Z2 always spin the correct direction. The Z3 motor, which is connected to drive 6, will sometime spin in the opposite direction. When this happens the axis moves the correct distance, just in the wrong direction.

    • Check that your M906 command to set the motor currents comes after the M584 command in config.g, not before it.
    • Check that your M584 command lists the extruder driver numbers as well as the Z driver numbers.
    • If the above two items don't solve it, swap that Z motor and cable with another one, to see whether the problem stays with that motor+cable or stays with that driver.


  • Thank you!

    Making the configuration changes seems to have solved the motor direction issue, I will test this more once I can home Z.

    I was still using I1 in the M280 command, but after changing it I am still having the same issue. Here is the relevant configuration.

    config

    ; Endstops
    M574 Z0 S0 ; Define active low and unused microswitches
    M574 X1 Y1 S1 ; Define active high microswitches
    
    ;  BL Touch
    M307 H7 A-1 C-1 D-1 ;Disable heater 7 since it's being used to drive the bltouch servo. 
    M558 P5 X0 Y0 Z1 H5 F160 T6000 ; Set Z probe type to switch 
    G31 P25 X30 Y0 Z1.7 ; Set Z probe trigger value 
    

    deploy probe

    M280 P7 S10 I0
    

    retract probe

    M280 P7 S90 I0
    

    I also tried using heater 3 by replacing the 7 with 3 in the M307 and M280 commands.

    When deploying the probe I noticed that the LED indicator for the heater turns on and VIN is measurable across the heater output. Should that be the case?


  • administrators

    @mfd said in Duex2 issues:

    When deploying the probe I noticed that the LED indicator for the heater turns on and VIN is measurable across the heater output. Should that be the case?

    Yes that's normal, except the LED won't be very bright (less bright for deployprobe than for retractprobe) and VIN will only appear across the heater output terminals during the servo pulses.

    Have you checked that the 3 bltouch servo wires are connected correctly to the servo connector?



  • This is my working bltouch config on heater 3, check your wiring.

    ; Z-Probe
    M307 H3 A-1 C-1 D-1 ; DISABLE HEATER 3 FREE UP pwm CHANNEL 3 BLTOUCH
    M574 Z1 S2 ; Set Z endstop controlled by probe
    M558 P9 H5 F100 T2000 ; BLTOUCH Set Z probe type to unmodulated and the dive height + speeds
    G31 P25 X-29 Y-40 Z2.42 ; BLTOUCH Set Z probe trigger value, offset and trigger height, ;INCREASE VALUE WILL LOWER NOZZLE CLOSER TO THE BED, DECREASE THIS VALUE WILL RAISE THE NOZZLE FROM THE BED
    M557 X15:250 Y20:195 S20 ; Define mesh grid
    M376 H10 ; Set bed compensation taper



  • When I tried heater 3 the first time I was still using I1 instead of I0, so I tested this again and I was able to get it working with heater 3 and PWM1

    I tried heater 7 and PWM5 again, that still isn't working. I may test some of the other configurations just to see if this is isolated to that connector, but I don't have any plans to use heater 3, so I might just call it good as long as everything is working.

    Thanks!


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.