Robot axes manipulation not keeping

Hi community
I am programming a robot with multi axis machining. I can manipulate the robot axis configuration with the commands LAN,....etc. Unfortunately this manipulation does not keep. If I have to recalculate the toolpaths, the setting is lost again. What can I do so that this remains also with a recalculation of the tool paths.

Thanks

Daniel