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

RRF 3 with piezo z probe not working

Scheduled Pinned Locked Moved
Firmware installation
2
8
321
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.
  • undefined
    Citystars
    last edited by 11 Jan 2021, 22:13

    Hi,

    i have the new firmware on my duet 2 wifi v3.2
    Changed all the settings for the new firmware but i can't get it to work with the piezo z probe.
    Im using the precision piezo on the extruder, it worked on the other firmware.
    When i touch the extruder i see in the web the value change from 0 to 1000.
    But the motor doesn't stop.
    Thats what i found on the wiki:
    https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_M558

    Here is my config.g

    ; Endstops
    M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop
    M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop
    M574 Z0 P"nil" ; no Z endstop switch, free up Z endstop input
    ; Z-Probe
    M558 P5 C"!zstop" H2 F120 T3000 ; Z probe connected to Z endstop input
    G31 P600 X0 Y0 Z-0.1
    M557 X25:280 Y25:270 S13 ; Define mesh grid

    Thank you

    undefined 1 Reply Last reply 11 Jan 2021, 22:34 Reply Quote 0
    • undefined
      Phaedrux Moderator @Citystars
      last edited by 11 Jan 2021, 22:34

      @Citystars said in RRF 3 with piezo z probe not working:

      it worked on the other firmware.

      What was the other firmware?

      @Citystars said in RRF 3 with piezo z probe not working:

      M574 Z0 P"nil"

      You can delete that line entirely.

      @Citystars said in RRF 3 with piezo z probe not working:

      M558 P5 C"!zstop" H2 F120 T3000

      Are you using G30 to test?

      What version of precision piezo is it? It's sometimes recommended to use M558 P8 instead.

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 11 Jan 2021, 22:40 Reply Quote 0
      • undefined
        Citystars @Phaedrux
        last edited by 11 Jan 2021, 22:40

        @Phaedrux

        Thank you for the fast reply
        The other version is was using was V2.02
        In the other version i was using

        ; Endstops
        M574 S1 ; Set active high endstops
        M574 X1 Y1 Z1 S0
        ; Z-Probe
        M558 P7 I1 H2 R1 F100 T1000 ; Set Z probe type to switch and the dive height + speeds
        G31 P600 X0 Y0 Z-0.05 ; Set Z probe trigger value, offset and trigger height

        Im using the Precision Piezo Orion kit.

        Not using the G30 to test.
        Just making sure the bed is low enough and homing Z axis and pressing on the extruder to see if it stops.

        Thank you

        undefined 1 Reply Last reply 11 Jan 2021, 22:44 Reply Quote 0
        • undefined
          Phaedrux Moderator @Citystars
          last edited by 11 Jan 2021, 22:44

          @Citystars said in RRF 3 with piezo z probe not working:

          Not using the G30 to test.
          Just making sure the bed is low enough and homing Z axis and pressing on the extruder to see if it stops.

          Ok, but how is it homing the Z axis?

          Post your homing files.

          Z-Bot CoreXY Build | Thingiverse Profile

          undefined 1 Reply Last reply 11 Jan 2021, 22:54 Reply Quote 0
          • undefined
            Citystars @Phaedrux
            last edited by 11 Jan 2021, 22:54

            @Phaedrux

            Im just using the home Z axis button on the web.
            They are standaard configurations from the RepRapFirmware Configuration Tool.

            ; homeall.g
            ; called to home all axes
            ;
            ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 11 2021 21:00:16 GMT+0100 (Midden-Europese standaardtijd)
            G91 ; relative positioning
            G1 H2 Z5 F6000 ; lift Z relative to current position
            G1 H1 X-305 Y-293 F1800 ; move quickly to X or Y endstop and stop there (first pass)
            G1 H1 X-305 ; home X axis
            G1 H1 Y-293 ; home Y axis
            G1 X5 Y5 F6000 ; go back a few mm
            G1 H1 X-305 F360 ; move slowly to X axis endstop once more (second pass)
            G1 H1 Y-293 ; then move slowly to Y axis endstop
            G1 H1 Z-385 F360 ; move Z down stopping at the endstop
            G90 ; absolute positioning
            G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
            ; Uncomment the following lines to lift Z after probing
            ;G91 ; relative positioning
            ;G1 Z5 F100 ; lift Z relative to current position
            ;G90 ; absolute positioning
            ; homex.g
            ; called to home the X axis
            ;
            ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 11 2021 21:00:16 GMT+0100 (Midden-Europese standaardtijd)
            G91 ; relative positioning
            G1 H2 Z5 F6000 ; lift Z relative to current position
            G1 H1 X-305 F1800 ; move quickly to X axis endstop and stop there (first pass)
            G1 X5 F6000 ; go back a few mm
            G1 H1 X-305 F360 ; move slowly to X axis endstop once more (second pass)
            G1 H2 Z-5 F6000 ; lower Z again
            G90 ; absolute positioning
            ; homey.g
            ; called to home the Y axis
            ;
            ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 11 2021 21:00:16 GMT+0100 (Midden-Europese standaardtijd)
            G91 ; relative positioning
            G1 H2 Z5 F6000 ; lift Z relative to current position
            G1 H1 Y-293 F1800 ; move quickly to Y axis endstop and stop there (first pass)
            G1 Y5 F6000 ; go back a few mm
            G1 H1 Y-293 F360 ; move slowly to Y axis endstop once more (second pass)
            G1 H2 Z-5 F6000 ; lower Z again
            G90 ; absolute positioning
            ; homez.g
            ; called to home the Z axis
            ;
            ; generated by RepRapFirmware Configuration Tool v3.2.1 on Mon Jan 11 2021 21:00:16 GMT+0100 (Midden-Europese standaardtijd)
            G91 ; relative positioning
            G1 H2 Z5 F6000 ; lift Z relative to current position
            G1 H1 Z-385 F1800 ; move Z down until the endstop is triggered
            G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
            ; Uncomment the following lines to lift Z after probing
            ;G91 ; relative positioning
            ;G1 Z5 F100 ; lift Z relative to current position
            ;G90 ; absolute positioning
            undefined 1 Reply Last reply 11 Jan 2021, 23:21 Reply Quote 0
            • undefined
              Phaedrux Moderator @Citystars
              last edited by 11 Jan 2021, 23:21

              @Citystars said in RRF 3 with piezo z probe not working:

              G1 H1 Z-385 F360 ; move Z down stopping at the endstop G90 ; absolute positioning G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

              Ok, there's your problem. the part that homes the Z axis is using endstop homing commands rather than the probe.

              In homeall change this

              G1 H1 Z-385 F360 ; move Z down stopping at the endstop
              G90 ; absolute positioning
              G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

              To this

              G1 X150 Y150 F6000 ; move probe to center of bed
              G30 ; probe for Z0

              Same for homez.

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • undefined
                Citystars
                last edited by 12 Jan 2021, 19:30

                @Phaedrux said in RRF 3 with piezo z probe not working:

                G1 X150 Y150 F6000 ; move probe to center of bed G30 ; probe for Z0

                Thank you the homing works now.
                I still have one question.

                Would this homing homingall.g be allright?

                G91 ; use relative positioning
                G1 H2 X0.5 Y-0.5 F10000 ; energise motors to ensure they are not stalled
                M400 ; make sure everything has stopped before we change the motor currents
                M913 X20 Y20 ; drop motor currents to 25%
                G1 H2 Z3 F5000 ; lift Z 3mm
                G1 H1 X-400 F3000 ; move left 400mm, stopping at the endstop
                G1 H1 Y-400 F3000 ; move left 400mm, stopping at the endstop
                G92 X0 Y0 ; set position x and y
                G1 X3 F300 ; move away from the endstops
                G1 Y3 F300 ; move away from the endstops
                G1 H1 X-10 ; fine home X
                G1 H1 Y-10 ; fine home X
                G90 ; back to absolute positioning
                G92 X0 Y0 ; set position x and y
                G1 X25 Y25 F300 ; go to position
                G92 X0 Y0 ; set position x and y
                M400 ; make sure everything has stopped before we reset the motor currents
                M913 X100 Y100 ; motor currents back to 100%
                G91 ; use relative positioning
                G1 X150 Y150 F6000 ; move probe to center of bed
                G30 ; probe for Z0
                G90 ; back to absolute positioning
                G1 X0 Y0 F1000 ; Park
                G1 Z0 F200 ; Park

                Thank you

                undefined 1 Reply Last reply 12 Jan 2021, 19:37 Reply Quote 0
                • undefined
                  Phaedrux Moderator @Citystars
                  last edited by 12 Jan 2021, 19:37

                  @Citystars said in RRF 3 with piezo z probe not working:

                  G91 ; use relative positioning G1 X150 Y150 F6000 ; move probe to center of bed

                  I'd probably make that an absolute move and adjust it so that the probe is actually centered.

                  Z-Bot CoreXY Build | Thingiverse Profile

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