I have been looking at your diagram for the limit switches trying to understand what you are trying to achieve. All the NPN/PNP proximity switches I have looked at require 0V and a positive DC supply as inputs to power the sensor, and give a switched output. I do not think the way you have shown them will work. Do you have a link to a datasheet for the sensors ?

Can I also make a suggestion to you - don't mark the AC inputs to power supplies with a "+" and "-" which implies DC. It would be very easy to connect all the "-" terminals together which would not be a good move.

Graeme