two Y motors with separate endstops

  • Hi

    I have a printer with two motors on the y axis each of them has a endstop. One of this motors and endstops connected to the duex5 E2. I have mapped the motors together in the config.

    When i homing the Y axis both motors beginn working correctly but only this on how is connected to the duet board directly is stoping when the endstop is hitted.


    ; Configuration file for testing Duet Ethernet and Wifi with V1.19 firmware

    FOR TESTING ONLY! USE 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)
    ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address

    ;*** Networking
    M552 S1 ; Turn network on

    ;*** Ethernet networking: Adjust the IP address and gateway in the following 2 lines to suit your network
    M552 P192.168.88.100 ; (0 = DHCP)
    M554 P192.168.88.1 ; Gateway
    M553 P255.255.255.0 ; Netmask

    M555 P2 ; Set output to look like Marlin
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    ; Drives
    M569 P0 S0 ; Drive 0 goes backwards
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M569 P4 S1 ; Drive 4 goes forwards
    M569 P5 S1 ; Drive 5 goes forwards
    M584 X0 Y1:5 Z2 E3:4 U5 P5
    M350 X256 Y256:256 U256 Z256 I0 ; Configure microstepping without interpolation
    M350 E16:16 I1 ; Configure microstepping with interpolation
    M92 X10666.667 Y10666.667:10666.667 U10666.667 Z10666.667 E420:420 ; Set steps per mm
    M566 X900 Y900:900 U900 Z12 E120:120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X7200 Y7200:7200 U7200 Z180 E1200:1200 ; Set maximum speeds (mm/min)
    M201 X500 Y500:500 U500 Z500 E250:250 ; Set accelerations (mm/s^2)
    M906 X2000 Y2000:2000 U2000 Z2000 E800:800 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 U0 Z0 S1 ; Set axis minima
    M208 X322 Y259 U259 Z556 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y1 U1 Z2 S0 ; Set active low endstops

    ; Z-Probe
    ;M558 P0 H5 F120 T6000 ; Disable Z probe but set dive height, probe speed and travel speed
    M557 X15:307 Y15:244 S20 ; Define mesh grid

    ; Heaters
    M140 H-1 ; Disable heated bed
    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 H T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S1 I0 F500 H T45 ; Set fan 2 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


    ; homey.g
    ; called to home the Y axis
    ; generated by RepRapFirmware Configuration Tool on Tue Aug 07 2018 11:06:40 GMT+0200 (Central European Summer Time)
    G91 ; relative positioning
    M584 Y1 U5
    G1 Z5 F6000 S2 ; lift Z relative to current position
    G1 S1 Y-264 U-264 F1800 ; move quickly to Y axis endstop and stop there (first pass)
    G1 Y5 F6000 ; go back a few mm
    G1 S1 Y-264 U-264 F360 ; move slowly to Y axis endstop once more (second pass)
    G1 Z-5 F6000 S2 ; lower Z again
    M584 Y1:5
    G90 ; absolute positioning

    Thank you for any help

  • administrators

    The U endstop should be connected to the E0 endstop connector. Is that where you have connected it?

Log in to reply