r/PLC • • 15d ago

PLC Question Two sensors One input

[deleted] — view deleted post

25 Upvotes

28 comments sorted by

24

u/TexasVulvaAficionado think im good at fixing? Watch me break things... 15d ago

Is this AI generated?

Is it missing a +?

It is possible that I am misunderstanding something but I can't come up with a way that it makes sense as drawn.

12

u/Flimsy-Process230 15d ago

I’m with you, I can’t understand either. Two sensors charge 24 VDC from an m12 connector but terminals 12 and 4 are a mystery.

3

u/WhatzitTooya2 14d ago

It's photographed of a screen, so some of the rather small writing may be rendered bastardly.

Besides of that, it's sensor one output being wired to power the second sensor, a "wired-AND" if you like.

1

u/Impossible_Big7290 14d ago

This is a real schematic from a real machine

1

u/Flimsy-Process230 14d ago

Yeah, it looks real. It is a picture from an ePlan project page. But the configuration is indeed weird

5

u/NewbieJT 15d ago

20A has to go true to power the 20 sensor. And also, how many pin connector is your m12 plug?

4

u/TexasVulvaAficionado think im good at fixing? Watch me break things... 15d ago

It is connected on the NC output, so flagging 20A would deengerize 20 and both S1 and S2. 20 being flagged would deengerize s1 but leave s2 powered.

But at the connector, 4/1 and 4/3 are both labeled "-". We are assuming that 4/1 is "+" but it doesn't actually show that.

I'd also expect to see a "-" on the input side of the connector and the signal wires.

This looks ai generated or someone made it before coffee.

3

u/NewbieJT 15d ago

Nice observation. You are exactly right. I totally missed that in my quick look over. I made an assumption and we all know how that usually ends 🫣

1

u/Smorgas_of_borg It's panemetric, fam 13d ago

Not necessarily. That is a retro reflective sensor. A "normal" contact state is what the sensors "shelf state" is. The shelf state of that contact is N.C. but when installed and powered and pointing at the reflector, it very well could open, and blocking the sensor could close the contact. What you consider to be "normally open" and what the manufacturer considers "normally open" can often be the opposite.

5

u/hansolomx 15d ago

This gets wired in a Field Wireable M12 connector, exactly as it is shown.
FCC20A
Brown PIN 1
Blue PIN 3
White PIN 2
Black Not Connected

FCC20
Brown PIN 2
Blue PIN 3
White PIN 4
Black Not Connected

This appears to be a kind of safety circuit, where the signal is OFF when any of the 2 sensors is TRUE, basically a NOR Gate.

3

u/Impossible_Big7290 12d ago

Thank you, I did the wiring as you mentioned and worked as it should.

4

u/Shadowkiller00 15d ago

I think the input power terminals on the min-tec are not being shown. 4/1 and 4/3 are the output power terminals. The negative of both sensors is fed off 4/3. The positive of FCC20A is fed from 4/1 and feeds through the NC contact as long as the sensor isn't sensing anything. That NC contact feeds both to 4/2 and the power for FCC20, meaning if FCC20A senses something FCC20 loses power. As long as neither senses anything, the positive feeds through to 4/4. Connecting to 4 indicates if any sensor senses anything. Connecting to 12 can identify which sensor senses something, but can be skipped if you don't care.

The big issue is the fact that no power is being shown feeding the min-tec. There is no requirement for every terminal of a device be displayed on any drawing with that device. Check other drawings looking for C1 to find out if other terminals besides 4 and 12 are shown there.

1

u/ikilledsupermario 14d ago

I see safety relays drawn this way all the time.
I would wager this pic is from page 20.
I would look at page 4 for the power connections.

3

u/NewbieJT 15d ago

I feel like the 12 and 4 must be the + and - supply. But definitely a weird setup that I’d bet you’d never see in a whole career. It seems like some crazy shit an engineer that has zero field experience would come up with

3

u/Piratedan200 Controls Engineer 14d ago

It can't be wired to a single M12 like this, you'd have to do some fuckery with splitters to connect them like this.

That being said, while I have seen this done plenty of times (using the output of one sensor for the power supply of another to series them), just... don't. It's a pain to troubleshoot anything with the second sensor, and constantly power cycling a sensor can make it fail prematurely. If you're limited on inputs and want to do this, use a relay. You can even get inline M12 relays now (weidmuller makes one) to save you the need of having to put one in a cabinet.

2

u/TexasVulvaAficionado think im good at fixing? Watch me break things... 15d ago

I am fairly confident that it is intended to show that 4/1 is a "+" supply.

Then, if 20A is flagged, sensor 20, S1, and S2 are deenergized.

If 20 is flagged alone, then S1 is deenergized.

I would also expect to see the "-" and signal wires on the bottom of the connector block.

1

u/NewbieJT 15d ago

I don’t see a way possible to get this done with 1x4 wire m12 plug brother. Too many interconnections

1

u/stupid-rook-pawn 15d ago

This is such an odd way to wire this, I think 4/1 is power, and 4/4 is both sensors in series, it just drawn oddly 

1

u/i_eight Maintenance Tech 14d ago

If material present at FCC20A, then 4/2 is on. If material present at FCC20A and material present at FCC20, then 4/4 is on.

1

u/WhatzitTooya2 14d ago

You could use one of these input logic modules. Provides the same functionality without manual rewiring or the downsides of a wired-AND configuration shown above. https://www.ipf-electronic.de/en/current-news/press/details/modules-logiques-entierement-electroniques/8

1

u/Rikku-- 14d ago

is this the new two girls one cup?

1

u/Hutch_911 14d ago

I came across this once in BAS worked like split range valve first input was 0-5 the other 5-10v . Best guess is they were working with limited input channels

1

u/das_lock 14d ago

This looks suspiciously much like a poor man's light curtain.

LED:s that are being reflected by mirrors back to integrated receiver. Not safety rated, but pretty safe if one sensor feeds the other.

1

u/strong-ele 13d ago

From the description it sounds like a wired-AND: sensor A's PNP output feeds sensor B's supply, so B only reports when A is also true, and you spend one PLC input instead of two.

On a 5-pin M12 that usually lands as 1 = +24 V, 3 = 0 V, 4 = A output (to the PLC), 2 = B supply or B output. Before you trust it: check B's current draw against A's output rating (most are 100-200 mA, some are 50 mA), and if B is inductive put a flyback diode across it or you'll be replacing A.

If the cabinet has a spare terminal, two inputs ANDed in logic is the version that survives contact with a maintenance tech at 2 am. Diode-OR if you actually need "either one".

1

u/Smorgas_of_borg It's panemetric, fam 13d ago edited 13d ago

One sensor going to pin 4 and the other going to pin 2 tells me this is a standard Y connector where the sensors share the power drops and each use a different pin for signal. You see this a lot in field IO blocks where they'll have 16 io points but only 8 conmectors.

But one sensor feeding the other like that...that's weird. Its a retro reflective sensor, so my thought is that the normally closed contact will open when it's unblocked (because "Normal" is generally considered to be the sensor's "shelf state"), which will cut off power to the other sensor. When the first is blocked, the contacts will close and feed the other sensor. So essentially you know that

Block 20A and 20 - pin 2 on and pin 4 on Block 20a and not 20 - pin 2 on and pin 4 off Unblock both - pin 2 off and pin 4 off Unblock 20A and block 20 - pin 2 off and pin 4 off

My guess is that this would be some kind or redundancy or sequential check. I'm kind of puzzled why it'd be wired up like this because for one thing, those parts are typically field cables and that wiring isn't really possible unless your hacking and slashing the wires. Also it's being plugged into an IO module which I assume is being controlled by some kind of controller. There's no reason at all I could think of why you'd want to disable the second sensor if the first was unblocked. It makes a lot more sense to just know the state of both sensors at all times, and you can do that with less complicated wiring. Wiring it in series like that serves no purpose I can see. It looks like it might be some kind of hack to get around programming.

1

u/CarrotThen9285 11d ago

That’s a strange way to wire a set of sensors, the output powering the next one in series?

1

u/Candidate_None 11d ago

Seems like a basic safety circuit.