Decoding From 8 To 256 Bits (Deco(P)) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7.5.3

Decoding from 8 to 256 bits (DECO(P))

DECO(P)
DECO
DECOP
Setting
Data
S
D
n
Function
(1) Turns ON the bit position of
lower n bits at
(2) The value of n can be designated between 1 and 8.
(3) No processing is conducted if n
designated at
(4) Bit devices are treated as 1 bit, and word devices as 16 bits.
Command
Command
: Data to be decoded or the number of the device where the data to be decoded is stored (BIN 16 bits)
S
: Head number of the devices where the decoding result will be stored (Device name)
D
n
: Valid bit length (1 to 8), 0: No processing (BIN 16 bits)
Internal Devices
R, ZR
Bit
Word
, which corresponds to the binary value designated by the
D
.
S
n = 3
S
1 1 0
(Binary value = 6)
0, and there are no changes in the details of the device
.
D
High
Basic
performance
DECO
S
DECOP
S
J
\
U
\G
Bit
Word
––
7
6 5 4 3 2 1 0
D
0 1
0 0 0 0 0 0
ON
DECO(P)
Process
Redundant Universal
LCPU
n
D
n
D
Constants
Zn
Other
K, H
––
––
––
––
7-71
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents