Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Z-Probe Capacitive NPN recognized but not stopping Z-homing

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    3
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Kruemel68undefined
      Kruemel68
      last edited by

      Hello !

      I need some help
      I connected the Capacitive NPN Probe to E0 Endstop and it is recognized with M119 also E0 enstop LED lights up
      In the duet web control the Z probe is shown with value 1000 when sensor is triggered.:

      M119
      Endstops - X: not stopped, Y: not stopped, Z: at min stop, Z probe: at min stop

      But when homing Z the movement is not stopping when the min stop is triggered.

      My config.g is like this:


      ; Configuration file for RepRap Mendel 3
      ; RepRapPro Ltd
      ;
      ; Copy this file to config.g if you have a Mendel 3
      ; If you are updating a config.g that you already have you
      ; may wish to go through it and this file checking what you
      ; want to keep from your old file.
      ;
      M111 S0 ; Debug off
      M550 PRepRapPro Mendel 3 ; Machine name (can be anything you like)
      M551 Preprap ; Machine password (currently not used)
      M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0x14 ; MAC Address
      M552 P192.168.1.14 ; IP address
      M553 P255.255.255.0 ; Netmask
      M554 P192.168.1.1 ; Gateway
      M555 P2 ; Set output to look like Marlin
      G21 ; Work in millimetres
      G90 ; Send absolute corrdinates…
      M83 ; ...but relative extruder moves
      M558 P4 Y0 X0 Z1 I1 ; Use a capacitive NPN Z probe
      M574 X1 Y1 ; set endstop configuration (Y endstop only, at low end, active high)
      G31 Z0.1 P800 ; Set the probe height and threshold (deliberately too high to avoid bed crashes on initial setup)
      M906 X800 Y1000 Z800 E800 ; Set motor currents (mA)
      ;M305 P0 R4700 H0 L0 ; Set the heated bed thermistor series resistor to 4K7
      ;M305 P1 R4700 H0 L0 ; Set the hot end thermistor series resistor to 4K7
      ;M305 P2 R4700 H0 L0 ; Set the hot end thermistor series resistor to 4K7
      M569 P0 S1 ; Reverse the X axis
      M569 P3 S0 ; Reverse the Z axis
      M92 E660:660:660 ; Set extruder steps per mm
      G31 Z0.1 P600 ; Set the probe height and threshold (deliberately too high to avoid bed crashes on initial setup)
      M556 S78 X0 Y0 Z0 ; Put your axis compensation here
      M201 X3000 Y3000 Z150 E500 ; Accelerations (mm/s^2)
      M203 X15000 Y15000 Z100 E3600 ; Maximum speeds (mm/min)
      M566 X200 Y200 Z30 E20 ; Minimum speeds mm/minute
      M208 X-8 S1 ; Set axis minimum (adjust to make X=0 the edge of the bed)
      M208 X214 Y210 ; Set axis maxima (adjust to suit your machine)
      M563 P0 D0 H1 ; Define tool 0
      G10 P0 S-273 R-273 ; Set tool 0 operating and standby temperatures


      homez.g is:

      G91
      G1 Z5 F2000
      G90
      G1 X52 Y22
      G30
      G1 Z0 F1000


      Any idea ?

      Regards,

      Jörn

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by

        What do you have in your homeall.g and homez.g files? If you send a G30 command, does the head stop when the sensor is triggered?

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • Kruemel68undefined
          Kruemel68
          last edited by

          Hello,

          yes
          with G30 it stops

          homez is above in the thread added.
          homeall is :

          G91
          G1 Z5 F200
          G90
          G1 Y-240 X-300 F2000 S1
          G91
          G1 X3 Y3 F2000
          G1 X-10 Y-10 F200 S1
          G90
          G1 X60 Y0 F6000
          G30
          G1 Z5

          as soon i am moving the head to another position the z probe is no longer stopping the head…...

          using G30 in the console it works

          when used in script it isn't

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA