Will look at this properly for you later but see one thing I'd change. Use contactor rather than relay contact for turning on transformer. Still use relay for safety but have turn it on contacter which is better suited to high current.

Also what kind of limit switch are you using.? On quick look if Proximity then think you have them wired wrong. If Prox what type NPN or PNP.?