DCD Decode 4 to 1 of 16

John Morris

Lifetime Supporting Member
Join Date
Sep 2015
Location
San Antonio
Posts
689
Good afternoon to all

Need help in understanding the purpose of a case state "decode 4 to 1 of 16"

any help is greatly appreciated.

Thank you
 
Four binary bits have a possible sixteen states:
0 = 0 0 0 0
1 = 0 0 0 1
2 = 0 0 1 0
3 = 0 0 1 1
4 = 0 1 0 0
5 = 0 1 0 1
.
.
.
15 = 1 1 1 1
 
so there are sixteen possibilities depending to the condition and sixteen ways to react/respond base on a four bit combination?
 

Similar Topics

I have a SLC 504, Redlion G303 along with a Danfoss drive This is the first time that I got deep in to this program (the 504), it was wrote by I...
Replies
3
Views
2,431
How can I achieve the same functionality in Studio 5000? Image 001.png for the old RSLogix500 program Image 002.png for conversion to Studio...
Replies
6
Views
2,517
Hi, i'm migrating a project from Rslogix500 to logix5000 and the first error i get is that the instruction Decode (DCD) does not exist. can...
Replies
19
Views
9,011
:shoot:I am wanting to take a word and say chop up the hex value ie. word b9:0 = DCA9 send the 9 - b10:0 then A-B10:1 then C-B10:2 then...
Replies
8
Views
3,288
Hi Everyone, I am working on a project with a SLC504. I am using the DCD instruction to use 4 inputs to select 1 of 16 outputs. I have tested my...
Replies
2
Views
3,245
Back
Top Bottom