Mitsubishi MELSEC-Q Series Programming Manual page 46

Mitsubishi programmable controller
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

(c) When the destination is a word device
Instruction that processes 16-bit data
(d) When a digit is specified at the destination
When the source
X010
When the source
X010
(2) Using word devices
A word device is specified in unit of one point (16 bits).
4.4 Method for Specifying Data
4-24
4.4.2 Word (16 bits) data
For the word device at the destination side, 0s are stored to bits starting from the digit
specified at the source.
Ladder example
X010
MOV
EN
ENO
K1X0
s
d
Source s
Figure 4.4.2-2 Ladder example and processing details
target of destination.
Bit devices following the points by the specified digit are not changed.
Ladder example
is a numeric value
s
MOV
EN
ENO
H1234
s
d
K2M0
Destination d
is a word device
s
MOV
EN
ENO
D0
s
d
K2M100
Destination d
Figure 4.4.2-3 Ladder example and processing details
X010
MOV
EN
ENO
100
s
d
One point (16 bits) of D0
is the target word device
1. When performing the process with a digit specification, a desired value can be
used for the start device number of bit devices.
2. Digits cannot be specified for direct access inputs/outputs (DX, DY).
D0
b15
D0
0 0
, the points by the specified digit are the
d
H1234 0
M15
K2M0
b15
D0 1
M115
K2M100
D0
Processing
K1X0
0s are stored
b4
0 0 0 0 0 0 0 0 0 0
Processing
1
2
3
0
0
1
0
0
1
0
0 0 1 1 0 1 0 0
M8
M7
0 0 1 1 0 1 0 0
Not changed
3
b8
b7
1
1
0
1
0
1
0
1 0 0 1 1 1 0 1
M108
M107
1
0 0 1 1 1 0 1
Not changed
X3 X2 X1 X0
b3
b2
b1
b0
X3
X2 X1 X0
4
M0
4
b0
M100

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-l seriesMelsec-f series

Table of Contents