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

    U going to End Stop Unexpectedly

    Scheduled Pinned Locked Moved
    My Duet controlled machine
    2
    2
    131
    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.
    • JRCLundefined
      JRCL
      last edited by

      I'm working on a custom machine that has a few additional axes outside your standard cartesian printer. When I run the print from my slicer, it starts out with a G28 command and homes correctly as setup in my "homeall.g" . However, after that the U axis will unexpectedly go to its axis limit (where the end stop is) right after successfully homing all, which I don't want, and then start the print. I'm not sure where the issue lies in the scope of my config.g, homeu.g, homeall.g, or actual g.code command file. Any help is appreciated

      ; config.g file
      ; Endstops
      M574 X1 S3                                      ; configure sensorless endstop for low end on X
      M574 Y1 S3                                      ; configure sensorless endstop for low end on Y
      M574 U1 S1 P"e0stop"                  ; configure switch-type (e.g. microswitch) endstop for low end on U via pin estop
      M574 V1 S3 					; configure sensorless endstop for low end on V
      M915 X Y R0 F0 S5  			; configure stall detection for X and Y
      M915 V R0 F0 S40			; configure stall detection for V
      M915 V R0 F0 S5				; configure stall detection for Z
      
      ; HOME U 
      M400
      M913 U50  ; drop motor current to 70%
      M400 G91; relative positioning
      G1 H1 U700 F40000 ; move quickly to U axis endstop and stop there (first pass)
      G1 H2 U-29 F40000 ; move quickly to backwards 
      G90 ; absolute positioning
      M400
      M913 U100 Y100 ; return current to 100%
      M400
      
      ; HOME ALL
      M98 P"homev.g"
      M98 P"homeu.g"
      M98 P"homex.g"
      M98 P"homey.g"
      M98 P"homez.g"
      
      ;start of actual print file
      M107
      M104 S210 ; set temperature
      G28		; home all 
      G1 Z5 F5000 ; lift nozzle
      
      ; Filament gcode
      
      M109 S210 ; set temperature and wait for it to be reached
      G21 ; set units to millimeters
      G90 ; use absolute coordinates
      M82 ; use absolute distances for extrusion
      G92 E0
      G1 Z0.200 F9000.000
      
      
      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        This appears to be a duplicate of your other thread. I will lock it. Please keep to a single thread per issue.

        Z-Bot CoreXY Build | Thingiverse Profile

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