Deco (Fnc 41) - Mitsubishi FX1S Series Programming Manual

Melsec-f
Hide thumbs Also See for FX1S Series:
Table of Contents

Advertisement

FX Series Programmable Controlers
5.5.2

DECO (FNC 41)

Mnemonic
DECO
FNC 41
(Decode)
16 BIT OPERATION
Function
Source data value
K, H,
Q identifies the
X, Y, M,S,
Qth bit of the
T, C, D, V,
destination device
Z
which will be
turned ON
32 BIT OPERATION
Operands
S
D
Y, M, S,
K, H,

T, C, D
Note:
D= Y,M,S then n range =
1-8
D= T,C,D then
n range = 1-4
n= 0, then no
processing
PULSE-P
Operation:
Source data is provided by a combination of operands
S and n. Where S specifies the head address of the
data and n, the number of consecutive bits. The
source data is read as a single number (binary to
decimal conversion) Q. The source number Q is the
location of a bit within the destination device (D) which
will be turned ON (see example opposite). When the
destination device is a data device n must be within
the range 1 to 4 as there are only 16 available
destination bits in a single data word. All unused data
bits within the word are set to 0.
Applied Instructions 5
FX
FX
FX
1S
1N
2N
Program steps
n
DECO,
DECOP:
7 steps
5-56
FX
2NC

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx1n seriesFx2nc seriesFx2n series

Table of Contents