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

    Z endstop

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    3
    810
    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.
    • ronnien58undefined
      ronnien58
      last edited by

      Needs some help, I have read the documentation and i am having trouble making it work. Here is what I have in the config:
      M111 S0 ; Debug off
      M550 MyDuet ; Machine name (can be anything you like)
      M551 Preprap ; Machine password (currently not used)
      ;*** 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 (hexadecimal)

      ;*** Wifi Networking
      M552 S1 ; Enable WiFi

      M555 P2 ; Set output to look like Marlin
      M575 P1 B57600 S1 ; Comms parameters for PanelDue
      ; Movement Section

      M569 P0 S0 ; X axis direction
      M569 P1 S0 ; Y axis direction
      M569 P2 S0 ; Z axis direction
      M569 P3 S1 ; Extruder Drive 0
      M569 P4 S1 ; Extruder Drive 1
      M574 X1 Y1 Z1 S0 ; set endstop configuration (X and Y endstop only, at low end, active high)
      M906 X800 Y800 Z800 E1000 ; Set motor currents (mA)
      M201 X800 Y800 Z15 E1000 ; Accelerations (mm/s^2)
      M203 X15000 Y15000 Z100 E3600 ; Maximum speeds (mm/min)
      M566 X600 Y600 Z30 E20 ; Minimum speeds mm/minute
      M208 X304 Y304 Z250 ; set axis maxima (adjust to suit your machine)
      M208 X0 Y0 Z0 S1 ; set axis minimum (adjust to make X=0 the edge of the bed)
      M92 X87.4890 Y87.4890 Z4000 ; Set axis steps/mm
      M92 E420:420
      ;M92 E420 ; Set extruder steps per mm (single nozzle)M92 E420:420 ; Set extruder steps/mm (dual nozzle)
      M350 X16 Y16 E16 I1 ; Set 16x microstepping with interpolation
      G21 ; Work in millimetres
      G90 ; Send absolute coordinates…
      M83 ; ...but relative extruder moves

      ; Probe Section
      ;P4 X0 Y0 Z1 H3 F200 T5000 ; smart IR Z probe, used for homming Z axis dive height 3mm, probe speed 200mm/min travel speed 5000mm/min
      ;G31 X11.0 Y0.5 Z1.2 P500 ; Set the probe height and threshhold (put your own values here)
      ;*** If you have a modulated IR probe with on-board microcontroller, change P2 to P1 in the following
      ;M558 P1
      ; Use a simple modulated Z probe (change to P1 for an intelligent Z probe)
      ;G31 Z0 P959 ; Set the probe height and threshold (put your own values here)

      ; Heater and thermistor section
      ;*** If you have a Duet board with 1K thermistor series resistors, change R4700 to R1000 to the following M305 commands
      M305 P0 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
      M305 P1 R4700 T100000 B4388 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
      M305 P2 R4700 T100000 B4388 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction

      ; Tool definition section

      M563 P0 D0 H1 ; Define tool 0 to use extruder drive 0 and heater 1
      G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
      ;*** If you have a dual-nozzle build, remove or comment out the previous line, and un-comment the following 3 lines
      M563 P1 D1 H2 ; Define tool 1
      G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures

      ; Bed probe section (not needed if you us a bed.g file
      ;*** Adjust the XY coordinates in the following M557 commands to suit your build and the position of the IR sensor
      M557 P0 X60 Y0 ; Four...
      M557 P1 X60 Y165 ; ...probe points...
      M557 P2 X222 Y165 ; ...for bed...
      M557 P3 X222 Y0 ; ...levelling
      ;M557 P4 X141 Y82.5 ; 5th probe point for levelling (un-comment this if you are using a dc42 differential IR probe)
      ;*** if you are using axis compensation, put the figures in the following command
      ;M556 S78 X0 Y0 Z0 ; Axis compensation here

      ;
      T0 ; select first hot end

      Here is Z homing:
      91
      G1 Z4 F200
      G90
      G1 X45 Y70 F2000
      G30
      G1 Z-200 S1 F100

      Am I missing something?

      1 Reply Last reply Reply Quote 0
      • StephenRCundefined
        StephenRC
        last edited by

        G30 is for a probe., remove it. It should use the same method as x& y.

        1 Reply Last reply Reply Quote 0
        • ronnien58undefined
          ronnien58
          last edited by

          Perfect, working fine thanks

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