Double endstop in Z



  • Hello,

    I have double motor in Z and I want to put double endstop, but I do not know where to connect the second motor, if I have to connect it to Driver 2 Z motor 2, or connect it to Driver 3 E0.

    If I connect it to E0, do I have to put the jumpers on Driver 2 Z engine 2 ????

    Where do I connect the second endstop ??

    My settings are trying and not going well:

    ***config.g:

    ; Configuration file for Duet WiFi (firmware version 1.21)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Sat Oct 20 2018 12:09:47 GMT+0200 (hora de verano de Europa central)

    ; Preferencias Generales
    G90 ; Enviar coordenadas absolutas...
    M83 ; ...pero se mueve el extrusor relatvo

    ; Red
    M550 PAnet E12 ; Nombre de la Maquina
    M552 S1 ; Habilitar la Red
    M586 P0 S1 ; Habilitar HTTP
    M586 P1 S0 ; Deshabilita FTP
    M586 P2 S0 ; Deshabilitar Telnet

    ;ESTABLECER MOTORES

    M584 X0 Y1 Z2:3 U9 E4 P3

    ; Drives
    M569 P0 S1 ; Drive 0 va hacia delante (X)
    M569 P1 S1 ; Drive 1 va hacia delante (Y)
    M569 P2 S0 ; Drive 2 va hacia detras (ZI)
    M569 P3 S0 ; Drive 3 va hacia detras (ZD)
    M569 P4 S0 ; Drive 4 va hacia detras (E)
    M350 X256 Y256 Z256 U256 I0 ; Configurar microstepping sin interpolación
    M350 E16 I1 ; Configurar microstepping con interpolación
    M92 X1595 Y1619 Z6464 U6464 E407 ; Fije los pasos por mm
    M566 X900 Y900 Z12 U12 E120 ; Establezca los cambios máximos instantáneos de velocidad (mm / min)
    M203 X5000 Y5000 Z180 U180 E3600 ; Establecer velocidades máximas (mm / min)
    M201 X300 Y300 Z20 U20 E300 ; Fije las aceleraciones (mm / s ^ 2)
    M906 X800 Y800 Z800 U800 E800 I30 ; Ajuste las corrientes del motor (mA) y el factor de ralentí del motor en porcentaje
    M84 S30 ; Establecer tiempo de espera inactivo

    ; Limites de ejes
    M208 X-5 Y-10 Z0 U0 S1 ; Establezca los ejes mínimos
    M208 X300 Y300 Z400 U400 S0 ; Establezca los ejes maximos

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

    ; Z-Probe
    M558 P5 H5 F120 T6000 ; Set Z probe type to switch and the dive height + speeds
    G31 P600 X0 Y0 Z0 U0 ; Set Z probe trigger value, offset and trigger height
    M557 X15:285 Y15:285 S20 ; Define mesh grid

    ; Heaters
    M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; Set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S285 ; Set temperature limit for heater 1 to 285C

    ; 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 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P2 S1 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off

    ; Tools
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 X0 Y0 Z0 U0 ; Set tool 0 axis offsets
    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

    ; Automatic power saving
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 U3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss

    M501

    ; Custom settings are not configured

    ****homez.g

    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool on Sat Oct 20 2018 12:09:47 GMT+0200 (hora de verano de Europa central)
    M584 Z2 U9
    G91 ; relative positioningG1 Z5 F6000 S2 ; lift Z relative to current position
    G1 S1 Z-405 U-405 F1800 ; move Z down until the endstop is triggered
    G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
    M584 Z2:3 U9

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 S2 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute po

    ***homeall.g

    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool on Sat Oct 20 2018 12:09:47 GMT+0200 (hora de verano de Europa central)
    M584 Z2 U9
    G91 ; relative positioningG1 Z5 F6000 S2 ; lift Z relative to current position
    G1 S1 Z-405 U-405 F1800 ; move Z down until the endstop is triggered
    G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
    M584 Z2:3 U9

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 S2 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute po

    Muchas gracias por la ayuda



  • @juanmena said in Double endstop in Z:

    M584 X0 Y1 Z2:3 U9 E4 P3

    U9? I guess this should be U3. Also in homing files. Assuming your second Z motor is connected to drive 3 (E0) as well as second endstop connected to E0 endstop.



  • @aidar said in Double endstop in Z:

    is connected to drive 3 (E0) as well as second endstop connected to E0 endstop.

    121/5000
    I've already changed it and the engines work fine, but not for the endstop U. It does not recognize it, it does not do anything and it's connected to drive 3 (E0) as well as second endstop connected to E0 endstop.


  • administrators


 

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