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.
#Fixing home offsets based on endstops
1 messages · Page 1 of 1 (latest)
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:
- Jog your printer head close to the end stops on the x and y axes.
- 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.
- 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.
-
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 axesReplace the
-1values with your calc...
WARNING: This response is AI generated and may contain errors.
the x is 3 mm off the bed, the y is 5mm
The AI is right, you can use that. Test it though