D1 it's there to prevent back feeding t1, my hall effect sensor. Did i not set this up correctly? It works great in the simulator.There seems to be a basic fault centered around D1. There is no current path for the base of Q1 because the diode opposes that flow. Perhaps you can tell us the intent and how the transducer works.
May I quote you in the future?It works great in the simulator.
Hey thanks for the idea but I'm not sure this would work as my input card in the PLC is grounded.How about this?
Edit:
You could reduce R1 if Q1 doesn't turn on fully.
I just haven't figured out why this needs both 5V and 24V when the sensor will work with either of the voltages.OH090U shows 24v VCC, unless I am missing something?