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

    Ir probe

    Scheduled Pinned Locked Moved
    General Discussion
    6
    24
    2.7k
    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.
    • aparkinundefined
      aparkin
      last edited by

      hi im getting problems getting the homez to work prity sure my problem is in this bit of code

      ; Endstops
      M574 X1 Y1 Z1 S0 ; Define active high microswitches
      M558 P1 X0 Y0 Z0 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 Z1.50 ; Set Z probe trigger value, offset and trigger height

      i followed instruction from here
      https://miscsolutions.wordpress.com/mini-height-sensor-board/
      and got g31…......... z1.50

      but after restart i sned the G30 S-1 and i have to hit emergancy stop

      please note i have cardborad over my bed so no DAMAGE CAN BE DONE (touch wood)
      what am i missing

      1 Reply Last reply Reply Quote 0
      • Nuffeundefined
        Nuffe
        last edited by

        P500 not P600

        1 Reply Last reply Reply Quote 0
        • aparkinundefined
          aparkin
          last edited by

          Thanks i thought i missed something stupid
          Quick question to set home z file should just put
          G30 S-1

          1 Reply Last reply Reply Quote 0
          • deckingmanundefined
            deckingman
            last edited by

            As well as the P600 error in your G31 you also need to change Z to a non zero value in your M558 if you want the probe to be used for homing Z. i.e M558 P1 X0 Y0 Z1 …..etc (currently you have M558 P1 X0 Y0 Z0.........)

            Home Z should just have G30. If you add S-1 it won't adjust the Z position.

            Ian
            https://somei3deas.wordpress.com/
            https://www.youtube.com/@deckingman

            1 Reply Last reply Reply Quote 0
            • aparkinundefined
              aparkin
              last edited by

              Ok thanks
              As for them M558 z0
              The guid said it should be in the G30 comand that i put my offset in
              G30 x 0 y 0 z 1.5. The 1.5. Is my offset
              Are did i miss read it

              1 Reply Last reply Reply Quote 0
              • deckingmanundefined
                deckingman
                last edited by

                The offset goes in G31 (not G30) so here you would have Z1.5 (assuming your offset is 1.5mm). In M558 you need to tell the firmware which axes the probe is used for homing. Zero means don't use the probe to home this axis, a non zero value means do use the probe for this axis so you set Z1. See this link. https://duet3d.com/wiki/G-code#M558:_Set_Z_probe_type

                Ian
                https://somei3deas.wordpress.com/
                https://www.youtube.com/@deckingman

                1 Reply Last reply Reply Quote 0
                • aparkinundefined
                  aparkin
                  last edited by

                  thank-you your a star

                  1 Reply Last reply Reply Quote 0
                  • aparkinundefined
                    aparkin
                    last edited by

                    hi and thanks for the help so far
                    ok ive got all of the above done and
                    my code now look like this
                    M558 P1 X0 Y0 Z1 H5 F120 T6000 ;
                    G31 P500 X30 Y0 Z1.50 ;

                    im using a e3d v6 with ir senor sat right in front 30mm on the x axes

                    home z looks like this
                    G91 ; relative mode
                    G1 Z6 F200 ; raise head 6mm to ensure it is above the Z probe trigger height
                    G90 ; back to absolute mode
                    G1 X0 Y0 F1000 ; put head over the centre of the bed, or wherever you want to probe
                    G30 ; lower head, stop when probe triggered and set Z to trigger height

                    which all works good im having problems setting up auto bed meshing ive read the right up and its ive not sinking in are not making much scenes for me
                    is there any other setup / tutorial out there you would recommend

                    1 Reply Last reply Reply Quote 0
                    • aparkinundefined
                      aparkin
                      last edited by

                      hi new bed.g file does thi look correct

                      M561

                      ; Probe the bed at 4 points
                      G30 P0 X15 Y15 H0 Z-99999
                      G30 P1 X15 Y235 H0 Z-99999
                      G30 P2 X235 Y235 H0 Z-99999
                      G30 P3 X235 Y15 H0 Z-99999 S

                      1 Reply Last reply Reply Quote 0
                      • aparkinundefined
                        aparkin
                        last edited by

                        ok i found out that since i have my ir sencor 30mm in fount of my nozzel and the nozel is set at x0 and y0 with no roo m to move anywhere i have to reset bed.g looking like this
                        M561

                        ; Probe the bed at 4 points
                        G30 P0 X35 Y15 H0 Z-99999
                        G30 P1 X35 Y235 H0 Z-99999
                        G30 P2 X235 Y235 H0 Z-99999
                        G30 P3 X235 Y15 H0 Z-99999 S

                        1 Reply Last reply Reply Quote 0
                        • aparkinundefined
                          aparkin
                          last edited by

                          Ok now i have this set up all i do now is. Home all hit the funny key (wavey line with arrow pionting up the anther one pionting down) let do its
                          Thing then print ??

                          1 Reply Last reply Reply Quote 0
                          • deckingmanundefined
                            deckingman
                            last edited by

                            @aparkin:

                            Ok now i have this set up all i do now is. Home all hit the funny key (wavey line with arrow pionting up the anther one pionting down) let do its
                            Thing then print ??

                            errrr, don't know where you see that key. Are you using the Web interface or Panel Due? On the web interface, in the Machine Control section, there are buttons clearly labelled (from top to bottom), Home All, Home X, Home Y and Home Z. I don't have a Panel Due so can't comment on how they might be labelled but what you describe with arrows pointing up and down sounds more like the baby stepping feature.

                            Ian
                            https://somei3deas.wordpress.com/
                            https://www.youtube.com/@deckingman

                            1 Reply Last reply Reply Quote 0
                            • Dougal1957undefined
                              Dougal1957
                              last edited by

                              Ian the button he is referring to is the Autocal button for a delta and you only see if the Duet is configured as a delta and in that case you dont get the Homex/y/z buttons either.

                              Doug

                              1 Reply Last reply Reply Quote 0
                              • aparkinundefined
                                aparkin
                                last edited by

                                No im configured as a coerxy
                                And yes its on the pannel due. On the line where home all hone x ..home y..home..z and far left of screen is the auto cail botton

                                Yes hitting that botton dose the four piont test ive set up in bed.g
                                So is that it done hit home.all ..then auto cal then print
                                Are have i missed a step

                                1 Reply Last reply Reply Quote 0
                                • deckingmanundefined
                                  deckingman
                                  last edited by

                                  @Dougal1957:

                                  Ian the button he is referring to is the Autocal button for a delta and you only see if the Duet is configured as a delta and in that case you dont get the Homex/y/z buttons either.

                                  Doug

                                  Doug, - didn't know that - you guys with Delta's always have to complicate things :).

                                  Anyway, it seems our man is sorted.

                                  Cheers

                                  Ian

                                  Ian
                                  https://somei3deas.wordpress.com/
                                  https://www.youtube.com/@deckingman

                                  1 Reply Last reply Reply Quote 0
                                  • Dougal1957undefined
                                    Dougal1957
                                    last edited by

                                    Eh just pointing it out lol by the way can you let me know what that insulation material that you use under the bed is called It would be appreciated

                                    1 Reply Last reply Reply Quote 0
                                    • aparkinundefined
                                      aparkin
                                      last edited by

                                      Me ? Cardboard

                                      1 Reply Last reply Reply Quote 0
                                      • deckingmanundefined
                                        deckingman
                                        last edited by

                                        @Dougal1957:

                                        Eh just pointing it out lol by the way can you let me know what that insulation material that you use under the bed is called It would be appreciated

                                        Thermopanel or some such name. It's main use is for underfloor heating.

                                        Ian
                                        https://somei3deas.wordpress.com/
                                        https://www.youtube.com/@deckingman

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

                                          I use cork sheet.

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

                                            @deckingman:

                                            @Dougal1957:

                                            Eh just pointing it out lol by the way can you let me know what that insulation material that you use under the bed is called It would be appreciated

                                            Thermopanel or some such name. It's main use is for underfloor heating.

                                            Is it that green fibrous stuff?

                                            I have used cork on my existing machine but was looking for any other alternative for the new one?

                                            Doug

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