Binary to bits

I am not much of a programmer but about 2 years ago I made a 'cheap n cheerful' little unit that dispensed chemicals.
I used a binary selector switch to give me 0 to 7 selections using only 3 inputs.
Each one of those '8' selections set a different time to the dispensing valve.

They now want more time selections and I have 3 inputs spare but for the life of me I can't work out how many extra selections I can have with 2, 3 input binary switches.

I think 16, but maybe it's a lot more

Can you help

Oh, the plc is a small Mitsubishi FX 1n
 
I am not familiar with your PLC, but look for something along the lines of a Multiplex Instruction. I have used this in Omron PLCs to turn on a single Bit based on a number value. That particular one was a 4 to 16 Multiplexer. Otherwise, you will have to hand code it.

Stu...
 

Similar Topics

Using GE RX3i PLC with Machine Edition SW... I have a decimal %R number (value is "1150") that I want to write to a set of 16 %I bits to set 1 and...
18
Replies
7,232
Views
My HMI (PanelView C400 TFT Color ) won't allow me to use an output address in a Tag. So I have to map the outputs to b3 bits. Is a Move the...
4
Replies
2,937
Views
Hello, I've a fast input card (1769-IQ16F) and a encoder that works in natural binary with 9 bits (845DSJDZ25ANDW4), and I need to convert this...
3
Replies
2,974
Views
Hello everyone... Attached is the source code to a vb application. What I had to do was take faults off a slc/plc and attach an appropriate...
3
Replies
5,573
Views
Hi, we have a 1516F-3 PN/DP with a project that we have been managing for quite a while. I had made an installation with a new sensor and was...
16
Replies
1,089
Views
Top