Read the manual....
Sorry - my first post on this forum and it sounds 'snarky'....
When the door opens, keep your hand on it and just stop it where you want it to stop opening.
It will stop moving at that point.
Hold the close button in until it beeps at you.
It should now remember that as the position it stops at from now on.