For 1990-2009 cars

When replacing the sunroof motor/control module, the sunroof motor/actuator initialization/teach procedure must be followed.

### Initialization and Learn Procedures

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.

### Initialization and Reinitialization

When the sunroof controller is not initialized it will perform all 'Open' requests, but no 'Express close' or LIN-Bus communicated close commands. It will only perform a ‘Close’ operation requested by the switch with obstacle detection disabled. If an initialization procedure is interrupted the controllers will return to the not initialized state. Which procedure is run depends on the state of the controller.

For a module which is not initialized begin the process by holding the sunroof switch in the ‘Close’ position. The sunroof will move to the end of physical travel in the closed direction and store that position. During this time it is necessary to keep the switch active until the process completes. At the completion of the procedure the sunroof should back off slightly to its soft stops. The rest of the defined positions are determined by offsets from this home position.

For a module which has been previously initialized release the switch after the sunroof is considered fully closed by the software. Then hold the sunroof switch in the closed position for 10 s. The sunroof shall resume motion in the 'Close' direction until the end of travel is detected. During this time it is necessary to keep the switch active until the process completes. At the completion of the procedure the sunroof should back off slightly to its soft stops.

For learning the force profile for anti-pinch algorithm after initialization or re-initialization move the roof to the fully open position and release the switch. Activate the ‘Open’ function of the switch continuously for more than 15 s. At this point, the sunroof will automatically begin to move to the fully closed position. During this time it is necessary to keep the switch active until the process completes.