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

    Homing testing issue

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    10
    346
    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.
    • bartekpundefined
      bartekp
      last edited by bartekp

      HI all I fight with this long time and the isuue is tah when I homing my corexy Tronxy x5sa all axis independly works fine , table travel up every thing loks good but if I use home all axis the table go down to the botttom and the same when I wan to start print some thing please help
      ; Configuration file for Duet WiFi (firmware version 3.3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.3 on Mon Oct 04 2021 22:39:47 GMT+0200 (czas środkowoeuropejski letni)

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

      ; Network
      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 S0 ; physical drive 2 goes backwards
      M569 P3 S1 ; physical drive 3 goes forwards
      M584 X0 Y1 Z2 E3 ; set drive mapping
      M350 Z16 E16 I0 ; configure microstepping without interpolation
      M350 X16 Y16 I1 ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z2756.00 E675.00 ; set steps per mm
      M566 X900.00 Y900.00 Z30.00 E600.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X30000.00 Y30000.00 Z30.00 E6000.00 ; set maximum speeds (mm/min)
      M201 X5000.00 Y5000.00 Z30.00 E200.00 ; set accelerations (mm/s^2)
      M906 X800 Y800 Z800 E700 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 X500 Y500 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 S1 P"zstop" ; configure active-high endstop for high end on Z via pin ^zstop

      ; Z-Probe
      M950 S0 C"exp.heater3"
      M558 P9 C"^zprobe.in" H5 F100 T2000
      G31 P500 X30 Y60 Z8 ; set Z probe trigger value, offset and trigger height
      M557 X15:315 Y15:315 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 R0.3 B1 S1.00 ; disable 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 R4700 P"e0temp" Y"thermistor" T100000 B4267 C0 ; define E0 temperature sensor
      M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
      M307 H1 B0 R5.133 C253.3 D8.83 S1.00 V16.5 ; 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
      M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
      M106 P2 S1 H1 T45 ; set fan 2 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
      T0 ; select first tool

      ; homez.g
      ; called to home the Z axis
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.3 on Mon Oct 04 2021 22:39:47 GMT+0200 (czas środkowoeuropejski letni)
      G91 ; relative positioning
      G1 H1 Z-605 F1800 ; move Z up until the endstop is triggered
      G92 Z0 ; set Z position to axis maximum (you may want to adjust this)

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

      ; homeall.g
      ; called to home all axes
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.3 on Mon Oct 04 2021 22:39:47 GMT+0200 (czas środkowoeuropejski letni)
      G91 ; relative positioning
      G1 H2 Z5 F12000 ; lift Z relative to current position
      G1 H1 X-505 Y-505 F1800 ; move quickly to X or Y endstop and stop there (first pass)
      G1 H1 X-505 ; home X axis
      G1 H1 Y-505 ; home Y axis
      G1 X5 Y5 F12000 ; go back a few mm
      G1 H1 X-505 F360 ; move slowly to X axis endstop once more (second pass)
      G1 H1 Y-505 ; then move slowly to Y axis endstop
      G1 H1 Z605 F360 ; move Z up stopping at the endstop
      G90 ; absolute positioning
      G92 Z100 ; set Z position to axis maximum (you may want to adjust this)

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

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

        @bartekp

        If you examine the G1 H1 Znnn commands in your homeZ.g file and your homeALL.g file you will see they are different.

        In your homeZ.g file you have this:

        G1 H1 Z-605 F1800 ; move Z up until the endstop is triggered
        

        In your homeALL.g file you have this:

        G1 H1 Z605 F360 ; move Z up stopping at the endstop
        

        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

        bartekpundefined 1 Reply Last reply Reply Quote 0
        • bartekpundefined
          bartekp @fcwilt
          last edited by

          @fcwilt ok I will try fix this

          bartekpundefined 1 Reply Last reply Reply Quote 1
          • bartekpundefined
            bartekp @bartekp
            last edited by

            @bartekp This is to complicated I maded -605 in both files and doesnt work good and thasame czanging for 605
            https://www.youtube.com/watch?v=iosg9TU_3dU

            bartekpundefined 1 Reply Last reply Reply Quote 0
            • bartekpundefined
              bartekp @bartekp
              last edited by

              @bartekp what I mean dosnt work tha that when I use home all Z make problems when I change the -605 Homing z Make problem and when I start printing Z goes down

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

                @bartekp said in Homing testing issue:

                @bartekp what I mean dosnt work tha that when I use home all Z make problems when I change the -605 Homing z Make problem and when I start printing Z goes down

                Well that G92 Z100 command tells the firmware that the current position of Z is 1undefined00 - which is likely not correct.

                When a G1 H1 command triggers and endstop it sets the current position for the axis to the axis min/max value as set in M208 for that axis.

                If the endstop is configured to be at the "high end" of the axis the value used is the max value from M208.

                If the endstop is configured to be at the "low end" of the axis the value used is the min value from M208.

                It is common for an endstop to trigger at a position that is somewhat different from the min/max values in M208.

                In that case you can use G92 to "tweak" the logical position of the axis to match the actual location of the endstop.

                Let's say your X axis min/max values are 0 and 300. Let's also say the "high end" endstop triggers at 295.

                So G1 H1 X300 would trigger the endstop at 295 but the logical position would be set to 300, the max value from M208.

                So then you could follow the G1 command with G92 X295 to set the correct logical position so that the full range from 0 to 300 would move from the low end of the axis to the high end.

                If you use G92 it is up to you to determine the actual value that represents the position where the endstop is actually triggering.

                So I don't know why you have G92 Z100 but it is most likely wrong - by a lot.

                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

                bartekpundefined 1 Reply Last reply Reply Quote 0
                • bartekpundefined
                  bartekp @fcwilt
                  last edited by

                  @fcwilt Hi I changed for G92 Z605 or iwen G92 Z -605 and nothing happend
                  stil the same reuslts Teble going up by strtinge the printing
                  Im exosted with

                  fcwiltundefined engikeneerundefined 2 Replies Last reply Reply Quote 0
                  • fcwiltundefined
                    fcwilt @bartekp
                    last edited by

                    @bartekp said in Homing testing issue:

                    @fcwilt Hi I changed for G92 Z605 or iwen G92 Z -605 and nothing happend
                    stil the same reuslts Teble going up by strtinge the printing
                    Im exosted with

                    • Remove the G92 commands entirely.
                    • Verify the G1 H1 Znnn commands move in the correct direction toward the Z axis endstop.

                    Fredericks

                    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
                    • engikeneerundefined
                      engikeneer @bartekp
                      last edited by

                      @bartekp probably also worth checking you have your axis directions correct. Moving in the +ve Z direction should move the nozzle away from the bed (or the bed away from the nozzle for a corexy type printer)

                      E3D TC with D3Mini and Toolboards.
                      Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
                      i3 clone with a bunch of mods

                      bartekpundefined 1 Reply Last reply Reply Quote 0
                      • bartekpundefined
                        bartekp @engikeneer
                        last edited by

                        @engikeneer I kickout this M92 and works fine !!! 3 weeks of fight thanks wery much

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