The following is copied from a reply to @Dgkeith237’s excellent post here:
I have added download links for the helpful GCode snippets.
That same thing has worked great for me. Here’s one way that I have simplified it. I originally created this for when working with cuts on full sheets. I have since realized it can be used for other cuts too.
I created some GCode files on my SD card to be used as a kind of “macro” approach. I did this because I wanted macros, but did not ever take time to figure out how to reprogram the Marlin firmware on the SKR to get macros there.
I created 4 different GCode files for probing.
-
One is based on moving from the machine’s 0,0 home to the very corner of a full MDF 49x97 sheet, aligned perfectly with my spoil board, which is also a full 49x97 sheet. It moves to that corner spot, sets the work origin as 0,0 there, and then moves inward by a distance of x150 and y150, and then starts the Z probing sequence, down to my homemade “tiny touch plate.”
-
Another is based on moving from the machine’s 0,0 home to the very corner of a full plywood 48x96 sheet, placed at exactly 1/2" inward from the edges of my spoil board (a full 49x97 sheet). It moves to that corner spot, sets the work origin as 0,0 there, and then moves inward by a distance of x150 and y150, and then starts the Z probing sequence, down to my homemade “tiny touch plate.”
-
The third assumes I have manually moved the machine to where I would like a work origin set, and immediately sets the work origin as 0,0 there, and then moves inward by a distance of x150 and y150, and then starts the Z probing sequence, down to my homemade “tiny touch plate.”
-
The fourth assumes I have a work origin already set, and I don’t want to change it. It does not set any 0,0, but simply moves inward by a distance of x150 and y150, and then starts the Z probing sequence, down to my homemade “tiny touch plate.”
HOW TO USE the first two…
Whenever I create vectors for cutting on MDF, I set them on a 49x97 rectangle, and output that as part of the vector file (SVG or DXF). Then in ESTLcam, that rectangle means I can easily get to a 0,0 point mutually shared between the cut job and the machine’s work origin.
For vectors for a cut job on sheet goods that are 48x96, I use a rectangle of that size.
It can be used for cuts on partial sheets, by simply positioning the partial sheet where its near corner (x-min and y-min corner) aligns with the near edges of the spoil board (for #1), or 1/2" inward from there (for #2).
This works well for me on a wide variety of cut jobs. I am sharing the GCode files if anyone wants them.
I am also adding some snippets I use for quickly parking my gantry on the far end (for most of you that would be your Y-max).
Please take note that I have my X and Y swapped, so you probably will need to edit the axes mentions accordingly.
USE WITH CAUTION. EDIT THE DISTANCES TO SUIT YOUR TABLE.
Note: the slight Z drop from Z-max before moving to park, is because my gantry, if left at full max height, would collide with a lumber rack on the wall at the far end of my LR3.
Probe 48x96 PLY 26.2, 21.2 set 0,0 - 250,250 (fast).gcode (628 Bytes)
Probe 49x97 MDF 13.5, 8.5 set 0,0 - 250,250 (fast).gcode (625 Bytes)
Probe any loc - no origin reset, 0,0 (fast, F900).gcode (521 Bytes)
Probe at any loc - 0,0 - 150,150 (fast, F900).gcode (517 Bytes)
The two snippets “park” the gantry.
Park Home Long (X2450).gcode (227 Bytes)
Park Home Short (X2000).gcode (226 Bytes)
The two snippets reverse the “park” and instead “home” the gantry.
Park Home Long (X2450).gcode (227 Bytes)
Park Home Short (X2000).gcode (226 Bytes)