• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    Phaedrux Moderator
    last edited by 21 Jul 2020, 21:54

    Well the IR sensor should be a good choice, I'm just not sure what's really going on. Can you provide some more details on the setup as it is now so we can figure out if it's a configuration issues, or an issue with the probe itself. We'll try and cover our bases first.

    Post your config.g as it is right now. Confirm you're running fw 3.1.1 by sending M115. Also send M98 P"config.g" and post the results.

    Post a photo of your probe as mounted and a close up of it. Also maybe the wiring at the board.

    Z-Bot CoreXY Build | Thingiverse Profile

    undefined 1 Reply Last reply 21 Jul 2020, 22:53 Reply Quote 0
    • undefined
      agent0810 @Phaedrux
      last edited by 21 Jul 2020, 22:53

      ![0_1595371525574_B5BF8F32-97A5-4454-A1BB-D0C398173C08.heic](Uploading 100%) @Phaedrux

      M115
      FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.1.1 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2020-05-19b2

      M98 P"config.g"
      HTTP is enabled on port 80
      FTP is enabled on port 21
      TELNET is enabled on port 23
      Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365C
      Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 209C

      ; 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 X0 Y0 Z2.5 ; 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![0_1595371433780_B5BF8F32-97A5-4454-A1BB-D0C398173C08.heic]

      B5BF8F32-97A5-4454-A1BB-D0C398173C08.jpg

      1 Reply Last reply Reply Quote 0
      • undefined
        Phaedrux Moderator
        last edited by 21 Jul 2020, 22:56

        That mount seems to put it at a bit of an angle?

        Z-Bot CoreXY Build | Thingiverse Profile

        undefined 1 Reply Last reply 21 Jul 2020, 23:04 Reply Quote 0
        • undefined
          agent0810 @Phaedrux
          last edited by 21 Jul 2020, 23:04

          @Phaedrux

          yea the mount isnt the best but the best i can find right now. ive stood there and pushed it level and made sure it is. i make sure it is for tests, but same results. right now when i home/or print it runs the nozzle on the glass bed so nothing comes out.

          1 Reply Last reply Reply Quote 0
          • undefined
            Phaedrux Moderator
            last edited by 22 Jul 2020, 03:30

            Your trigger height in G31 is still the default 2.5. Your measured amount was closer to 1.7ish, so you need to update that. The trigger height would be more consistent if the mount was improved.

            It is triggering now though right?

            https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe

            Z-Bot CoreXY Build | Thingiverse Profile

            undefined 1 Reply Last reply 22 Jul 2020, 04:02 Reply Quote 0
            • undefined
              agent0810 @Phaedrux
              last edited by 22 Jul 2020, 04:02

              @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

              undefined 1 Reply Last reply 22 Jul 2020, 04:17 Reply Quote 0
              • undefined
                Phaedrux Moderator @agent0810
                last edited by 22 Jul 2020, 04:17

                @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

                undefined 1 Reply Last reply 22 Jul 2020, 12:11 Reply Quote 0
                • undefined
                  agent0810 @Phaedrux
                  last edited by agent0810 22 Jul 2020, 12:11

                  @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
                  • undefined
                    agent0810
                    last edited by 22 Jul 2020, 13:28

                    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

                    undefined 1 Reply Last reply 22 Jul 2020, 14:18 Reply Quote 0
                    • undefined
                      droftarts administrators @agent0810
                      last edited by 22 Jul 2020, 14:18

                      @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

                      undefined 2 Replies Last reply 22 Jul 2020, 16:19 Reply Quote 0
                      • undefined
                        agent0810 @droftarts
                        last edited by 22 Jul 2020, 16:19

                        @droftarts thank you!

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

                        undefined 1 Reply Last reply 22 Jul 2020, 16:27 Reply Quote 0
                        • undefined
                          agent0810 @droftarts
                          last edited by 22 Jul 2020, 16:26

                          @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

                          undefined 1 Reply Last reply 22 Jul 2020, 16:31 Reply Quote 0
                          • undefined
                            droftarts administrators @agent0810
                            last edited by 22 Jul 2020, 16:27

                            @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
                            • undefined
                              droftarts administrators @agent0810
                              last edited by 22 Jul 2020, 16:31

                              @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

                              undefined 2 Replies Last reply 22 Jul 2020, 16:40 Reply Quote 0
                              • undefined
                                agent0810 @droftarts
                                last edited by 22 Jul 2020, 16:40

                                @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
                                • undefined
                                  agent0810 @droftarts
                                  last edited by 22 Jul 2020, 17:10

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

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

                                  undefined 1 Reply Last reply 22 Jul 2020, 17:55 Reply Quote 0
                                  • undefined
                                    fcwilt @agent0810
                                    last edited by fcwilt 22 Jul 2020, 17:55

                                    @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 small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                    undefined 1 Reply Last reply 22 Jul 2020, 18:04 Reply Quote 0
                                    • undefined
                                      agent0810 @fcwilt
                                      last edited by 22 Jul 2020, 18:04

                                      @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 😞

                                      undefined 1 Reply Last reply 22 Jul 2020, 18:33 Reply Quote 0
                                      • undefined
                                        Phaedrux Moderator
                                        last edited by 22 Jul 2020, 18:33

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

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        undefined 1 Reply Last reply 22 Jul 2020, 19:36 Reply Quote 0
                                        • undefined
                                          fcwilt @agent0810
                                          last edited by fcwilt 22 Jul 2020, 18:33

                                          @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 small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                          undefined 2 Replies Last reply 22 Jul 2020, 18:35 Reply Quote 0
                                          29 out of 72
                                          • First post
                                            29/72
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA