Sunroof switch
As a point of interest where is the microswitch to tell the sunroof it's in the closed position
If it has that set up. Don't tell me it's under the headlining or on cable mech in rear
Well you did say - "don't tell me if............."
Only joking - I don't know the answer, sorry.
There are no micro switches for the sunroof, nor Windows. As long as you keep the button pressed, the motor will keep trying to close or open, until it stalls. The increase in current is then detected and iits controller cuts out. On later systems, with one-touch open/close, you need to re-train the controller as to the fully open and fully closed positions after disconnecting and reconnecting the car battery.
Obviously, it should not go beyond closed and continue to open tilt.. There may be however, some limit switches in the motor drive unit. This can be accessed behind the rear left quarter panel. pull off the rear door edging strip and then just slide out the panel.
'...The motor mechanism may have a white knob that can be pulled out to "adjustment position", where the drive cable is disenganged and the drive unit can be aligned by turning the white knob.
Position the roof in the correctly closed position. Then pull the adjustment knob and turn it in one or the other direction until you hear the microswitches clicking. It is correctly aligned, when turning it slightly to one side, one microswitch will activate, and when turning slightly the other way, the other microswitch will activate (you will of course only hear the clicks). Push in the knob and test the operation of the roof. You may have to realign it slightly to have roof closed in correct position.
also:
Apparently most problems can be fixed by cleaning and lubrication.
However, it could be that you have a problem with you control switch? (same as from W124)
There is a detailed guide here:
http://www.benzworld.org/forums/w140-s-class/1610502-diy-w140-sun-roof-resotoration-repair.html
(Interestingly, all the W126, W124 and W140 and W463 sunroofs use the same mechanism and are the same size, It may b possible even to replace the G's metal panel with a glass panel from a W140.)
come on guys someone must have done this before