MaxHeadRoom
- Joined Jul 18, 2013
- 26,630
It would help greatly to know the make/model of the PLC in mind! 
Plus input module.
Plus input module.
Dear Sir,If the sensor and PLC share a common ground seems like a simple transistor inverter should work.
View attachment 282465
Thanks for the reply. I don't have the answer. All I was told is the circuit needs 24vdc when it senses paper insteadWhat is the source of the "0"? And what voltage does it have when it is not zero?? Are you able to edit the program on the PLC? Is there a 24 volt source available?
There are quite a few simple ways to achieve what is asked, but just asking that without any of the surrounding information is quite useless, really it is.
If that zero is an open switch to common, then the very simple thing will be to add a pull-up to 24 volts resistor.
That is all the advice you get until the questions are answered.
Thanks so much for your help.
Sounds a bit complicated.If the switching source can source 20 milliamps..........
The PLC input by itself does not need a pull-up resistor. But the sensor, as described by the OP, does. Should the pull up resistor be internal to the sensor the external one wouldn't be required.Would the PLC need a pullup, meaning could it be programmed into the PLC?
Who wrote/maintains the code in the PLC?Thanks for the reply. I don't have the answer. All I was told is the circuit needs 24vdc when it senses paper instead
of 0 when it senses paper. The problem is they can't get the correct sensor so there trying to make this one work.
Thanks,
JM
Is that simply because the input is sink input instead of source?Thats a great circuit but there is a problem. There is no voltage from the PLC. The circuit I need has to supply
the 24vdc.
Thanks again.
The NPN version will work but it needs to sink at least .1A @24VDC. The circuit I built only sinks approximately 5ma. IsThanks so much for your help.
Can you post your circuit to verify?The NPN version will work but it needs to sink at least .1A @24VDC. The circuit I built only sinks approximately 5ma.
Can you post your circuit to verify?
I think you would be better to use the PNP version I posted in #25.
I used the PNP version.I'm confused, which circuit shown below did you use the NPN or the PNP version?
View attachment 283155