No. NO switches wire in parallel not series like NC.
If NO is wired in series- when 1 closes the other still keeps the circuit open so it's not good.
In parallel- if any one of them closes the circuit will see it. So now it's good.
As for the resistor. I don't think it's quite that simple. Going 24v to 5v is a big drop.
I've seen 57k mentioned and others say don't bother trying.
This is why you see 24v capable breakout boards with resistors in line with transistors, gates, diodes and open collectors etc.
This is what optocouplers were invented for. Or use dc-dc step down converters.
I just order optocoupler boards for things like this now. saves hassle, and easier/safer.
https://www.aliexpress.com/item/4000...25094c4dr6gK82
Can choose your in/out voltages, number of channels, and preferred output type pnp/npn.
The input side on these already serves both pnp or npn option.
I tried a 24v to 5v voltage divider diagram once for fun and the resistor caught fire. Was only using 1/4watt ones.
I think I needed at least 5w dissipation. (waste of power that is).
This is one of the simple diagrams I've seen for 24-5v
https://forums.ni.com/t5/image/serve...819D29A1D?v=v2
Uses 3 resistors and a transistor.
This is a basic 24-5v opto diagram:
https://aws1.discourse-cdn.com/ardui...d1b71052c4.png