using home swich as end stop



  • Hi all
    is there any command to use homing switch as an emergency stop or end stop In case if the machine hit the limit switch so I want the machine to stop moving for safety ?
    because right now my machine use the homing switch just to set 0,0,0 x,y,z position or what ever homing macro set for .
    machine type : Cartesian
    Duet Web Control 2.0.0-RC2 / RepRapFirmware 2.02(RTOS)


  • administrators

    Yes, see the M581 command.



  • thanks
    I try but something not go Right
    I put this code in config file
    ; Endstops
    M574 X2 Y2 Z2 S0
    M581 E0 T2 S0 C0
    and I create file name trigger2.g
    I put same code M581 E0 T2 S0 C0 and I put M 300 just to make sure it's work
    but when I sent command like G01F3000 Z100 the machine not stop and continue to Z 100 then after that the beep sound start



  • @dc42
    It's work
    with this code M581 E0 T1 S0 and paused the print and T0 make emergency stop


Log in to reply