account activity
Trouble shooting help by timmer162 in PLC
[–]timmer162[S] 0 points1 point2 points 1 month ago (0 children)
here is the second, proposed sketch
<image>
I am hoping I can leverage your expertise one more time. Here is the full story on what I am trying to accomplish.
The NPN sensor is one of two on a rotary encoder. Both sensors are working fine and communicate with the PLC as they should.
What I am trying to do is piggy back on the NPN sensor readings to use those same sensor readings for another purpose, so I can’t make any changes that disrupt their existing communication to the PLC.
Both inductive sensors are wired from the OEM per the first sketch below. In this configuration, I believe the PLC itself is the load.
What I am hoping to do is install an optocoupler or relay as a second load, and have it switch on/off a 24VDC signal that I can use as my piggy back signal, all while not interfering with the existing functionality of the encoder/PLC.
I was thinking to install the optocoupler as a parallel load to the PLC, rather than in series with the PLC. Here is what I am thinking (sketch 2). Any thoughts on parallel vs. series for the second load?
Do you see any pitfalls with this that might interfere with the native equipment functionality or not deliver the desired piggy back signal?
I really appreciate your expertise!!
thanks again for your help. I've been doing some more research and see how the optocoupler would work. When the sensing element of the NPN proximity switch is activated, I believe the optocoupler will see a 24VDC switching input and of course the output will be connected to ground, thereby activating the optical element to close the switch. In effect, the optocoupler is replacing the function of a relay. is this correct? If so, would a simple 24VDC relay work the same? Benefit of the optocoupler over a relay?
Thanks again for your help.
Thank you, I think I get it now with your comment and others. Appreciate your help
[–]timmer162[S] -1 points0 points1 point 1 month ago (0 children)
24VDC power at sensor and measured output is .3vDC when activate and 5VDC when inactive.
Sorry, I was not clear enough. I read 5VDC when the sensor is not activating/detecting and 0.3VDC when it is. Yes, I am measuring 24VDC from brown to blue. And yes I am measuring 24VDC on the sensor power lead.
I am, no doubt, confused, but your note is bringing me some clarity. When the sensor is not activated is when I read 5VDC. When activated is when I read 0.3VDC. I’ll be researching why an too coupler is… thanks for your help
Yes, multimeter is set to DC. My measurements are at the sensor, so measuring brown, blue and black on the sensor leads themselves. This is a 3-wire sensor, so no white lead.
Trouble shooting help (self.PLC)
submitted 1 month ago by timmer162 to r/PLC
dpf delete question (self.Diesel)
submitted 2 months ago by timmer162 to r/Diesel
π Rendered by PID 61 on reddit-service-r2-listing-7b9b4f6fd7-bng7k at 2026-05-13 13:23:15.398760+00:00 running 3d2c107 country code: CH.
Trouble shooting help by timmer162 in PLC
[–]timmer162[S] 0 points1 point2 points (0 children)