Frame dependent on other Frame

Hello everyone,

current Situation is: I have two seperate Frames teached in my Robot. Is it possible that the Frame1 is dependent on Frame2? Like e.g when i change the XY position of Frame 2 that Frame1 is on the correct position again?

Thank you all in advance!

Best regards!