Sensor Wiring for PLC Input

Hello everyone,

I’m looking for some feedback on two wiring schematics I’ve created to detect whether my motor brake is energized (24VDC). The idea is to sense when the brake is activated by sending a 24VDC signal to input I0.0 on my PLC. I’ve added a 1.5A fuse on the control side for safety, as shown in Diagram A.

I have a couple of questions:

  1. In Diagram A, does my setup look correct? Specifically, am I correct that input I0.0 on the PLC will receive a 24VDC signal when the brake is energized?
  2. In Diagram B, the 24V and 0V connections come from the same power supply. Is this a good approach, or would it be better to use two separate power supplies for isolation?

Thank you in advance for any advice or corrections you can provide!

https://preview.redd.it/ziqdhxyhtuzd1.jpg?width=1166&format=pjpg&auto=webp&s=d68d28fc13a6b3d4d8918675390363b601211893