The easiest way for X and Y is just to use G92. Jog the machine to the lower left and issue G92 X0 Y0
and that becomes the work origin. It’s way easier to adjust the machine to the material than to place the material exactly, and you pretty much have to make an adjustment for Z regardless.
My “Work zero” macro basicslly just issues G10 L20 X0 Y0
to make whatever position the machine is in the current X0 Y0 position. It would work as well using G92 X0 Y0