If you need more work offsets, then you need to keep track of them, and change them as needed, but some controllers let you set offsets via code.
Offsets depends on the control. I know my current control, I can use G50 to set a workpiece coordinate, but the two previous options I've used, have used different methods.


Yes, by hard code I mean copy/paste and edit.
Not elegant, but sometimes the KISS approach is easiest.