Sunroof / Moonroof: Description and Operation
With the ignition switch in ON (II), voltage is applied to the coils of the sunroof "open" and close" relays.When you move the sunroof switch to the OPEN position, ground is provided to the coil of the sunroof "open" relay. The coil contacts then close, providing voltage to the motor, the motor runs, and the roof opens. The motor is grounded through the contacts of the sunroof "close" relay.
When you move the sunroof switch to the CLOSE position, ground is provided to the coil of the sunroof "close" relay. The contacts then close, providing voltage to the motor, the motor runs and the roof closes. The ground path for the motor is through the contacts of the sunroof "open" relay.