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

    New IR z probe issues

    Scheduled Pinned Locked Moved
    IR Height Sensor
    7
    72
    3.5k
    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.
    • agent0810undefined
      agent0810 @Phaedrux
      last edited by

      @Phaedrux

      so when i do home all it goes up to the nozzle then back down a bit, then i do the G30 S-1 and it goes up to almost where i need it to be, so close. but still needs to go up a bit more. i have gone through the page alot and changed the offset and trigger heights with no luck. i tried at 1.7, 5, and now im at 0, all put it at the same place.
      here is my config currently

      ; Configuration file for Duet WiFi (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.3 on Sun Jul 05 2020 20:32:26 GMT-0500 (Central Daylight Time)

      ; General preferences
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"Schaal3DPrinter" ; set printer name

      ; Network
      M552 S1 ; enable network
      M586 P0 S1 ; enable HTTP
      M586 P1 S1 ; enable FTP
      M586 P2 S1 ; enable Telnet

      ; Drives
      M569 P0 S0 ; physical drive 0 goes forwards
      M569 P1 S0 ; physical drive 1 goes forwards
      M569 P2 S0 ; physical drive 2 goes forwards
      M569 P3 S0 ; physical drive 3 goes forwards
      M584 X0 Y1 Z2 E3 ; set drive mapping
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z800.00 E102.30 ; set steps per mm
      M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z20.00 E250.00 ; 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

      ; Axis Limits
      M208 X0 Y0 Z0 S1 ; set axis minima
      M208 X225 Y225 Z300 S0 ; set axis maxima

      ; Endstops
      M574 X2 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
      M574 Y2 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
      M574 Z1 S1 P"zstop" ; configure active-high endstop for high end on Z via pin zstop

      ; Z-Probe
      M558 P1 C"zprobe.in" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds
      G31 P500 X50 Y0 Z0.005 ; set Z probe trigger value, offset and trigger height
      M557 X15:215 Y15:195 S20 ; define mesh grid

      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
      M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
      M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
      M140 H0 ; map heated bed to heater 0
      M143 H0 S120 ; set temperature limit for heater 0 to 120C
      M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
      M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
      M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit

      ; Fans
      M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
      M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
      M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
      M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on

      ; Tools
      M563 P0 D0 H1 F0 ; 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

      ; Custom settings are not defined

      ; Miscellaneous
      M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
      M501

      Phaedruxundefined 1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator @agent0810
        last edited by

        @agent0810 said in New IR z probe issues:

        so when i do home all it goes up to the nozzle then back down a bit, then i do the G30 S-1 and it goes up to almost where i need it to be

        Sorry this doesn't make any sense to me.

        Are you following the instructions on jogging the nozzle to touch the bed, sending G92 Z0, raising the nozzle a bit and then sending G30 S-1? That should give you a trigger height. You then put that trigger height value into the G31 Z. Then after rebooting and homing you should be able to have Z0 just touch the bed.

        Z-Bot CoreXY Build | Thingiverse Profile

        agent0810undefined 1 Reply Last reply Reply Quote 0
        • agent0810undefined
          agent0810 @Phaedrux
          last edited by agent0810

          @Phaedrux

          Doing everything you say there, except instead of raising the nozzle i am lowering the bed. that is what has me confused, from everything im doing i feel like i should be getting the results i want.\

          and to be clear, what i put in G31 Z is the output on the console right?

          thanks again

          1 Reply Last reply Reply Quote 0
          • agent0810undefined
            agent0810
            last edited by

            and to be clear, what i put in G31 Z is the output on the console right? so i would put in 1.501 for this?

            7/21/2020, 10:55:50 PM G30 S-1
            Stopped at height 1.501 mm

            droftartsundefined 1 Reply Last reply Reply Quote 0
            • droftartsundefined
              droftarts administrators @agent0810
              last edited by

              @agent0810 said in New IR z probe issues:

              and to be clear, what i put in G31 Z is the output on the console right? so i would put in 1.501 for this?

              7/21/2020, 10:55:50 PM G30 S-1
              Stopped at height 1.501 mm

              Yes, that's correct. You can send G31 Z1.501 in the console, then send G31 to check it is set, eg my G31 response is:

              G31
              Z probe 0: current reading 0, threshold 500, trigger height 1.250, offsets X20.0 Y0.0
              

              Test that the probe is functioning correctly by homing Z, then move Z to 0 and check the nozzle is just touching the bed. Then modify your G31 line in config.g, so that the new setting persists after a reset. Change G31 line in config.g to:

               G31 P500 X0 Y0 Z1.501 ; set Z probe trigger value, offset and trigger height
              

              Ian

              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

              agent0810undefined 2 Replies Last reply Reply Quote 0
              • agent0810undefined
                agent0810 @droftarts
                last edited by

                @droftarts thank you!

                did as you asked and it is still a little to high, its not pushing the filament onto the glass bed.

                droftartsundefined 1 Reply Last reply Reply Quote 0
                • agent0810undefined
                  agent0810 @droftarts
                  last edited by

                  @droftarts

                  i have it zeroed in the middle of the bed. this is what i see on my web interface, that normal?

                  a507065b-6f9b-4416-a7d4-7e2aee8e3164-image.png

                  droftartsundefined 1 Reply Last reply Reply Quote 0
                  • droftartsundefined
                    droftarts administrators @agent0810
                    last edited by

                    @agent0810 Adjust with 'Z babystepping' (on the Status tab of DWC), until you're happy with how the first layer is going down. Presumably you'll need raise the bed a little, so this may be -0.1mm of babystepping, so you can reduce the G31 Z height by 0.1mm. If you do this, don't forget to reset babystepping (with M290 R0 S0) if you don't reset the printer.

                    Have you calibrated your extruder, though? If you haven't, it may be underextruding, which will also make it look like the nozzle is too far off the bed. So get that right, too.

                    Ian

                    Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                    1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @agent0810
                      last edited by

                      @agent0810 said in New IR z probe issues:

                      i have it zeroed in the middle of the bed. this is what i see on my web interface, that normal?

                      What do you mean, zeroed? If you want X0 Y0 to be in the middle of the bed, you need to adjust M208. At the moment yours is set to:

                      ; Axis Limits
                      M208 X0 Y0 Z0 S1 ; set axis minima
                      M208 X225 Y225 Z300 S0 ; set axis maxima
                      

                      So it's not surprising that, with the nozzle in the middle of the bed, X and Y are 120. To get X0 Y0 to be in the middle, you'll want something like:

                      ; Axis Limits
                      M208 X-120 Y-120 Z0 S1 ; set axis minima
                      M208 X120 Y120 Z300 S0 ; set axis maxima
                      

                      See https://duet3d.dozuki.com/Wiki/Centering_the_bed_or_setting_the_bed_origin

                      Ian

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      agent0810undefined 2 Replies Last reply Reply Quote 0
                      • agent0810undefined
                        agent0810 @droftarts
                        last edited by

                        @droftarts

                        started printing and had to z babyset +.05 to 1mm to get it where i need it.
                        Current Offset: 1.00 mm

                        what do i need to do to keep it here?

                        1 Reply Last reply Reply Quote 0
                        • agent0810undefined
                          agent0810 @droftarts
                          last edited by

                          @droftarts
                          print came out amazing, just need to have it default to the 1mm babystep.

                          44E38A03-CEC9-4B63-89D6-7C2943C24C33.jpg

                          fcwiltundefined 1 Reply Last reply Reply Quote 0
                          • fcwiltundefined
                            fcwilt @agent0810
                            last edited by fcwilt

                            @agent0810 said in New IR z probe issues:

                            @droftarts
                            print came out amazing, just need to have it default to the 1mm babystep.

                            While you can change the baby step setting in code you can also adjust the the trigger height setting of your Z probe to achieve the same thing - which is what I do.

                            If you used baby stepping to move the nozzle closer to the bed increase the trigger height setting by that amount.

                            If you used baby stepping to move the nozzle away to the bed decrease the trigger height setting by that amount.

                            Frederick

                            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                            agent0810undefined 1 Reply Last reply Reply Quote 0
                            • agent0810undefined
                              agent0810 @fcwilt
                              last edited by

                              @fcwilt
                              so if im currently at
                              G31 P500 X50 Y0 Z1.501

                              and my current offset was 1 mm that i had to move the nozzle away from the bed. i need to decrease the Z from 1.501 to .501?

                              so

                              G31 P500 X50 Y0 Z.501?
                              i am fairly positive that i have tried that and it didnt work 😞

                              fcwiltundefined 1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator
                                last edited by

                                A larger G31 value results in the nozzle being closer to the bed.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                • fcwiltundefined
                                  fcwilt @agent0810
                                  last edited by fcwilt

                                  @agent0810 said in New IR z probe issues:

                                  @fcwilt
                                  so if im currently at
                                  G31 P500 X50 Y0 Z1.501

                                  and my current offset was 1 mm that i had to move the nozzle away from the bed. i need to decrease the Z from 1.501 to .501?

                                  so

                                  G31 P500 X50 Y0 Z.501?
                                  i am fairly positive that i have tried that and it didnt work 😞

                                  If you use baby stepping to move AWAY from the bed then the trigger height setting must be decreased.

                                  If you're numbers are correct then that value is correct.

                                  You can always determine the trigger height setting through trial and error, adjusting it up or down with G31, setting the Z=0 datum with G30 and repeating the process until moving to Z=0 has the nozzle just touching the bed.

                                  Frederick

                                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                  agent0810undefined 2 Replies Last reply Reply Quote 0
                                  • agent0810undefined
                                    agent0810 @fcwilt
                                    last edited by

                                    @fcwilt
                                    what is the P value in this line?

                                    1 Reply Last reply Reply Quote 0
                                    • Phaedruxundefined
                                      Phaedrux Moderator
                                      last edited by

                                      trigger sensitivity.

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      1 Reply Last reply Reply Quote 0
                                      • agent0810undefined
                                        agent0810 @fcwilt
                                        last edited by

                                        @fcwilt

                                        i am not sure what i am doing wrong. i set it to the .501 and its still to far from the bed, filament isnt sticking. im not sure where to go from here. since it was to far away i lowered it to 0 and its still to far away.

                                        droftartsundefined jumpedwithbothfeetundefined 2 Replies Last reply Reply Quote 0
                                        • Phaedruxundefined
                                          Phaedrux Moderator @Phaedrux
                                          last edited by

                                          @Phaedrux said in New IR z probe issues:

                                          A larger G31 value results in the nozzle being closer to the bed.

                                          If it's still too far away you're going in the wrong direction. Instead of 0.5 you would need to add to the value, so 2.5.

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          1 Reply Last reply Reply Quote 0
                                          • droftartsundefined
                                            droftarts administrators @agent0810
                                            last edited by

                                            @agent0810 Think of it this way; when the probe triggers, it sets the Z height to the Z offset. So when it triggers, it sets Z to 1.5mm. If you then move the bed up to Z0, the nozzle should be touching the bed. If it's still away from the bed, the Z offset needs to increase. From your numbers, it should probably be around Z2.5.
                                            There is also a guide to do this: https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe#Section_Calibrate_the_Z_probe_trigger_height

                                            It may make a difference where you probe the bed. If you're homing over in the corner (and make sure the probe is homing over the bed if you do), then moving to the centre to print, it could be if your bed is not level, and the corner is lower or higher than the centre. You can check this manually (move the nozzle around to the corners of the bed, manually adjust bed level), or by getting mesh compensation going (https://duet3d.dozuki.com/Wiki/Using_mesh_bed_compensation) and looking at the mesh it creates. You can also do three point levelling manually, if you have bed adjusters; see https://duet3d.dozuki.com/Wiki/Using_the_manual_bed_levelling_assistant

                                            Ian

                                            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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