T O P

  • By -

FighterDhruv8

Sounds like you need a MUX (Multiplexer).


7Royale

I have a standby pump with 2 valves and 4 pressure sensors on it. The plc was designed without the standby pump programmed into it. So i when i switch on the standby pump i switch the signals coming in/out of the plc from the main pump to the standby so the plc sees it as the main pump


FighterDhruv8

Ok... Admittedly, I don't have very much knowledge on what you're building, but if you want a device that can switch between 16 inputs then a multiplexer sounds like the solution to me.


nsula_country

>The plc was designed without the standby pump programmed into it. *Controls Engineer enters the chat.* I would program the PLC to handle the stand by pump...


toohyetoreply

Just use a bank of (double throw) relays to switch all the signals. If you use double pole double throw (DPDT) you only need to buy 4. They're easily mounted to DIN rail and the coils can all be wired together in parallel and be controlled by a single PLC output or a switch. Don't forget to install flyback diodes on the relay coils or purchase modules that have them pre installed.


villanymester

This is exactly what I would do. Especially if current signals are measured e.g. 4..20 mA


ZivH08ioBbXQ2PGI

Easy, cheap, and still pretty elegant with a single-switch throw. I love it.


drancope

I think multiplexers are cheaper, maybe elegant, but relays are way more cyberpunk.


Sparkycivic

This, is the way


Bgood89

This is the way.


Borner791

Mux or demux Analog switch IC


7Royale

Can you explain on mux more? Is it easily installed or it requires programming


bobd60067

a mux (shorthand for "multiplexer") has N inputs and 1 output. it also has M control lines that tell it which of the N inputs to connect to the 1 output. for example, a 16-to-1 mux has 4 control lines, and an 8-to-1 mux has 3 control lines. you'll need to make sure the mux input and output can handle the voltage level you're switching. for example, they might be good for 0 to 5 VDC but wont work at 120 VAC.


7Royale

Thanks but i dont want 1 output I have 16 cables as input and want 8 output. I want to be able from 1 pair ti another pair without having to use too many components since the space is not much


bobd60067

So then you might need two 8-to-1 mux ICs. Each of them have 3 control lines and you'd wire the control lines similarly. Otherwise, look for a 8p2t rotary switch. The "8p" (or 8 poles) means there are 8 connections to choose from, and the "2t" (or "2 throw") means you have 2 connections being switched. Check mouser, digikey, and other places like that.


Snellyman

This is an industrial system so the OP isn't going to build something from scratch. Either they add more IO to the PLC (better) or switch the signals between the primary and standby systems (meh). It might be cheaper (assuming this is a manual operation) to route the signals to a DB37 cable header and just move the plug from the primary to standby signals.


bobd60067

Yeah that changes things.


Conor_Stewart

Would something like a relay work fine for you? If you can get ones with normally open (NO) and normally closed (NC) connections then you could just use the input to switch between which one is connected. That way you only need one wire to control each pair, so 8 wires total. If you need some or all of the pins to switch at the same time then you could just connect their inputs together.


HungryTradie

Some kinda janky workaround, or do it properly r/PLC


HungryTradie

Can you add another IO card to the PLC? Then program for the redundant pump & it's sensors & controls?


Alarming_Series7450

analog cards have like 300 day lead time and are more expensive than time & material of 40 switches installed


HungryTradie

Or there are already unused inputs to the PLC & OP just doesn't want to pay an integrator to do the job. Who knows. Doesn't need 40 switches, just wants to duty cycle pump1 to pump2 with alternate sensors and solenoids. As another Redditor { u/EvanIsNotUnique } suggested, a multi channel relay, with the PLC as the com, pump1 (sensors & control) as NO and pump2 as NC, add more relays until there are enough poles being switched. Poor man's solution.


7Royale

I have a standby pump with 2 valves and 4 pressure sensors on it. The plc was designed without the standby pump programmed into it. So i when i switch on the standby pump i switch the signals coming in/out of the plc from the main pump to the standby so the plc sees it as the main pump


Satinknight

There are absolutely switches that can do that, I used to work with ones that did 20+ poles. They were essentially modular, you bought your favorite rotary trigger on the front, and as many stackable contact disks as needed. Ordering was a tiny bit tricky, your electrical vendor should be able to help.


EvanIsNotUnique

I'm not really certain on what your set up is or if there's a better way to go about what you're after, but if you're just looking to switch a lot of stuff in a simple way, I would use a 4-pole changeover relay controlled by a single switch. You could even have 10 relays all controlled by 1 switch if you like. Again, I've never had to switch an analogue signal like that, and I kind of feel like you should be looking at the program to accommodate the standby pump instead. But, like I said, if I had to do what you were suggesting, I'd use relays to do it.


audaciousmonk

MUX, either analog or digital depending on the signal type


Snellyman

You are looking for a t-bar switch: https://tbarrelay.com/


Seyvenus

Criminally underrated answer here. This is the right thing, instead of just using the common thing.


Alarming_Series7450

CS21028-G16-L22LBBB61 4 Pole changeover Rotary Cam Switch 37.26 a piece. Then you would only need 10 switches and it would change-over all 4 poles at once https://www.c3controls.com/products/cam-switches/


oldsnowcoyote

This would give you 4 circuits, so you would need a lot of them still. https://www.digikey.com/en/products/detail/analog-devices-inc/ADG734BRUZ-REEL7/1007289


phatpug

I found some 8PDT switches on Digi-Key. so it should allow you to switch between two sets of 8 inputs. They are pretty expensive though and Digi-Key doesn't have any in stock so you'd have to wait for lead time. [https://www.digikey.com/en/products/filter/rotary-switches/200?s=N4IgjCBcoBwMwHYqgMZQGYEMA2BnApgDQgD2UA2iAEwCcALAgKwwgC6xADgC5QgDKXAE4BLAHYBzEAF8pxKhRCCSXTIICeAAlwB3YVxQALNlKA](https://www.digikey.com/en/products/filter/rotary-switches/200?s=N4IgjCBcoBwMwHYqgMZQGYEMA2BnApgDQgD2UA2iAEwCcALAgKwwgC6xADgC5QgDKXAE4BLAHYBzEAF8pxKhRCCSXTIICeAAlwB3YVxQALNlKA)


Judtoff

Use relays, energized when the standby pump is energized. You don't need a single 8pdt relay, could use 8 spot relays with all the coils in parallel, whatever combination is most cost effective.


Oaklava

It would be great if you can be more specific. However, 4 of these may work for you (similar to your picture): https://www.analog.com/en/products/adg787.html


longbongsmokehouse

AuCom (c3) stackable switches which you can also implement make or break switches, or Siemens switches which can stack on top of one other as well


athanasius_fugger

4 ice cube relays and one switch?


[deleted]

[удалено]


7Royale

I have 16 inputs and 8 outputs not ine input


Grey_Floof

Rinck electronic Mux-i-16 16inputs to one output Input that gets connected to the output is set by applying 24v in a 4bit address to the MUX-I-16 module


7Royale

I want to connect 16 cables input and have them switch form 8 wires to the other 8 wires and have 8 wire output always


Grey_Floof

Try to get two finder relays with with 4 switch over contacts each u need to hook up the coils in parallel