Sunroof Switch Circuit: Description
WARNING: This page is about a different car, the 2013 Nissan Armada. However, it is still accessible from the selected car via links, so may be relevant.
The BCM supplies power to the integrated CPU of the sunroof motor assembly. The tilt and slide functions of the sunroof motor assembly is controlled by the sunroof switch.