32-Bit Data (Double Word Data) - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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
• 16-bit data instruction
ENO:=MOV(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 than the number of points specified by digits remain unchanged.
Ladder example
• When the source data is a word device
ENO:=MOV(EN, G11478000, K2RY0);
Handling 16-bit data with word devices/labels
■Word device
One point of word device can handle 16-bit data.
■Word type label
One point of word type label can handle 16-bit data.

32-bit data (double word data)

Data size and data range
32-bit data includes signed and unsigned 32-bit data.
In signed 32-bit data, a negative number is represented in two's complement.
Data name
Signed 32-bit data
Unsigned 32-bit data
Handling 32-bit data with bit devices
A bit device can be handled as 32-bit data by performing digit specification.
Item
Bit device
1 OVERVIEW
22
1.2 Data Specification Method
Processing
b15
G11478000
0
Processing
b15
G11478000
1
RY15
K2RY0
(1) The data remain the same.
Data size
Value range
Decimal notation
32 bits (2 word)
-2147483648 to 2147483647
0 to 4294967295
Notation
KBit device start number
: Number of digits (Specify the number within the range of 1 to 8.)
0
∙∙∙
0
0
0
0
0
0
0
0
∙∙∙
b8
b7
1
1
0
1
0
1
0
1
RY8 RY7
∙∙∙
1
(1)
RX3 RX2 RX1
RX0
K1RX0
b4
b3
b2
b1
b0
0
0 RX3 RX2 RX1
RX0
0
∙∙∙
b0
0
0
1
1
1
0
1
RY0
∙∙∙
0
1
1
1
0
1
0
Hexadecimal notation
00000000H to FFFFFFFFH
Example
K8RX80

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents