Opto Coupler output voltage drop when connected to PLC
Your PLC may have an opto-coupler on its input which is connected to 'ground' (common terminal) and needs to be pulled up by your opto-coupler. If so then you should wire the Collecter to +24V, and the Emitter to the PLC input. A pull-down resistor may not be necessary.