how to change homing sequence



  • @patel

    you need to either replace G29 S1 with G29
    or do a probing manually with G29 once



  • @veti
    https://youtu.be/YL8uC7bgR6U

    i try to change s2 to s1 but same did not change anything. x axis did not stop why switch located to corner .



  • @patel
    my response was to your heightmap.csv not found



  • @veti still popup massage during all home axis process



  • @dc42
    patel 5 Aug 2019, 12:13
    this file copy from M3D promega

    ; homeall.g
    ; called to home all axes
    ;

    ; Front left corner is (0,0)

    ; ============ HOME X & HOME Y ==============

    M98 Phomex.g ; Run the homex.g file, also homes the Y axis

    ; ============ HOME Z ==============

    M98 Phomez.g ; Run the homez.g file

    this is homex.g file
    ; homex.g
    ; called to home the X axis
    ; October 4, 2018

    ; same as homey.g because of coreXY
    ; Front left corner is (0,0)

    ; ============= PRE-HOMING =====================

    ; Ignore Machine boundaries
    M564 H0 S0

    ; Turn off bed leveling during homing
    G29 S2 ; Does the same as M561!

    ; Switch to Origin Tool
    T0

    ; Relative positioning
    G91

    ; Provide Z height clearance
    G1 Z10 F750 S1

    ; ================== HOME Y ============================

    ; Rapid Y until limit switch triggers
    G0 Y450 F1500 S1

    ; Back off to release limit switch
    G0 Y-6 F1500

    ; Slow advance to trigger limit switch
    G0 Y10 F120 S1

    ; Set this location as Y = 384mm
    G92 Y384

    ; Move the gantry slightly away from back of printer, to allow travel past the bolt mounting the gantry bracket
    G0 Y-5 F1200

    ; ============= HOME X ====================

    ; Rapid X until limit switch triggers
    G0 X450 F1500 S1

    ; Back off to release limit switch
    G0 X-6 F1500

    ; Slow advance to trigger limit switch
    G0 X10 F120 S1

    ; Set this location as X = 380mm
    G92 X380

    ; Move away from the limit switch, to prevent damage to it upon next move
    G0 X-5 F1500

    ; ============ Post-Homing ==============

    ; Revert to absolute coordinates
    G90

    ; Re-enable mesh leveling
    G29 S1

    M98 Pmachine_axisdimension.g ; Set Axes Limits

    ; Stop movement across limits, enable boundaries, homing requirement
    M564 H1 S1



  • @patel said in how to change homing sequence:

    G29 S1

    because you still have the same command in your homing file



  • @veti
    need to delete or just change G29 only
    can you enplane more detail



  • @patel said in how to change homing sequence:

    G29 S1

    https://duet3d.dozuki.com/Wiki/Gcode#Section_G29_Mesh_bed_probe

    S0 (default if no S parameter) Probe the bed, save the height map in a file on the SD card, and activate bed compensation. The height map is stored in file is

    S1 Load the height map from file and activate bed compensation. The default filename is as for S0 but a different filename an be specified using the P parameter.



  • I need to fix first homing problem if you have idea.



  • @patel said in how to change homing sequence:

    Error: Height map file heightmap.csv not found

    M569 P1 S0 ; Drive 1 goes forwards, CoreXY_1

    change S1 to S0 know homing process fix


Log in to reply