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 @droftarts
      last edited by tracar

      @droftarts said in hbot homes correctly but prints mirrored ,:
      current:
      M280 P7 S10 :deploy bltouch
      M280 P7 S90 I1 ;retract pin

      also works the same as :
      M280 P7 S90 ;retract pin without I1
      and with : instead of ; normal?

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

        i have printing working as it should, on 2XX

        still can not get dual independant z working with bltouch.

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

          @droftarts

          with it on 3.11
          and the servo inverted - M950 S0 C"!exp.heater7" ; create servo pin 0 for BLTouch

          i get the pin to extend with m401. it will retract with m402

          ;Alarm Release + Pin UP
          M280 P7 S160

          changed to?
          *

          ; Proberetract.g
          M280 P7 S90

          change to M402

          ; probedeploy.g
          M280 P7 S10

          change to M401

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

            figgerd it out must all be P0

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

              @tracar said in hbot homes correctly but prints mirrored ,:

              figgerd it out must all be P0

              The M950 creates a servo number defined by S. So S0 in your case. The M280 P value must correspond to the same servo index number you want to control. So in your case P0.

              Z-Bot CoreXY Build | Thingiverse Profile

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

                @Phaedrux
                im happy,, only 1 item left

                how to configure this as i use external stepper drivers
                mine: M584 X6 Y5 Z7:8 U8 E3
                ; 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

                need to change:
                M574 Z1 S1 P"zstop+????" ; configure active-high endstops for low end on Z via pins zstop and Ustop

                im on 3.11 want to make independant z and u homeing with each theit own endstop

                ; Configuration file for Duet WiFi (firmware version 3)
                ; executed by the firmware on start-up
                ;
                ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sun Aug 30 2020 09:00:14 GMT-0600 (Mountain Daylight Time)

                ; General preferences
                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 U goes forwards
                M569 P3 S1 ; physical drive extruder goes forwards
                M584 X6 Y5 Z7:8 U8 E3 ; set drive mapping
                M671 X-50:490 Y330:330 S5 ; x leadscrew position left to right from o,o on y axis , S5 means can adjust up to 5 mm
                M350 X16 Y16 Z16 U16 E16 I1 ; configure micro stepping with interpolation
                M92 X200.00 Y200.00 Z800.00 U800.00 E138.23 ; set steps per mm
                M566 X200.00 Y200.00 Z12.00 U12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
                M203 X25000.00 Y25000.00 Z1000.00 U1000.00 E2400.00 ; set maximum speeds (mm/min)
                M201 X400.00 Y400.00 Z20.00 U20.00 E400.00 ; set accelerations (mm/s^2)
                M906 X300 Y300 Z300 U300 E800 I30 ; set motor currents (mA)
                M84 S30 ; Set idle timeout

                ; Axis Limits
                M208 X0 Y0 Z0 U0 S1 ; set axis minima
                M208 X440 Y535 Z900 U900 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
                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 X70:400 Y180:500 S100 ; 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 B0 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 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 S"swiss" 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

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

                  @tracar said in hbot homes correctly but prints mirrored ,:

                  M574 Z1 S1 P"zstop+????" ; configure active-high endstops for low end on Z via pins zstop and Ustop
                  im on 3.11 want to make independant z and u homeing with each theit own endstop

                  Well what endstop are you using for U? e0stop? e1stop? Those are really your only options unless using a duex.

                  Z-Bot CoreXY Build | Thingiverse Profile

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

                    @Phaedrux said in hbot homes correctly but prints mirrored ,:

                    Well what endstop are you using for U? e0stop? e1stop? Those are really your only options unless using a duex

                    E0

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

                      M574 Z1 S1 P"zstop+e0stop"

                      Z-Bot CoreXY Build | Thingiverse Profile

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

                        This also means you don't need to create a U drive at all. Get rid of all references to U. The Z axis will use drivers 7 and 8 and the endstops will be used to level them without any other config.

                        You only need a U drive defined if you want manual control of it.

                        Z-Bot CoreXY Build | Thingiverse Profile

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

                          got it !!!

                          ; Configuration file for Duet WiFi (firmware version 3)
                          ; executed by the firmware on start-up
                          ;
                          ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sun Aug 30 2020 09:00:14 GMT-0600 (Mountain Daylight Time)

                          ; General preferences
                          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 U goes forwards
                          M569 P3 S1 ; physical drive extruder goes forwards
                          M584 X6 Y5 Z7:8 E3 ; set drive mapping
                          M671 X-50:490 Y330:330 S5 ; x leadscrew position left to right from o,o on y axis , S5 means can adjust up to 5 mm
                          M350 X16 Y16 Z16 E16 I1 ; configure micro stepping with interpolation
                          M92 X200.00 Y200.00 Z800.00 E138.23 ; set steps per mm
                          M566 X200.00 Y200.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
                          M203 X25000.00 Y25000.00 Z1000.00 E2400.00 ; set maximum speeds (mm/min)
                          M201 X400.00 Y400.00 Z20.00 E400.00 ; set accelerations (mm/s^2)
                          M906 X300 Y300 Z300 E800 I30 ; set motor currents (mA)
                          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+!e0stop" ; configure active-high endstops for low end on Z via pins zstop and e0stop

                          ; Z-Probe
                          ;M950 S0 C"exp.heater7" ; create servo pin 0 for BLTouch
                          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 X70:400 Y180:500 S100 ; 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 B0 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 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 S"swiss" 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

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

                            @tracar said in hbot homes correctly but prints mirrored ,:

                            G31 P500 X0 Y0 Z0.445 ; set Z probe trigger value, offset and trigger height

                            Don't forget to set your XY offsets for the BLtouch. As it is now, it thinks the BLtouch is exactly where the nozzle is.

                            Z-Bot CoreXY Build | Thingiverse Profile

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

                              @Phaedrux
                              i have not set that yet, but i will after the printer is rebuilt Squared and finalized .

                              and again Thankyou for your patience and help on this !!!!

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

                                No problem.

                                Z-Bot CoreXY Build | Thingiverse Profile

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

                                  @Phaedrux
                                  are you aware of anywhere i can download differnt macro files for differnt things, fully auto scripts, manual stuff.... dont care what they are, just want to find, learn, modify , try things out see what i can do with this printer. if you have any stuff you can pass on to me , please send me a file with a side of everything 😉

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

                                    You can take a look at mine if you like.

                                    https://www.dropbox.com/s/td86jdrztubq2dg/macros.zip?dl=0

                                    https://www.dropbox.com/s/k25fuhdrr7c3miy/Config V22.zip?dl=0

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    tracarundefined 2 Replies Last reply Reply Quote 0
                                    • tracarundefined
                                      tracar @Phaedrux
                                      last edited by

                                      @Phaedruxnice, Thanks this gives me hours of hair pulling fun

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

                                        @Phaedrux

                                        after upgrading to 3xx this wont save its probe data
                                        what needs to be changed?

                                        ; bed.g
                                        ; called to perform automatic bed compensation via G32
                                        ;
                                        ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sun Aug 02 2020 19:54:07

                                        ; BLTOUCH PREP
                                        ;
                                        M400
                                        G4 S1
                                        M280 P0 S160 I1 ; Alarm Release and Push-Pin UP just in case it's in alarm and deployed
                                        G4 S1
                                        M402 ; Retract probe just in case it's down
                                        M400
                                        M561 ; clear all bed compensation
                                        G28 ; home all axis
                                        G90 ; absolute positioning
                                        G1 X220 Y330 Z10 ; move probe to center of the bed
                                        G30 ; set Z0 position with the probe
                                        ;G1 Z25 ; return to 25mm height
                                        G30 P0 X440 Y330 Z-99999 ; probe near a leadscrew, half way along Y axis
                                        G30 P1 X0 Y330 Z-99999 S2 ; probe near a leadscrew and calibrate 2 motors
                                        G1 X220 Y330 Z25 ; move probe to center of the bed
                                        M500 P31; save results
                                        M501 ; load new data
                                        G30 ; set Z0 position with the probe
                                        M280 P7 S90
                                        M402 ; retract probe

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

                                          @tracar said in hbot homes correctly but prints mirrored ,:

                                          M280 P7 S90

                                          If you're on RRF3 P7 should be P0

                                          @tracar said in hbot homes correctly but prints mirrored ,:

                                          M500 P31; save results

                                          Does it work if you put a space between the P31 and the ; ?

                                          The only issues I am aware of with M500 is that it's currently not supported with the Duet 3 when used with a Pi.

                                          Do you get any error messages if you send M500 by itself?

                                          If you delete your config-override.g and send M500 does it get created?'

                                          Actually, looking again, it doesn't look like you're using G30 S-3 to measure the probe offset with this macro, so M500 P31 isn't going to do anything here. What are you expecting it to save?

                                          Z-Bot CoreXY Build | Thingiverse Profile

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

                                            @Phaedrux
                                            i moved the m500 and m501 below the line under the 501, seens to work and generate the correct offset and save it in a newly created config override file correctly......as i deleted to test with m32
                                            verified by homing z, droping the table and baby stepping up till the probe is triggered. the z axis ,matches what was automatically stored

                                            no error message when send m500.

                                            ; bed.g
                                            ; called to perform automatic bed compensation via G32
                                            ;
                                            ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sun Aug 02 2020 19:54:07

                                            ; BLTOUCH PREP
                                            ;
                                            M400
                                            G4 S1
                                            M280 P0 S160 I1 ; Alarm Release and Push-Pin UP just in case it's in alarm and deployed
                                            G4 S1
                                            M402 ; Retract probe just in case it's down
                                            M400
                                            M561 ; clear all bed compensation
                                            G28 ; home all axis
                                            G90 ; absolute positioning
                                            G1 X220 Y330 Z10 ; move probe to center of the bed
                                            G30 ; set Z0 position with the probe
                                            G30 P0 X440 Y330 Z-99999 ; probe near a leadscrew, half way along Y axis
                                            G30 P1 X0 Y330 Z-99999 S2 ; probe near a leadscrew and calibrate 2 motors
                                            G1 X220 Y330 Z25 ; move probe to center of the bed
                                            M500 P31; save results
                                            M501 ; load new data
                                            G30 ; set Z0 position with the probe
                                            M280 P0 S90
                                            M402 ; retract probe
                                            G28 ; home all axis

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