Skip to content

Home Offset (M206) not working #9

@Daedalus7000

Description

@Daedalus7000

Marlin-Metal-1403 and Marlin-RevF4:
If Home Offset (M206) is used with non-zero values together with the bed leveling feature G29, the probing locations is wrong.
In Configuration.h, the variable for home offset is missing in the calculations of X_MAX_LENGTH, and also Y and Z.
I use the following settings:
M206 X-12.00 Y0.00
M210 X0.00 Y0.00
M211 X212.00 Y200.00
M212 X26.00 Y0.00

In Repetier I use the following settings:
X Min: -12
X Max: 200
Bed Left: 0
Y Min:0
Y Max: 200
Bed Front: 0
Print Area Width: 200
Print Area Depth: 200

My custom start G-Code is:
G28 X0 Y0; home X axis and Y axis
G1 X10 F1000;
G1 Y190 F1000;
G28 Z0; home Z axis
G29; Automatic bed leveling at 3 points
G1 Z5 F5000; lift nozzle

I think the code should be as following:

define X_MAX_LENGTH (base_max_pos[0] - base_min_pos[0] + add_homeing[0])

This is working on my machine, Printrbot Simple 1405, Rev D Printrboard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions