#Fixing home offsets based on endstops

1 messages · Page 1 of 1 (latest)

fading reef
#

Im trying to set an offset from my end stops on my x and y axis because when it goes to purge it is off the bed. I have a biqu b1 se plus and using lychee. I need help on how to write the Gcode to recalibrate the bed. I tried doing it in the printer but I get err: too far.

young quarryBOT
#
AI Help

To set an offset from the end stops on your x and y axis, you can make use of the G-code commands. First, you'll need to determine the correct values for your specific setup. Here's an outline of the process:

  1. Jog your printer head close to the end stops on the x and y axes.
  2. Use a ruler or calipers to measure the distance between the nozzle and the edge of the build plate in the X and Y directions. Note these distances as negative values since the nozzle is off the bed.
  3. Subtract these measured values from your desired distance offset.

For example, if the nozzle is 2mm off the bed on both the X and Y axes, and you want a 1mm offset, the values to set would be -1mm.

  1. Once you have the offset values, you can create a G-code script to apply the offset during startup or before printing.
    Here's an example of what the G-code script may look like:

    G92 X-1 Y-1 ; Sets the X and Y offsets
    G28       ; Homes all axes
    

    Replace the -1 values with your calc...

fading reef
#

the x is 3 mm off the bed, the y is 5mm

eternal pilot
#

The AI is right, you can use that. Test it though