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

    IR Sensor is not homing the Z-Axis correctly

    Scheduled Pinned Locked Moved
    IR Height Sensor
    5
    13
    536
    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.
    • juanito16kundefined
      juanito16k
      last edited by

      Hello,

      i have trouble to home my Z-Axis. I calibrated my config according to the guide "Test and calibrate a Z probe" with the Paper-Method so i use G92 to have Z0 where the nozzle pins the Paper and then i probe the bad and get between 1.25 and 1.3 mm which i put in to my config. Wenn i move the bad then back to Z0 and i put a Paper between the Paper will pin again.

      Wenn i then home the Z-Axis again for example after switching the power off shortly then the Z-Axis homes again to Z6,25 for example but when i move the bad to Z0 the Paper wont pin again actually there is a big gap between nozzel and bad.

      in the first run befor homing again, for probing the bad, the prob goes really near the bad and trigger at 625 on the probe field in the web interface. But in the second homeing it just probe 100 and doesnt get anyway near as in the first probing?

      Following i send my config and home, i hope someone can help me.

      ; Configuration file for Duet WiFi (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.2.0 on Wed Jan 06 2021 00:32:39 GMT+0100 (Mitteleuropäische Normalzeit)

      ; General preferences
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"BLVCube" ; set printer name
      M669 K1 ; select CoreXY mode

      ; Network
      M551 P"jaw89jaw89" ; set password
      M552 S1 ; enable network
      M586 P0 S1 ; enable HTTP
      M586 P1 S0 ; disable FTP
      M586 P2 S0 ; disable Telnet

      ; Drives
      M569 P0 S1 ; physical drive 0 goes forwards
      M569 P1 S1 ; physical drive 1 goes forwards
      M569 P2 S1 ; physical drive 2 goes forwards
      M569 P3 S1 ; physical drive 3 goes forwards
      M584 X0 Y1 Z2 E3 ; set drive mapping
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      M92 X200.00 Y200.00 Z400.00 E420.00 ; set steps per mm
      M566 X900.00 Y900.00 Z60.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 X330 Y300 Z600 S0 ; set axis maxima

      ; Endstops
      M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
      M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
      M574 Z1 S2 ; configure Z-probe endstop for low end on Z

      ; Z-Probe
      M558 P1 X0 Y0 Z1 C"zprobe.in" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds
      G31 P500 X0 Y-20 Z1.265 ; set Z probe trigger value, offset and trigger height
      M557 X50:330 Y50:300 S30 ; 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 A74.3 C590.5 D=3.0 V24.2 B0 ; Set PID for heated bad
      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 A279.5 C105.0 D6.9 V23.7 ; disable bang-bang mode for heater and set PWM limit
      M143 H1 S280 ; set temperature limit for heater 1 to 280C

      ; 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

      ; homeall.g
      ; called to home all axes
      ;
      ; generated by RepRapFirmware Configuration Tool v3.2.0 on Wed Jan 06 2021 00:32:39 GMT+0100 (Mitteleuropäische Normalzeit)
      G91 ; relative positioning
      G1 H2 Z5 F6000 ; lift Z relative to current position
      G1 H1 X-305 Y-285 F1800 ; move quickly to X or Y endstop and stop there (first pass)
      G1 H1 X-305 ; home X axis
      G1 H1 Y-285 ; 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-285 ; then move slowly to Y axis endstop
      G90 ; absolute positioning
      G1 X200 Y160 F6000 ; go to first bed probe point and home Z
      G30 ; home Z by probing the bed

      ; Uncomment the following lines to lift Z after probing
      ;G91 ; relative positioning
      ;G1 Z5 F100 ; lift Z relative to current position
      ;G90 ; absolute positioning

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

        @juanito16k said in IR Sensor is not homing the Z-Axis correctly:

        then i probe the bad and get between 1.25 and 1.3 mm which i put in to my config.

        What command are your issuing to do that?

        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

        1 Reply Last reply Reply Quote 0
        • juanito16kundefined
          juanito16k
          last edited by

          @juanito16k said in IR Sensor is not homing the Z-Axis correctly:

          G31 P500 X0 Y-20 Z1.265

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

            @juanito16k said in IR Sensor is not homing the Z-Axis correctly:

            @juanito16k said in IR Sensor is not homing the Z-Axis correctly:

            G31 P500 X0 Y-20 Z1.265

            That is for configuring the probe.

            To actually probe you use one of the G30 variants.

            So which variant did you use?

            Thanks.

            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

            juanito16kundefined 1 Reply Last reply Reply Quote 0
            • JayJayundefined
              JayJay
              last edited by JayJay

              As you look to be on RRF3

              The M558 command switch "probe type" needs to be set to P8 instead of P1

              IR Probe

              With Duet 3 main board, expansion board or tool board: Connect the VCC, GND and OUT pins of the sensor to 3.3V, GND and IN respectively on an IO probe connector, and select mode 8 in the M558 command.
              
              1 Reply Last reply Reply Quote 0
              • juanito16kundefined
                juanito16k
                last edited by

                okay i did that but my Z0 stays like in the picture after homing againIMG_20210117_112621.jpg

                1 Reply Last reply Reply Quote 0
                • Vetiundefined
                  Veti
                  last edited by

                  your surface is reflective and not dull.
                  that is not good for ir.

                  1 Reply Last reply Reply Quote 1
                  • juanito16kundefined
                    juanito16k @fcwilt
                    last edited by

                    @fcwilt G30 S-1 ?

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

                      @juanito16k said in IR Sensor is not homing the Z-Axis correctly:

                      @fcwilt G30 S-1 ?

                      OK that variant is used to report what the Z trigger height is.

                      To set the Z=0 datum you want to use just G30.

                      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

                      juanito16kundefined 1 Reply Last reply Reply Quote 0
                      • juanito16kundefined
                        juanito16k @fcwilt
                        last edited by

                        @fcwilt thank for the respones, i actually do that in my homing file

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

                          Place a plain piece of paper on your bed and try testing again. As Veti says, your bed may not be very suitable for an IR sensor.

                          Z-Bot CoreXY Build | Thingiverse Profile

                          1 Reply Last reply Reply Quote 0
                          • juanito16kundefined
                            juanito16k
                            last edited by

                            i think the problem was, that i had the printer right besight a window where a lot of light entered i moved the printer to a darker place and haddent had any further problems

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

                              Ah yes, that would definitely do it.

                              Z-Bot CoreXY Build | Thingiverse Profile

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