Dual Y axis endstop Configuration

  • I have just bought a duet wifi + duex5 and in the process of configuring the motors on a custom built 3d printer. I have connected one Y endstop to the normal Y endstop on the duet2 wifi board and the other to the E2 endstop on the duex5. However, only the endstop connected to the duet 2 wifi mainboard triggers when contacted. How do I get both Y enstops to trigger? Here is an overview of my current motor & endstop settings?

    ; Drives
    M569 P0 S0 ; Physical drive 0 goes backwards
    M569 P1 S0 ; Physical drive 1 goes backwards
    M569 P2 S1 ; Physical drive 2 goes forwards
    M569 P3 S1 ; Physical drive 3 (extruder 0) goes forwards
    M569 P4 S1 ; Physical drive 4 (extruder 1) goes forwards
    M569 P5 S0 ; Physical drive 5 (E2 on duex 5) goes backwards
    M569 P6 S0 ; Physical drive 6 (E3 on duex 5) goes backwards
    M569 P7 S0 ; Physical drive 7 (E4 on duex 5) goes backwards
    M569 P8 S0 ; Physical drive 8 (E5 on duex 5) goes backwards
    M569 P9 S0 ; Physical drive 9 (E6 on duex 5) goes backwards
    M584 X0 Y1:5 Z2 E3:4 ;
    M350 X16 Y16 Z16 E16 I1 ; Configure 16x microstepping with interpolation to 256x
    M92 X80.00 Y80.00 Z4000.00 E93.00:93.00 ; Set steps per mm
    M566 X1200.00 Y1200.00 Z600.00 E300.00 ; Set maximum instantaneous speed changes (mm/min)
    M203 X30000.00 Y15000.00 Z5000.00 E3600.00 ; Set maximum speeds (mm/min)
    M201 X800.00 Y800.00 Z400.00 E3600.00 ; Set accelerations (mm/s^2)
    M906 X800.00 Y1000.00 Z800.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S60 ; Set idle timeout
    G21 ; Set units in mm
    G90 ;
    M83 ; Set extruders to relative positional mode

    ; Axis Limits
    M208 X0 Y0 S0 ; Set X & Y axis minima
    M208 Z0 S1 ; Set Z axis minima
    M208 X485 Y400 ; Set X & Y axis maxima
    M208 Z200 ; Set Y axis maxima

    ; Endstops
    M574 X1 Y1 Z0 S0 ; Set active low and disabled endstops (Change S1 to S0 if active low endstop)

    ; Z-Probe
    M574 Z1 S2 ; Set endstops controlled by Z probe
    M558 P5 X0 Y0 Z1 H2.5 F300 T5000 A3 ; Set Z probe type to NC switch and the dive height + speeds.
    G31 P500 X242.5 Y200 Z2 ; Set Z probe trigger value, offset and trigger height
    ;M557 X15:480 Y15:370 S25 P9:8 ; Define mesh grid (M557 no longer supported)
    ;G32 ; Probe Z and calculate Z plane
    ;G29 S0 ;

  • as far as i know the v2 Firmware does not support endstop remapping.
    you need the v3 firmware for it to work.

    but for normal operation you dont need max and min endstops at the same time.

  • administrators

    With RepRapFirmware 2, in order to support multiple motors with independent endstop switches on an axis, you need to remap one of the motors to a temporary additional axis while homing. See https://duet3d.dozuki.com/Guide/Independent+Z+motors+and+endstop+switches/18?lang=en.

    RepRapFirmware 3 supports this arrangement in a simpler way, you just declare the additional endstop switches using M574.

  • I currently have reprapfirmware 2.03 installed (just upgraded yesterday). I tried searching for the latest version and I keep getting redirected to v2.03. Is this what you are referring to as "v3 firmware"? If so, I will use option 2 (M574) command.

Log in to reply