Initialization and Learn Procedures
WARNING: This page is about a different car, the 2010 Chevrolet Camaro. However, it is still accessible from the selected car via links, so may be relevant.
In order for the sunroof system to perform correctly it needs to establish its position and the force profile it will encounter under normal closing conditions. These two procedures need to be run when a new controller is placed on a vehicle, when a service procedure is performed on any mechanical component, or if the system seems to lose track of its known position.