reduce i/o count via multiplexing

ganutenator

Lifetime Supporting Member
Join Date
May 2002
Location
kansas
Posts
1,440
since all my i/o is going to relays, shouldn't I be able to reduce my plc output count w/ bcd magic or something?
 
The time it will take to wire the inputs / outputs and then program the logic. I do not think that you would save much after a cost analysis.
I also agree with Steve. Troubleshooting would be much harder.
I/O is inexpensive.
 
I have Very Limited IO RTUs and even then I'd rather do some modbus comms to another old Controller than multiplex, but it is possible if you are limited. Just remember that if it's analog you need to freeze values and know which one is current. and such. but yeah that's the other think is when switching fails. you almost want to save an it put. to prove that it is switching lol.
 
I suppose, if you're using relays with enough contacts, but you have to worry about what happens if a relay coil burns out.
Good point- if one of your PLC outputs fails, instead of an output simply failing to energize, your BCD or multiplexer will interpret it as a different command and possibly turn the WRONG output on. I'd rather not have my initials on that drawing..
 
Yes it is possible, but only when one relais is on at the time.
so for selection yes, however an ooutput is nowadays cheaper as a relais.
 
It's already multiplexed one time before hitting the I/O. :rolleyes:

Back in the days with lots of BCD thumbwheels and 7-segment BCD displays we used to do multiplexing and then it made sense.

If you have 10 thumbwheels you would use 10 outputs and 4 inputs and scan each thumbwheel by setting the corresponding output.

For ten 7-segment digits you would use 10 outputs to address each digit and then 4 outputs.

If you needed a more complex HMI interface you would make your own program in MS-DOS with an EGA or Hercules graphics card and connect a PC to your PLC over the serial port, using whatever proprietary protocol the PLC had, to read and write values. Turbo Pascal was da bomb back then.
 
Last edited:
Here is my opinion, for what it's worth. I'm sure it is doable but it doesn't appear to be practical or economical. I think it would require a lot of extra programming and additional hardware to encode the BCD going into the PLC and to decode the BCD coming out of the PLC.
 
Last edited:

Similar Topics

I have a newer customer that I've been working with one or two days a week, over the last couple of months. Their automation is Siemens Step7...
Replies
20
Views
5,804
Need help. We have a plc that's cpu keeps getting maxed out. We've already upgraded it once. Now we need work on optimize it. We have over 50...
Replies
11
Views
3,050
Hi ;Configure A1s64AD card in slot 3 is as attached. This is averaging count. my signals are coming in at channel 3 and 4. There are spiking so i...
Replies
1
Views
1,632
What software do you use to reduce the file size of say picture taken with your smartphone? I download FastStone and it appears to work well...
Replies
16
Views
4,713
Hello guys, I have a question: How I can reduce a segment of a logic that have involved more than 10 variables?. I have a segment of a logic where...
Replies
1
Views
1,569
Back
Top Bottom