The power sunroof is operated by the sunroof module which consists of the motor and electronic control unit as a complete assembly. The system is powered by a battery supply circuit, ignition and retained accessory power signal circuits which determine when the sunroof may be operated. The switch signal circuits are supplied battery voltage through a resistor and monitored within the ECU. When a sunroof switch is pressed the switch signal circuit is closed to ground and most of the voltage supplied to the signal circuit will be dropped across the resistor within the ECU indicating the switch is active.