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

    Y Homing on CoreXY

    Scheduled Pinned Locked Moved Solved
    Using Duet Controllers
    3
    7
    402
    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.
    • CanDo415undefined
      CanDo415
      last edited by

      The Y axis is not homing the way it should do. If the X endstop is active it doesn't home Y at all.
      X axis does as it should.

      ;; system and network ----------------------------------------------------------------------------------
      M111 S0                 ; Debug off
      M550 PVoron				; Machine name and Netbios name (can be anything you like)
      M551 Preprap            ; Machine password (used for FTP)
      
      M552 S1			        ; start network module (must have been configured first with M587)
      M586 P2 S1 T0	        ; enable telnet
      M586 P1 S1 T0	        ; enable ftp
      
      M555 P2					; Set output to look like Marlin
      G21						; Work in millimetres
      G90						; Send absolute coordinates...
      M83						; ...but relative extruder moves
      
      ; Display ----------------------------------------------------------------------------------------------
      M575 P1 S1 B57600   ; activate paneldue
      
      ;; geometry --------------------------------------------------------------------------------------------
      M667 S1                     ; corexy mode
      M208 X0 Y0 Z0 S1.   	    ; S1 = set axes minima
      M208 X350 Y357 Z330 S0  	; S0 = set axes maxima
      
      
      ; drives -----------------------------------------------------------------------------------------------
      ;   A		B
      ;| 0.4 | | 0.5 |
      ;   ----+----   Z-Drives
      ;   | 3 | 2 |
      ;   ----+----
      ;   | 0 | 1 |
      ;   ----+----
      ;     Front
      
      M569 P0.4 S0  D3     									; X motor direction
      M569 P0.5 S0  D3    									; Y motor direction
      M569 P0.0 S1  D3    									; Z0 motor direction
      M569 P0.1 S0  D3    									; Z1 motor direction
      M569 P0.2 S1  D3    									; Z2 motor direction
      M569 P0.3 S0  D3    									; Z3 motor direction
      M569 P1.0 S1      									; E0 motor direction	prefeed on colorselector
      M569 P1.1 S0      									; E1 motor direction	hotend
      M569 P1.2 S0      									; U motor direction	colorselector
      
      M584 X0.4 Y0.5 Z0.0:0.1:0.2:0.3 E1.1:1.1 U1.2		; motor bindings
      M84 S3600                			          		; motor idle timeout
      M350 X16 Y16 Z16 E16 U16 I1         		    	; set microstepping
      M92 X80 Y80 Z400 E426 U400          				; set microsteps per mm
      M566 X5000 Y5000 Z1000 E1000 U1000			        ; instantaneous speed change / jerk (mm/min)
      M203 X21000 Y21000 Z8000 E400 U1500      			; maximum speed (mm/min)
      M201 X1500 Y1500 Z300 E500  U1500 					; maximum acceleration (mm/s²)
      M906 X1100 Y1100 Z900 E900 U900 I30					; motor drive current
      M84 S30												; Set idle timeout
      
      
      endstops------------------------------------------------------------------------------------------------
      M574 X1 S1 P"io1.in"   ; X min active low endstop switch IO1
      M574 Y2 S1 P"io2.in"   ; Y min active low endstop switch IO2
      M574 Z1 S1 P"io4.in"   ; Z min active low endstop switch IO3
      
      ;Filamentsensor-----------------------------------------------------------------------------------------
      ;M591 D1 P7 C"e1_stop" L3.3 R60:140 E7 A1 S1				; Pulse-type filament monitor on pin e1stop, enabled, sensitivity 3.3mm/pulse, allowed movement 90% to 130%, check every 7.0mm 
      
      ; Bed leveling params ----------------------------------------------------------------------------------
      ; define the z-probe, unsure, might not been needed
      ;M558 P5 C"zprobe.in" I1 A5 H1.45 R0.1 F65 T7000 A5 S0.01 B1
      M950 S0 C"io3.out"                                  ; create servo pin 0 for BLTouch
      M558 P9 C"io3.in" H5 F120 T6000                     ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X15.5 Y-25.75 Z2.042                       ; set Z probe trigger value, offset and trigger height
      ;M557 X30:200 Y15:195 S80                           ; define mesh grid
      
      M671 X-46:-46:345:345 Y9:368:368:9 S20	        ; Z leadscrews positions
      M557 X50:300 Y50:300 S25                        ; Bed mesh grid
      
      ; thermal section --------------------------------------------------------------------------------------
      ; M308 S3 Y"mcu-temp" A"Board" ; Board thermal sensor
      ; M912 P0 S-8                  ; MCU tempurature sensor correction (subtract 8°K)
      
      ;Bed heater single thermistor setup, not used
      ;M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 A"Bed Pad"  ; configure sensor 0 as thermistor on pin temp0
      ;M950 H0 C"bedheat" T0                                      ; create bed heater output on out0 and map it to sensor 0
      ;M143 H0 S120                                               ; set temperature limit for heater 0 to 120C
      ;M307 H0 B0 S0.6                                            ; disable bang-bang mode for the bed heater and set PWM limit
      ;M140 P0 H0                                                 ; Mark heater h0 as bed heater (for DWC)
      
      ;Bed heater dual thermistor setup ----------------------------------------------------------------------
      M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 A"Bed Pad"   ; configure sensor 0 as thermistor on pin bedtemp (pad sensor)
      M308 S2 P"e1temp" Y"thermistor" T100000 B3950 A"Bed Plate"  ; configure sensor 2 as thermistor on pin e1temp (plate sensor)
      M950 H0 C"bedheat" T2 Q10                                   ; create bed heater output on out0 and map it to sensor 2 (plate sensor). Set PWM frequency to 10Hz
      M140 P0 H0                                                  ; Mark heater H0 as bed heater (for DWC)
      M143 H0 P1 T0 A2 S115 C0                                    ; Regulate (A2) bed heater (H0) to have pad sensor (T0) below 110°C. Use Heater monitor 1 for it
      M143 H0 P2 T0 A1 S125 C0                                    ; Shut off (A1) bed heater (H0) if pad sensor (T0) exceeds 120°C. Use Heater monitor 2 for it
      M143 H0 S120                                                ; Set bed heater max temperature to 120°C, use implict monitor 0 which is implicitly configured for heater fault
      M307 H0 B1 S0.6                                             ; Enable Bang Bang mode and set PWM to 60% to avoid warping
      
      
      ;HotEnd ------------------------------------------------------------------------------------------------
      ;M308 S1 P"e0temp" Y"thermistor" T100000 B4685 C6.5338987554e-08 A"Hotend"
      M308 S1 P"e3temp" Y"thermistor" T100000 B4725 C7.060000e-8 A"Hotend" ; configure sensor 1 as thermistor (ATC Semitec 104GT2)
      M950 H3 C"Out3" T1                                                 ; create nozzle heater output on e0heat and map it to sensor 1
      M143 H3 S300                                                         ; set temperature limit for heater 1 to 300°C
      ;M307 H1 B0 S1.00                                                    ; disable bang-bang mode for the nozzle heater and set PWM limit
      
      ;Chamber sensor (DHT22) --------------------------------------------------------------------------------
      ;M308 S7 P"spi.cs6" Y"dht22"    A"Chamber Temp"          ; define DHT22 temperature sensor
      ;M308 S8 P"S7.1" Y"dhthumidity" A"Chamber Hum[%]"        ; Attach DHT22 humidity sensor to secondary output of temperature senso
      
      ; fans -------------------------------------------------------------------------------------------------
      ; part cooler OUT 7
      M950 F0 C"out7" Q500            ; part cooler, set to 20Hz PWM
      M106 P0 C"HotEnd"             ; Name it "PartCooler"
      
      ;Hot End OUT 8
      M950 F1 C"out8" Q20             ; hotend fan, set to 20Hz PWM
      M106 P1 C"Part"        ; attach hotend fan to heater 1 and set activation temperature to 60°C
      ;M106 P1 T60 H1 C"ToolFan"      ; attach hotend fan to heater 1 and set activation temperature to 60°C
      
      ;Hot End OUT 1.8
      M950 F1 C"1.out8" Q20             ; hotend fan, set to 20Hz PWM
      M106 P1 C"Part2"        ; attach hotend fan to heater 1 and set activation temperature to 60°C
      ;M106 P1 T60 H1 C"ToolFan"      ; attach hotend fan to heater 1 and set activation temperature to 60°C
      
      ; controller / electronics fan OUT 4:5:6
      ;M950 F2 C"out4" Q500            ; electronics compartment fan on duex, set to 20Hz PWM
      ;M106 P2 H4 T45:50 ;C"ElectronicsFan1" ; fan is activated when MCU reports 35°C; runs on full speed from 50°C on
      ;M950 F3 C"out5" Q500            ; electronics compartment fan on duex, set to 20Hz PWM
      ;M106 P3 H4 T45:50 ;C"ElectronicsFan2"
      ;M950 F4 C"out6" Q500            ; electronics compartment fan on duex, set to 20Hz PWM
      ;M106 P4 H4 T45:50 ;C"ElectronicsFan3"
      
      ; chamber Fan
      ; M950 F3 C"duex.fan4" Q20          ; chamber fan on duex, set to 20Hz PWM
      ; M106 P3 T40:45 H7 C"ChamberFan"   ; Chamberfan is activated when chamber thermistor reached 40°C; runs on full speed from 45°C on
      
      
      ; tools ------------------------------------------------------------------------------------------------
      M563 P0 S"White" D0:1 H2 F0:1                           ; 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
      M568 P0 S1                                              ; enable mixing for tool 0
      M567 P0 E0.5:0.5                                        ; set mixing ratios for tool 0
      
      M563 P1 S"Zusatz 1" D1:0 H2 F0:1                        ; define tool 1
      G10 P1 X0 Y0 Z0                                         ; set tool 1 axis offsets
      G10 P1 R0 S0                                            ; set initial tool 1 active and standby temperatures to 0C
      M568 P1 S1                                              ; enable mixing for tool 1
      M567 P1 E0.5:0.5                                        ; set mixing ratios for tool 1
      
      M563 P2 S"Zusatz 2" D1:0 H2 F0:1                        ; define tool 2
      G10 P2 X0 Y0 Z0                                         ; set tool 2 axis offsets
      G10 P2 R0 S0                                            ; set initial tool 2 active and standby temperatures to 0C
      M568 P2 S1                                              ; enable mixing for tool 2
      M567 P2 E0.5:0.5                                        ; set mixing ratios for tool 2
      
      M563 P3 S"Magneta" D0:1 H2 F0:1                         ; define tool 3
      G10 P3 X0 Y0 Z0                                         ; set tool 3 axis offsets
      G10 P3 R0 S0                                            ; set initial tool 3 active and standby temperatures to 0C
      M568 P3 S1                                              ; enable mixing for tool 3
      M567 P3 E0.5:0.5                                        ; set mixing ratios for tool 3
      
      M563 P4 S"Cyan" D1:0 H2 F0:1                            ; define tool 4
      G10 P4 X0 Y0 Z0                                         ; set tool 4 axis offsets
      G10 P4 R0 S0                                            ; set initial tool 4 active and standby temperatures to 0C
      M568 P4 S1                                              ; enable mixing for tool 4
      M567 P4 E0.5:0.5                                        ; set mixing ratios for tool 4
      
      M563 P5 S"Yellow" D0:1 H2 F0:1                          ; define tool 5
      G10 P5 X0 Y0 Z0                                         ; set tool 5 axis offsets
      G10 P5 R0 S0                                            ; set initial tool 5 active and standby temperatures to 0C
      M568 P5 S1                                              ; enable mixing for tool 5
      M567 P5 E0.5:0.5                                        ; set mixing ratios for tool 5
      
      M563 P6 S"Black" D0:1 H2 F0:1                           ; define tool 6
      G10 P6 X0 Y0 Z0                                         ; set tool 6 axis offsets
      G10 P6 R0 S0                                            ; set initial tool 6 active and standby temperatures to 0C
      M568 P6 S1                                              ; enable mixing for tool 6
      M567 P6 E0.5:0.5                                        ; set mixing ratios for tool 6
      
      M563 P7 S"Direct only" D0:1 H2		                    ; define tool 7
      G10 P7 X0 Y0 Z0                                         ; set tool 7 axis offsets
      G10 P7 R0 S0                                            ; set initial tool 7 active and standby temperatures to 0C
      M568 P7 S1                                              ; enable mixing for tool 7
      M567 P7 E0:0.5                                        	; set mixing ratios for tool 7
      
      ;MISC --------------------------------------------------------------------------------------------------
      T0                  ; activate tool 0
      
      ;LED
      M150 X0 ;Dotstar LED strip
      
      ; read config-override.g
      ;M501
      
      ;; firmware retraction ---------------------------------------------------------------------------------
      ;; Choose one as your default:
      ;M98 P"/macros/retraction/quiet_nozhop.g
      ;M98 P"/macros/retraction/quiet_zhop.g
      ;M98 P"/macros/retraction/pa_nozhop.g"
      ;M98 P"/macros/retraction/pa_zhop.g"
      
      
      ;homey
      G91               ; relative positioning
      G1 H2 Z5 F6000    ; lift Z relative to current position
      G1 H1 Y+360 F6000 ; move quickly to Y axis endstop and stop there (first pass)
      G1 Y5 F6000       ; go back a few mm
      G1 H1 Y+360 F360  ; move slowly to Y axis endstop once more (second pass)
      G1 H2 Z-5 F6000   ; lower Z again
      G90               ; absolute positioning
      
      ; homex.g
      G91               ; relative positioning
      G1 H2 Z5 F6000    ; lift Z relative to current position
      G1 H1 X-355 F6000 ; move quickly to X axis endstop and stop there (first pass)
      G1 X5 F6000       ; go back a few mm
      G1 H1 X-355 F360  ; move slowly to X axis endstop once more (second pass)
      G1 H2 Z-5 F6000   ; lower Z again
      G90               ; absolute positioning
      
      
      Gixxerfastundefined fcwiltundefined 2 Replies Last reply Reply Quote 0
      • Gixxerfastundefined
        Gixxerfast @CanDo415
        last edited by Gixxerfast

        @cando415 May I ask what type of Voron this is and where you have your endstops?

        Also whattype of endstops you have, NC microswitches?

        Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
        Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
        Ender 3 Pro with BTT SKR-2 + RRF

        1 Reply Last reply Reply Quote 0
        • CanDo415undefined
          CanDo415
          last edited by

          Ita a voron2.4. Endstops are 2 seperated NC-switches in the top left corner.

          Gixxerfastundefined 1 Reply Last reply Reply Quote 0
          • Gixxerfastundefined
            Gixxerfast @CanDo415
            last edited by Gixxerfast

            @cando415

            OK, I have a 2.4 as well and even though mine isn't a standard setup I home it on max (300, 305) in the top right corner.

            I see two things when looking quickly:

            1. In the homey.g you go relative +360mm and then back up by trying to go relative +5 mm if I read it correctly?
            2. I have a pullup on my switches
            ; Endstops
            M574 X2 S1 P"^121.io0.in"
            M574 Y2 S1 P"^0.io1.in"
            M574 Z0 p"nil"
            

            Voron V2.4 (#1317) with Duet 3 Mini5+ Wifi and 1LC v1.1 Toolboard
            Voron V0.1 (#637) with Duet 3 Mini 5+ Wifi and 1LC v1.2 Toolboard
            Ender 3 Pro with BTT SKR-2 + RRF

            CanDo415undefined 1 Reply Last reply Reply Quote 2
            • fcwiltundefined
              fcwilt @CanDo415
              last edited by

              @cando415

              You have this in your Y homing file:

              G1 H1 Y+360 F6000 ; move quickly to Y axis endstop and stop there (first pass)
              G1 Y5 F6000       ; go back a few mm
              G1 H1 Y+360 F360  ; move slowly to Y axis endstop once more (second pass)
              

              All three of those moves are in the same direction.

              Based on the G1 H1 moves the G1 Y5 should be G1 Y-5.

              Frederick

              Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

              1 Reply Last reply Reply Quote 3
              • CanDo415undefined
                CanDo415 @Gixxerfast
                last edited by CanDo415

                @gixxerfast & @fcwilt
                yes. -5 🤦

                @Gixxerfast
                checked the Endstopcontroller, rewired it. now it works fine

                fcwiltundefined 1 Reply Last reply Reply Quote 2
                • fcwiltundefined
                  fcwilt @CanDo415
                  last edited by

                  @cando415 said in Y Homing on CoreXY:

                  @gixxerfast & @fcwilt
                  yes. -5 🤦

                  @Gixxerfast
                  checked the Endstopcontroller, rewired it. now it works fine

                  Glad to hear you got it working.

                  Frederick

                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                  1 Reply Last reply Reply Quote 0
                  • dc42undefined dc42 marked this topic as a question
                  • dc42undefined dc42 has marked this topic as solved
                  • First post
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA