Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 49

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Specifying a bit device with digit specification in the source (s)
When a bit device with digit specification is specified in the source of an instruction, 0 is stored in the bits, which follow the bit
for which digit specification is made in the source, in the word device of the destination.
Ladder example
• 32-bit data instruction
X10
K1X0
DMOV
(s)
■Specifying a bit device with digit specification in the destination (d)
When a digit specification is made in the destination of an instruction, the number of points by the digit specification is
applicable in the destination.
The bit devices after the number of points specified by digits remain unchanged.
Ladder example
• When the source data is a word device
X10
DMOV
D0
Handling 32-bit data with word devices/labels
■Word device
Two points of word device can handle 32-bit data.
Note, however, that one point of the following devices can handle 32-bit data.
• Long timer (LT)
• Long retentive timer (LST)
• Long counter (LC)
• Long index register (LZ)
■Double word type label
One point of double word device can handle 32-bit data.
D0
K5M10
(d)
Processing
0
b15
∙∙∙
d0
0
0
0
0
0
0
0
d1
0
0
0
0
0
0
0
b31
Processing
b15
∙∙∙
d0
1
1
1
0
0
1
0
b15
∙∙∙
d1
0
0
1
1
0
1
0
M25
∙∙∙
M18
1
1
1
0
0
1
0
M41
∙∙∙
(1)
(1) The data remain the same.
K1X0
X3 X2 X1
b4
b3
b2 b1
0
0
0
0
0
X3 X2 X1
0
0
0
0
0
0
0
0
∙∙∙
0
b8
b7
∙∙∙
0
0
1
0
1
1
1
0
b8
b7
∙∙∙
0
1
0
0
1
0
1
1
M17
∙∙∙
M10
0
0
1
0
1
1
1
0
M30
M29
∙∙∙
M26
0
1
1
1 OVERVIEW
1.2 Data Specification Method
1
X0
b0
X0
0
b16
b0
1
b0
1
1
1
47

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents