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

    Y-Axis after finished print moves to the front and crash

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    8
    833
    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.
    • A Former User?
      A Former User
      last edited by

      Dear Duet Team

      I have a question regarding the movement of my Y-Axis when the print is finished. I am using a Duet Mini 5+ in Ender 3.

      The issue it is only reproduced when the print it is finished, inmediatly the Y-Axis move to the front of my Ender 3 and then crash with the limit of the bed Axis, because still trying to move forward.

      I did some changes in my Config.g and my other files for Home.all and Y and X home

      This issue did not happen when I am triggering "Home All" in the web interface. Also when I am cancelling the print this issue is not happening, it is only when the print it is finished.

      Here is my Config.g

      ; Configuration file for Duet 3 Mini 5+ (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed May 19 2021 21:19:18 GMT+0200 (Mitteleuropäische Sommerzeit)
      
      ; General preferences
      G90                                                ; send absolute coordinates...
      M83                                                ; ...but relative extruder moves
      M550 P"Ender3"                                     ; set printer name
      
      ; Network
      M552 S1                                            ; enable network
      M586 P0 S1                                         ; enable HTTP
      M586 P1 S0                                         ; disable FTP
      M586 P2 S0                                         ; disable Telnet
      
      ; Drives
      M569 P0.0 S0                                       ; physical drive 0.0 goes backwards
      M569 P0.1 S0                                       ; physical drive 0.1 goes backwards
      M569 P0.2 S1                                       ; physical drive 0.2 goes forwards
      M569 P0.3 S0                                       ; physical drive 0.3 goes backwards
      M584 X0.0 Y0.1 Z0.2 E0.3                           ; set drive mapping
      M350 X16 Y16 Z16 E16 I1                            ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z400.00 E95.00                   ; set steps per mm
      M566 X900.00 Y900.00 Z60.00 E300.00                ; set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z600.00 E3600.00            ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z200.00 E2500.00              ; set accelerations (mm/s^2)
      M906 X600 Y600 Z600 E900 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 X235 Y235 Z260 S0                             ; set axis maxima
      
      ; Endstops									; configure active-high endstop for low end on Y via pin io6.in
      M574 Y1 S1 P"io6.in"
      M574 X1 S1 P"io5.in"
      M574 Z1 S1 P"io2.in"                               ; configure active-high endstop for low end on Z via pin io2.in
      
      ; Z-Probe
      M558 P8 C"io3.in" H5 F120 T6000                    ; disable Z probe but set dive height, probe speed and travel speed
      G31 P500 X0 Y0 Z2.5
      M557 X36:200 Y20:215 S30                           ; define mesh grid
      
      ; Heaters
      M308 S0 P"temp0" Y"thermistor" T98801 B4185        ; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"out0" T0                                 ; create bed heater output on out0 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 S80                                        ; set temperature limit for heater 0 to 80C
      M308 S1 P"temp1" Y"thermistor" T98801 B4185        ; configure sensor 1 as thermistor on pin temp1
      M950 H1 C"out1" T1                                 ; create nozzle heater output on out1 and map it to sensor 1
      M307 H1 B0 S1.00                                   ; disable bang-bang mode for heater  and set PWM limit
      M143 H1 S240                                       ; set temperature limit for heater 1 to 240C
      
      ; Fans
      M950 F0 C"out3" Q500                               ; create fan 0 on pin out3 and set its frequency
      M106 P0 C"PartCool" S0 H-1                         ; set fan 0 name and value. Thermostatic control is turned off
      M950 F1 C"out4" Q500                               ; create fan 1 on pin out4 and set its frequency
      M106 P1 C"HotEnd" S1 H1:0 T45                      ; set fan 1 name and value. Thermostatic control is turned on
      M950 F2 C"out5" Q500                               ; create fan 2 on pin out5 and set its frequency
      M106 P2 C"CaseFan" S1 H1:0 T45                     ; set fan 2 name and value. Thermostatic control is turned on
      
      ; Tools
      M563 P0 S"Hotend" 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
      M501                                               ; load saved parameters from non-volatile memory
      M911 S21 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
      T0                                                 ; select first tool
      
      
      

      Homeall.g

      ; homeall.g
      ; called to home all axes
      ;
      ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed May 19 2021 21:19:18 GMT+0200 (Mitteleuropäische Sommerzeit)
      
      G91                     ; relative positioning
      G1 H2 Z5 F6000          ; lift Z relative to current position
      G1 H1 X-240 Y-240 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
      G1 H2 X5 Y5 F6000
      G1 H1 X-240 Y-240 F360
      G1 X120 Y90 F6000 ; position probe at center of bed
      G30 ; probe for Z0
      G29 S1  ; Enable mesh compensation
      
      ; Uncomment the following lines to lift Z after probing
      ;G91                    ; relative positioning
      ;G1 Z5 F100             ; lift Z relative to current position
      ;G90                    ; absolute positioning
      
      

      Homey.g

      ; homey.g
      ; called to home the Y axis
      ;
      ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed May 19 2021 21:19:18 GMT+0200 (Mitteleuropäische Sommerzeit)
      
      G91				; relative positioning
      G1 H2 Z5 F6000    ; lift Z relative to current position
      G1 H1 Y-240 F1800 ; move quickly to Y axis endstop and stop there (first pass)
      G1 H2 Y5 F6000    ; go back a few mm
      G1 H1 Y-240 F360  ; move slowly to Y axis endstop once more (second pass)
      G1 H2 Z-5 F6000   ; lower Z again
      G90               ; absolute positioning
      
      
      
      

      Homex.g

      ; homez.g
      ; called to home the Z axis
      ;
      ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed May 19 2021 21:19:18 GMT+0200 (Mitteleuropäische Sommerzeit)
      G91               ; relative positioning
      G1 H2 Z5 F6000    ; lift Z relative to current position
      G1 H1 Z-265 F1800 ; move Z down until the endstop is triggered
      G92 Z0            ; set Z position to axis minimum (you may want to adjust this)
      
      ; Uncomment the following lines to lift Z after probing
      ;G91              ; relative positioning
      ;G1 Z5 F100       ; lift Z relative to current position
      ;G90              ; absolute positioning
      
      

      I hope I have explain correctly my situation, for sure is very easy to fix but I have tried multiple settings and still I am not able to fix it.

      If you need the slicer from Cura I can share too

      My slicer Start G-Code

      M201 X500.00 Y500.00 Z200.00 E5000.00 ;Setup machine max acceleration
      M203 X9000.00 Y9000.00 Z600.00 E6000.00 ;Setup machine max feedrate
      M566 X900.00 Y900.00 Z60.00 E300.00
      M204 P500.00 R1000.00 T500.00 ;Setup Print/Retract/Travel acceleration
      M205 X8.00 Y8.00 Z0.40 E5.00 ;Setup Jerk
      M220 S100 ;Reset Feedrate
      M92 X80.00 Y80.00 Z400.00 E93.00 
      M221 S100 ;Reset Flowrate
      
      G28 ;Home
      
      G29 S1
      G92 E0 ;Reset Extruder
      G1 Z8.0 F3000 ;Move Z Axis up
      G1 X10.1 Y20 Z0.28 F5000.0 ;Move to start position
      G1 X10.1 Y200.0 Z0.28 F1500.0 E15 ;Draw the first line
      G1 X10.4 Y200.0 Z0.28 F5000.0 ;Move to side a little
      G1 X10.4 Y20 Z0.28 F1500.0 E30 ;Draw the second line
      G92 E0 ;Reset Extruder
      G1 Z2.0 F3000 ;Move Z Axis up
      

      My slicer End G-Code

      G91 ;Relative positioning
      G1 E-2 F2700 ;Retract a bit
      G1 E-2 Z0.2 F2400 ;Retract and raise Z
      G1 X5 Y5 F3000 ;Wipe out
      G1 Z10 ;Raise Z more
      G90 ;Absolute positioning
      
      G1 X0 Y{machine_depth} ;Present print
      M106 S0 ;Turn-off fan
      M104 S0 ;Turn-off hotend
      M140 S0 ;Turn-off bed
      
      M84 X Y E ;Disable all steppers but Z
      
      
      cosmowaveundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
      • cosmowaveundefined
        cosmowave @A Former User
        last edited by

        @javcab I think something in your Endcode is wrong:

        G1 X0 Y{machine_depth} ;Present print
        

        What is your value for "machine_depth" ?

        Mankati FSXT+, DeltaTowerV2, E3D MS/TC

        A Former User? 1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User @cosmowave
          last edited by

          @cosmowave Hi, thanks for the response.

          If you mean to the depth of the size and travel of my bed in the Y-Axis, I am using 240mm, the standard used by Ender 3

          Probably I am not understanding your question, please let me know.

          Thank you again
          Javier

          cosmowaveundefined 1 Reply Last reply Reply Quote 0
          • cosmowaveundefined
            cosmowave @A Former User
            last edited by

            @javcab In your slicer End-gcode line nr.8 is following code:

            G1 X0 Y{machine_depth} ;Present print
            

            Which value has your variable"machine_depth"?
            I think, your printer moves to that Y position. When your variable "machine_depth" has a wrong value, then the printer can crash!

            Mankati FSXT+, DeltaTowerV2, E3D MS/TC

            A Former User? 1 Reply Last reply Reply Quote 0
            • A Former User?
              A Former User @cosmowave
              last edited by A Former User

              @cosmowave I will try just G28, probably this will return all Axis to Homing position. As I mentioned, when I am homing the Axis the bed is not crashing

              🙂 I will let you know

              I forgot to mention. I have the Ender 6 and I saw in the End Code that is using G28 for returning to home all the Axis after finish the print

              cosmowaveundefined 1 Reply Last reply Reply Quote 0
              • cosmowaveundefined
                cosmowave @A Former User
                last edited by cosmowave

                @javcab Eventually it is better to home only the X and Y axis with
                "G28 X Y" at the end of a print.
                But this is depending of your printer, if it can crash the Z axle into the printed object when homing!?

                Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                A Former User? 1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User @cosmowave
                  last edited by

                  @cosmowave Right, good advice. I will do the test. Thank you again for your time and looking to my problem

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator @A Former User
                    last edited by

                    @javcab said in Y-Axis after finished print moves to the front and crash:

                    G1 X0 Y{machine_depth} ;Present print

                    What does that value evaluate to in a sliced file? As in, what does that look like in a sliced gcode file?

                    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