Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 26

Motion module instructions, standard functions/ function blocks
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 is specified with digit specification in the source of an instruction, 0 is stored in the word device of the
destination, in the upper bits than those specified in the source of the instruction.
Ladder example
• 32-bit data instruction
ENO:=DMOV(EN, K1RX0, G11478000);
■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 upper bit devices thanthe number of points specified by digits remain unchanged.
Ladder example
• When the source data is a word device
ENO:=DMOV(EN, G11478000, K5RY0);
Handling 32-bit data with word devices/labels
■Word device
Two points of word device can handle 32-bit data.
■Double word type label
One point of double word device can handle 32-bit data.
1 OVERVIEW
24
1.2 Data Specification Method
Processing
b15
G11478000
0
0
0
0
G11478001
0
0
0
0
b31
Processing
b15
1
1
1
0
G11478000
b15
0
0
1
1
G11478001
RY15
1
0
1
1
RY31
(1) The data remain the same.
K1RX0
0
∙∙∙
b4
0
0
0
0
0
0
0
0
0
0
0
0
0
0
∙∙∙
0
∙∙∙
b8
b7
0
1
0
0
0
1
0
∙∙∙
b8
b7
0
1
0
0
1
0
0
∙∙∙
RY8
RY7
0
1
0
0
1
0
0
RY20RY19
∙∙∙
(1)
RX3 RX2 RX1
RX0
b3
b2
b1
b0
0 RX3 RX2 RX1
RX0
0
0
0
0
0
b16
∙∙∙
b0
1
1
1
0
1
∙∙∙
b0
1
0
1
1
1
∙∙∙
RY0
1
1
1
0
1
RY16
∙∙∙
0
1
1
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents