I have a couple of questions to be cleared about wiring. First of all, as I understood from @mickeypop 's sayings in here:
[
www.instructables.com] , S pin of the RAMPS is "Signal in" pin and it needs to take in 5V voltage. PNP and NPN proximity sensors are different basically as the Black wire could be used as "sinking" or "sourcing" the current as mentioned here:
[
www.schneider-electric.co.uk]
If the S pin is "sinking" in RAMPS how can we use the NPN proximity sensors as they are used for sourcing cards? Are they different in wiring or what? And is there any difference in voltage dividing of these types? Please could someone clarify this mess in my head?