Publication 1763-RM001C-EN-P - October 2009
202
Conversion Instructions
DCD - Decode 4 to
1-of-16
Instruction Type: output
The DCD instruction uses the lower four bits of the source word to set
one bit of the destination word. All other bits in the destination word are
cleared. The DCD instruction converts the values as shown in the table
below:
DCD
Decode 4 to 1 of 16
Source
N7:0
0000h<
Dest
N7:1
0000000000000000<
DCD
Execution Time for the DCD Instruction
Controller
When Rung Is:
True
False
MicroLogix 1100
25.68
μ
s
0.87
μ
s
Decode 4 to 1-of-16
Source Bits
Destination Bits
15 to 04
03
02
01
00
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
x
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
x
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
x
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
x
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
x
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
x
0
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
x
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
x
0
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
x
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
x
1
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
x
1
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
x
1
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
x
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
x
1
1
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
x
1
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
x
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
x = not used
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive