it looks like tou created a resistor divider. I don't have internal schematic, so I can only guess... I think the input inpedence of plc is quite low.
Sorry;I think optocoubler borad.Any info about plc input impedence?
Thak you for support @tigrotShort 3k resistor on output. The input impedance is high enough.
Short resistor 3K at left of diagram .
a friend told me, PLC electrical power may not be enough.One more question: type of pnp sensor?
sorry my late anser. (national holiday)Use an external source. The device should not sink more than 3mA at 24 V. Is sensor able to work at 24 V? I don't have any info
Yes. PLC connected with X4Connection 5 is X4 input of PLC?