Decoding From 8 To 256 Bits: Deco - Mitsubishi Electric MELSEC Q Series Programming Manual

Motion controller
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

5 SEQUENCE INSTRUCTIONS FOR MOTION CPU

5.4.33 Decoding from 8 to 256 bits: DECO

Setting
data
X
Y
M
(S)
(D)
n
[Setting data]
[Function]
[Error]
Bit device
SM
F
T
C
D
[Instruction]
Command
DECO
Setting data
(S)
(D)
n
(1) Turns ON the bit position of (D), which corresponds to the binary value designated
by the lower n bits at (S).
(2) The value of n can be designated between 1 and 8.
(3) No processing is conducted if n=0, and there are no changes in device designated
at (D).
(4) Bit devices are treated as 1 bit, and word devices as 16 bits.
n
The range 2
bits from exceeds the range of the corresponding device or the value of n
is other than 0 to 8, sequence program error occurs.
Safety observation warnings (SM24) are turned ON and error code (SD32): 10, detail
code (SD33): 8015H are stored.
Usable device
Word device
W
T
C
SD
Z
DECO
(S)
Number of the device where the data to be decoded is stored
Number of the devices where the decoding result will be stored
Valid bit length (1 to 8)
5 - 73
Constant
Pointer
Level
K
H
P
N
(D)
n
Description
(BIN 16 bits)
(BIN 16 bits)
Digit
desig-
Index
nation
: Usable

Advertisement

Table of Contents
loading

Table of Contents