giving a 360 continuous servo positional awareness with a switch system

I also have a sail winch servo as another option but I’m struggling with the code for that it is a GWS S125 6T D Sail Winch Servo if anyone has any experience with this?