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

    hbot homes correctly but prints mirrored ,

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    4
    169
    8.8k
    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.
    • tracarundefined
      tracar
      last edited by

      ; Configuration file for Duet WiFi (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.4 on Tue Aug 25 2020 08:01:23 GMT-0600 (Mountain Daylight Time)

      ; General preferences
      G31 X0 Y0 Z0 P25
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"Duet2" ; 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 P5 S1 T5 R1 ; physical drive x goes forwards
      M569 P6 S1 T5 R1 ; physical drive y goes forwards
      M569 P7 S1 T5 R1 ; physical drive z goes forwards
      M569 P8 S1 T5 R1 ; physical drive z2 goes forwards
      M569 P3 S1 ; physical drive extruder goes forwards
      M584 X5 Y6 Z7:8 E3 ; set drive mapping
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      M92 X200.00 Y200.00 Z200.00 E138.23 ; set steps per mm
      M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X25000.00 Y25000.00 Z2500.00 E2400.00 ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
      M906 X300 Y300 Z300 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 X440 Y535 Z900 S0 ; set axis maxima

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

      ; Z-Probe
      M950 S0 C"exp.heater7" ; create servo pin 0 for BLTouch
      M558 P9 C"^zprobe.in" H5 F120 T24000 ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X0 Y0 Z0.445 ; set Z probe trigger value, offset and trigger height
      M557 X50:400 Y50:500 S50 ; 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
      M575 P1 S1 B57600 ; enable support for PanelDue
      M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss

      1 Reply Last reply Reply Quote 0
      • peter247undefined
        peter247 @tracar
        last edited by peter247

        @tracar

        M569 P0 S0 changes the direction ? S0 or S1

        BUT HAVE YOU CHANGED THIS

        ; homey.g
        ; called to home the Y axis
        ;
        ; generated by RepRapFirmware Configuration Tool v3.1.3 on Sat Jun 27 2020 12:25:17 GMT-0600 (Mountain Daylight Time)
        M280 P7 S90
        G91 ; relative positioning
        G1 H2 Z5 F800 ; lift Z relative to current position
        G1 H1 Y-540 F1800 ; move quickly to Y axis endstop and stop there (first pass)
        G1 Y5 F800 ; go back a few mm
        G1 H1 Y-540 F360 ; move slowly to Y axis endstop once more (second pass)
        G1 H2 Z-5 F800 ; lower Z again
        G90 ; absolute positioning
        

        The Y should be a positive number not minus.

        Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

        peter247undefined 1 Reply Last reply Reply Quote 0
        • peter247undefined
          peter247 @peter247
          last edited by

          @peter247

          getting closer !!!!

          Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

          1 Reply Last reply Reply Quote 0
          • tracarundefined
            tracar
            last edited by tracar

            the homing works as it should,
            the only issue now is when i manually move it in the x and y coordinates , the x works as it should.. but the y is reversed

            moving x+ moves it to the right and away from the endstop

            moving y+ does not move and y- moves it away from the endstop towards the front of the printer.

            y machine movement needs to be reversed.

            peter247undefined 1 Reply Last reply Reply Quote 0
            • peter247undefined
              peter247 @tracar
              last edited by peter247

              @tracar

              You need to change Y homing to a positive and change the direction of the motor .. You must do both !!!!!!

              You are back to my first post what's wrong .
              end stops are correct.

              Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

              1 Reply Last reply Reply Quote 0
              • tracarundefined
                tracar
                last edited by

                change y homing in the homeall or the homey

                ; homeall.g
                ; called to home all axes

                M280 P7 S90
                G91 ; relative positioning
                G1 H2 Z5 F800 ; lift Z relative to current position
                G1 H1 X-445 Y-540 F1800 ; move quickly to X or Y endstop and stop there (first pass)
                G1 H1 X-445 ; home X axis
                G1 H1 Y-540 ; home Y axis
                G1 X5 Y5 F800 ; go back a few mm
                G1 H1 X-445 F200 ; move slowly to X axis endstop (second pass)
                G1 H1 Y-540 F200 ; move slowly to Y axis endstop (second pass)
                G1 H1 Z-905 F400 ; home Z axis
                G1 Z5 F200 F800 ; go back a few mm
                G1 H1 Z-905 F100 ; move slowly to Z axis endstop (second pass)

                G90 ; absolute positioning
                G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
                G91 ; relative positioning
                G1 Z5 F800 ; lift Z relative to current position
                G90 ; absolute positioning


                ; homey.g
                ; called to home the Y axis
                ;
                ; generated by RepRapFirmware Configuration Tool v3.1.3 on Sat Jun 27 2020 12:25:17 GMT-0600 (Mountain Daylight Time)
                M280 P7 S90
                G91 ; relative positioning
                G1 H2 Z5 F800 ; lift Z relative to current position
                G1 H1 Y-540 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                G1 Y5 F800 ; go back a few mm
                G1 H1 Y-540 F360 ; move slowly to Y axis endstop once more (second pass)
                G1 H2 Z-5 F800 ; lower Z again
                G90 ; absolute positioning

                peter247undefined 1 Reply Last reply Reply Quote 0
                • peter247undefined
                  peter247 @tracar
                  last edited by peter247

                  @tracar

                  BOTH , Remove ALL the minus sign for Y

                  eg G1 H1 Y-540 F1800 to just G1 H1 Y540 F1800

                  I missed a bit , Change all the positive Y to a minus

                  G1 Y5 F800 to G1 Y-5 F800

                  So really invert anything use the Y axis , ONLY THE Ys NOT THE X or Zs

                  Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                  1 Reply Last reply Reply Quote 0
                  • tracarundefined
                    tracar
                    last edited by

                    changes made. yaxis moves away from the endstops now when homed, all else works as it should

                    this is a coreXY hbot setup.

                    i can change the direction of the steppers if needed by a switch on the driver, as they are external.

                    peter247undefined 1 Reply Last reply Reply Quote 0
                    • peter247undefined
                      peter247 @tracar
                      last edited by

                      @tracar

                      So we did it in the end ? .

                      Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                      1 Reply Last reply Reply Quote 0
                      • tracarundefined
                        tracar
                        last edited by tracar

                        no
                        homing x and y travels to the correct corner and has been fixed,

                        the only thing that is wrong is the y axis movement, ONLY after it has been homed.

                        peter247undefined 1 Reply Last reply Reply Quote 0
                        • peter247undefined
                          peter247 @tracar
                          last edited by

                          @tracar

                          Have you done this to your homing file Y and All ?

                          BOTH , Remove ALL the minus sign for Y
                          eg G1 H1 Y-540 F1800 to just G1 H1 Y540 F1800
                          Change all the positive Y to a minus
                          G1 Y5 F800 to G1 Y-5 F800
                          So really invert anything use the Y axis , ONLY THE Ys NOT THE X or Zs

                          Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                          1 Reply Last reply Reply Quote 0
                          • tracarundefined
                            tracar
                            last edited by

                            i have, problem is when i change thoes it messes with the direction of x, and no matter what direction i change the steppers via the switch x or y is always in the wrong direction

                            peter247undefined 1 Reply Last reply Reply Quote 0
                            • peter247undefined
                              peter247 @tracar
                              last edited by

                              @tracar

                              ONLY CHANGE Y .. Leave x and z alone .

                              Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                              tracarundefined 1 Reply Last reply Reply Quote 0
                              • tracarundefined
                                tracar @peter247
                                last edited by

                                @peter247
                                yes only changed all the y stuff

                                peter247undefined 1 Reply Last reply Reply Quote 0
                                • peter247undefined
                                  peter247 @tracar
                                  last edited by

                                  @tracar

                                  and just Y motor direction ?

                                  Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                                  1 Reply Last reply Reply Quote 0
                                  • tracarundefined
                                    tracar
                                    last edited by

                                    changing the y info only affects the homing direction of the y axis , yes
                                    so changing it the way you want makes the y axis home away from the endstop

                                    peter247undefined 1 Reply Last reply Reply Quote 0
                                    • tracarundefined
                                      tracar
                                      last edited by

                                      this would be so much easier if the x and y steppers were not working together to move the x/y "coreXY"

                                      1 Reply Last reply Reply Quote 0
                                      • peter247undefined
                                        peter247 @tracar
                                        last edited by

                                        @tracar

                                        Changing the Home file swaps the direction and goes away from the end stop , so you change the direction of the motor to fix it.

                                        The old homing file say move to the front , but the motor direction is wrong too , so to head to the back , which you call correct homing .

                                        But you need to tell to head to the back and change the direction of the motors too , you need to change both at the same time.

                                        Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                                        1 Reply Last reply Reply Quote 0
                                        • tracarundefined
                                          tracar
                                          last edited by

                                          the homing directions are all correct, its only after its homed that y motion is backwards,,, so when i am on the web gui and manually click on the y+ or - in the machine movement section the movement is opposite in only the y axis

                                          peter247undefined 1 Reply Last reply Reply Quote 0
                                          • peter247undefined
                                            peter247 @tracar
                                            last edited by

                                            @tracar

                                            So have you inverted all your homing files for y ?

                                            eg G1 H1 Y-540 F1800 to G1 H1 Y540 F1800

                                            Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

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