256-Bit Decode, Encode (Deco, Decop, Enco, Encop) - Mitsubishi MELSEC-A Series Programming Manual

Type acpu/qcpu-a (a mode)
Hide thumbs Also See for MELSEC-A Series:
Table of Contents

Advertisement

7. APPLICATION INSTRUCTIONS
7.4.3 8 ↔ 256-bit decode, encode
(DECO, DECOP, ENCO, ENCOP)
Bit device
X
Y
M
(S)
O
O
O
(D)
O
O
DECO
n
(S)
O
O
O
ENCO
(D)
n
Decode, encode commands
Functions
Available Device
L
S
B
F
T
C
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
P
DECO
8 → 256 bit decode
(1) Corresponding to the binary value specified with the lower "n" bits in (S), a bit in
(D) turns ON.
(2) For "n", 1 to 8 can be specified.
(3) When "n" is 0, no processing is performed and the contents of 2
begin with the device specified at (D), do not change.
(4) A bit device is treated as one bit and a word device as 16 bits.
Applicable
CPU
Word (16-bit) device
D
W
R
A0
A1
Z
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
(S)
(D)
n
(S)
(D)
n
n=3
(Binary value=6)
S
1 1 0
D
7 − 46
All CPUs
Constant Pointer
Level
V
K
H
P
I
N
O
O
O
O
O
O
O
O
O
Indicates the instruction symbol.
DECO, ENCO
Setting data
Decode, encode data or
head device number
(S)
stor-ing decode, encode
data
Head device number
(D)
which will store the
op-eration result
n
Effective bit length (1 to 8)
7
6 5 4 3 2 1 0
0 1
0 0 0 0 0 0
ON
MELSEC-A
M9012 (M9010, M9011)
O
O
n
bits, which

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acpu-common-p-e13j741AcpuQcpu-a

Table of Contents