R 129 roof is not working

Hello together, I’m new here and I’ve fulfilled a dream by buying an SL 500 Bj. 8/92. The vehicle was standing for some time in a shed and was not moved. I had customer service and so on done and intensively occupied myself with the roof, which does not work automatically. Here is the error description: ECU clicks, windows go down when pressing the top switch, then it doesn’t go any further, when withdrawing the switch go the When driving it does thing …., if you clamp something into the switch, the rear part of the cover is pulled down and after a few seconds the red lamp goes off at the switch (if it is stuck to the front). In this condition the rollover bar does not work when you press the switch. I opened the roof manually today, then drove off and again thing…, then I pulled the cover switch back (open) it click on the button and the lamp on the switch was off. Even when driving the thing was gone :-), the rollover bar now also worked by means of a switch. If I have now moved the top switch in closing position the lid opened and further nothing happened, then in opening position and the lid was closed again. Dear community of the SL drivers, can you help me????????? I am grateful for every advice, of course I have the topic with the deep reset of the Control unit already tested, but unfortunately did not work. Who knows how to flash out the fault memory, it is a 16 pole diagnostic plug installed?? Greetings and thank you