Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Z probe is not ok

    Duet Hardware and wiring
    2
    3
    584
    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.
    • maxxou
      maxxou last edited by

      i am beginner in printer 3D
      i have a IR sensor DC42
      About 4 seconds after power is applied, i have the 4 flash
      the Z probe does not work in the duet web control: it don't stop for the Home Z
      Thanks for your help

      ; Configuration file for Duet WiFi (firmware version 1.17)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool on Sat Apr 22 2017 19:59:56 GMT+0200

      ; General preferences
      M111 S0 ; Debugging off
      G21 ; Work in millimetres
      G90 ; Send absolute coordinates…
      M83 ; ...but relative extruder moves
      M555 P1 ; Set firmware compatibility to look like RepRapFirmare

      M667 S1 ; Select CoreXY mode
      M208 X0 Y0 Z0 S1 ; Set axis minima
      M208 X300 Y290 Z300 S0 ; Set axis maxima

      ; Endstops
      M574 Z0 S0 ; Define active low and unused microswitches
      M574 X2 Y2 S1 ; Define active high microswitches
      M558 P1 X0 Y0 Z1 H5 F120 T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
      G31 P600 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
      M557 X15:285 Y15:285 S20 ; Define mesh grid

      ; Drives
      M569 P0 S1 ; Drive 0 goes backwards
      M569 P1 S0 ; Drive 1 goes backwards
      M569 P2 S1 ; Drive 2 goes forwards
      M569 P3 S1 ; Drive 3 goes forwards
      M350 X16 Y16 Z16 E16 I0 ; Configure microstepping without interpolation
      M92 X400 Y400 Z6400 E1674 ; Set steps per mm
      M566 X900 Y900 Z15 E120 ; Set maximum instantaneous speed changes (mm/min)
      M203 X6000 Y6000 Z200 E1200 ; Set maximum speeds (mm/min)
      M201 X500 Y500 Z30 E100 ; Set accelerations (mm/s^2)
      M906 X800 Y800 Z800 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; Heaters
      M143 S260 ; Set maximum heater temperature to 260C
      M140 H-1 ; Disable heated bed
      M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1

      ; 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

      ; Network
      M550 Pmaxprinter ; Set machine name
      M552 P192.168.0.109 S1 ; Enable network and set IP address
      M553 P255.255.255.0 ; Set netmask
      M554 P192.168.0.??? ; Set gateway

      ; Fans
      M106 P0 S1 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
      M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
      M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

      ; Custom settings are not configured

      ; Miscellaneous
      T0 ; Select first tool

      ; homez.g
      ; called to home the Z axis
      ;
      ; generated by RepRapFirmware Configuration Tool on Sat Apr 22 2017 19:59:56 GMT+0200

      ; Lift Z relatively to current position
      G91
      G1 Z5 F6000

      ; Back to absolute positioning
      G90

      ; Go to first bed probe point and home the Z axis
      G1 X150 Y150 F6000
      G30

      ; Uncomment the following lines to lift Z after probing
      ;G91
      ;G1 Z5 F100
      ;G90

      ; homeall.g
      ; called to home all axes
      ;
      ; generated by RepRapFirmware Configuration Tool on Sat Apr 22 2017 19:59:56 GMT+0200

      ; Relative positioning
      G91

      ; Lift Z
      G1 Z5 F6000

      ; Course home X or Y
      G1 X305 Y305 F1800 S1
      ; Course home X
      G1 X305
      ; Course home Y
      G1 Y305

      : Move away from the endstops
      G1 X-5 Y-5 F6000

      ; Fine home X
      G1 X305 F360 S1
      ; Fine home Y
      G1 Y305 S1

      ; Absolute positioning
      G90

      ; Go to first bed probe point and home Z
      G1 X150 Y150 F6000
      G30

      ; Uncomment the following line to lift the nozzle after probing
      ;G1 Z5 F100

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

        This line is the problem:

        G31 P600 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height

        As stated in the fitting instructions, you must always use a P parameter of 500 in the G31 command when using the IR sensor.

        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
        • maxxou
          maxxou last edited by

          i must to declare my Z endstop (ir sensor) in the M574 command in config.g ?
          yet i don't have microswitch, it's not clear

          ok thanks DC42

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