General
The sunroof control module contains the logic for the opening and the closing of the sunroof. The sunroof motor assembly contains the reversible DC drive motor, the gear train, and the limit switch.The sunroof control module determines the sunroof motor direction based on inputs received from the overhead console sunroof switches. When the ignition switch is in the ON position or when Retained Accessory Power (RAP) is active, voltage is applied to the power sunroof module via the RAP relay. The sunroof control module controls the power sunroof motor direction by changing the polarity of the applied voltage. The sunroof control module remembers the sunroof position whenever the ignition switch is turned to the OFF position. The limit switch is used as an input to the sunroof control module to indicate that the glass is fully closed position, or in the comfort stop position. The limit switch is grounded when the sunroof glass is in the fully closed or comfort stop positions, otherwise it is open