Decoding 8-bit data to 256-bit data
DECO(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions decode the lower (n) bits of the specified device.
Ladder
(s)
(d)
(n)
FBD/LD
EN
ENO
s
d
n
■Execution condition
Instruction
DECO
DECOP
Setting data
■Description, range, data type
Operand
Description
(s)
Decode data or the start number of the device where the
decode data is stored
(d)
Device for storing the decoded data
(n)
Effective bit length
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
(n)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=DECO(EN,s,n,d);
ENO:=DECOP(EN,s,n,d);
Range
Data type
Bit/16-bit signed binary
Bit/Word
1 to 8
16-bit unsigned binary
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
6.6 Data Conversion Instructions
Data type (label)
ANY_ELEMENTARY
ANY_ELEMENTARY
ANY16
BOOL
BOOL
Constant
Others
specification
K, H E
$
6 BASIC INSTRUCTIONS
6
471