PLC Program to Implement 1_8 Demultiplexer - Sanfoundry
PLC Program to Implement 1_8 Demultiplexer - Sanfoundry
Problem Description
Implementing 1:8 De-multiplexer in PLC using Ladder Diagram programming language.
Problem Solution
It has one data input Di, three select input S0, S1 and S3 and 8 outputs Y0 to Y7.
To select n outputs, we need m select lines such that 2^m = n. Depending on the output. The
selection of one of the n outputs is done by the select pins.
It does not need K-map and simplification so one step is eliminated to create Ladder Logic Diagram.
Realize the de-multiplexer using Logic Gates.
Truth Table can be written as given below.
http://www.sanfoundry.com/plc-program-implement-1-8-demultiplexer/ 1/4
4/5/2017 PLC Program to Implement 1:8 Demultiplexer - Sanfoundry
PLC Program
Here is PLC program to Implement 1:8 Demultiplexer, along with program explanation and run time test
cases.
Program Description
In all the rungs, S2 (I:1/0), S1 (I:1/1) and S0 (I:1/2) are used as a selector line input as shown in Logic
Circuit.
Y0 to Y7, O:2/7 are Onputs respectively.
When S2 (I:1/0), S1 (I:1/1) and S0 (I:1/2) are low, Y0 output will have whatever state Data Input bit
I:1/3 holds, either 1 or 0.
When S2 (I:1/0) and S1 (I:1/1) are low and S0 (I:1/1) is high, Y1 output will have whatever state Data
http://www.sanfoundry.com/plc-program-implement-1-8-demultiplexer/ 3/4
Input bit I:1/3 holds.
4/5/2017 PLC Program to Implement 1:8 Demultiplexer - Sanfoundry
http://www.sanfoundry.com/plc-program-implement-1-8-demultiplexer/ 4/4