Transform object coordinate frames. Cancel the program if too many limit violations occur.