I haven't touched a Yasnac in a very long time, but on the Fanuc and Haas, G52 doesn't "cancel" an offset. It makes a "child coordinate system" from the current active Work Offset (like G54). You can create as many G52's as you need and repeat patterns all over the place. A G52X0Y0 resets the child coordinate system to zero. Yasnac? Not sure.