Circuit diagrams

Looking to add proximity limit switches and need to know allowable voltages and currents for controller limit switches inputs or is it just measuring resistance.

Any switch will do it’s just a make or break contact no resistance measured

I’m using electronic proximity switches, so I need to know what kind of circuit I’m feeding into with a PNP NC Proximity Switch.