Careful here... the switch type is PNP, BOBs are generally -ve ground, so its not a pull-up resistor but a load resistor.

The only manual I can find online for the PLCM says inputs are 5v CMOS buffered, no indication of whether opto-isolated or not. What PLCM BOB have you got and where does it say 12v??

Assuming the input is not opto-isolated then need two load resistors in series of 1k and 470R

Click image for larger version. 

Name:	pnp_sensor.jpg 
Views:	1752 
Size:	66.0 KB 
ID:	9590