RsLogix 500 DCD Instuction

Bullzi

Lifetime Supporting Member
Join Date
Jun 2012
Location
Colorado
Posts
1,530
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 logic and it works.

My question is: Since you have to put in the Source address at the word level i.e. B3:0 in the DCD instuction and I am only using the first 4 B3:0/0 to B3:0/3, is the rest of the word B3:0/4 to B3:0/15 available for other things? Or does the DCD take up the entire word?

Thanks for the help.
Chris
 
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 logic and it works.

My question is: Since you have to put in the Source address at the word level i.e. B3:0 in the DCD instuction and I am only using the first 4 B3:0/0 to B3:0/3, is the rest of the word B3:0/4 to B3:0/15 available for other things?
Yes.

Bullzi said:
Or does the DCD take up the entire word?
It is non-destructive to the Source so those bits are unchanged, and don't affect the DCD instruction. It only "cares about" or "masks in" the lowest four bits before writing to the destination word in which all bits are used.
 
Thanks for the help. My testing seemed to indicate what you said but I just wanted to make sure.
 

Similar Topics

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,516
Hi Everyone, I am not proficient in RSLogix 500 so I have a question regarding the evaluation of N7:0 data as an input. So as I understand in...
Replies
1
Views
84
I have a little bit of experience with Allen-Bradley. I have a Micrologix 1500 (RSLogix 500) and a PanelView Plus 7 (FactoryTalk View Studio ME)...
Replies
3
Views
162
buen dia. tengo una falla al pasar los tags de mi plc SLC 5 0/4 a mi panel me aparece un error Problem writing value " " to item <tag name>...
Replies
1
Views
81
Will someone please convert this logic to pdf?
Replies
2
Views
127
Back
Top Bottom