Quote Originally Posted by irving2008 View Post
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:	1818 
Size:	66.0 KB 
ID:	9590
Thanks everyone for replying, just to recap yes it is a 6 volt to 36 volt switch.

So much conflicting advise, re use of pull up resistor.

yes is PNP type, manual link is here http://www.zappautomation.co.uk/en/a...attachment=165

shows 12 volt on diagram fig 4 limit switches connection.

Am I better off getting different proximity switches if so can you recommend.
different voltage?
here is blurb from manual.

Limit switches connection
PLCM-B1 has 15 inputs for XP-26-XP40 switches connection.
Physically each input is optocouple with built-in transition resistor
(1 KOhm, depending on sensor type and sensor supply voltage the
increase in resistance is probably required). This construction of
optoisolated inputs allows to connect any sensors to module and
provides driver optoisolation from sensors.
Optoisolated inputs states are translated to CNC MACH3
program and are indicated by LED14-LED28 according to fig.2.
External LEDs connection is provided by XP41-XP55.
Simple contact switches (buttons) and non-contact sensors
(inductive, capacitive) of PLL01 type (inductive non-contact sensor)
can be connected to the module. Connection is accomplished
according to fig.2. Separate power supply unit with necessary
voltage is strongly recommended to use for sensors supply.
12V module supply can be used in an extreme case (in this case
optoisolation will not be).


plasticsales (Mark)