Agreed erase and see what returns.
Live Data ("Actual Values") is the way to check these for a Microswitch Fault.
These need someone who really knows their way around SDS HHT Win, and knows which Microswitch does what and when.
The one that commonly gives the Fault that you describe and your print out suggests is under the Roll Bar Trim and works upon the Right Rear Hinge, it tells "Roof Open" / "Roof Closed" and costs around £20.00 from MB, it was still available a few weeks ago, took a few days to come from Germany to Scotland
Do not ask me how I found all this out, but suffice to say, after working faultlessly since I bought the Car I had returned from a nice Sunday afternoon out with the Car, a storm was brewing and the Roof decided not to go up !!
When I got the switch out it was obvious some "inept" bodge artist had glued one of the 2 plastic retaining clips in a previous life, and it had come away from it's fixing.
There is a very good "Schematic" Diagnostic Aid in the stickies on this Forum, here :-
I found that very helpful along with my SDS whilst waiting for the heavens to open and yelling foul mouthed abuse at my Car
I know you can close the roof manually, btw, but you cannot get the Rear Windows to go up and knowing the amount of water that can fall out of our skies, i was not prepared to leave the Car out overnight in that state. Workshop was full of Customers Cars in bits