16-Bit Data (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

16-bit data (word data)

Data size and data range
16-bit data includes signed and unsigned 16-bit data.
In signed 16-bit data, a negative number is represented in two's complement.
Data name
Signed 16-bit data
Unsigned 16-bit data
Handling 16-bit data with bit devices
A bit device can be handled as 16-bit data by performing digit specification.
Item
Bit device
Precaution
Digit specification cannot be made for a bit type array label.
Digit specification range
The following table lists the range of 16-bit data for each digit specification.
Digit
Decimal notation
specification
K1
0 to 15
K2
0 to 255
K3
0 to 4095
K4
Signed 16-bit data: -32768 to 32767
Unsigned 16-bit data: 0 to 65535
Ex.
When digit specification is made for RX0, the applicable number of points is as follows.
• K1RX0→4 points from RX0 to RX3
• K2RX0→8 points from RX0 to RX7
• K3RX0→12 points from RX0 to RXB
• K4RX0→16 points from RX0 to RXF
RXF
RXC RXB
RX8 RX7
K3RX0
K4RX0
Data size
16 bits (1 word)
Notation
KBit device start number
: Number of digits (Specify the number within the range of 1 to 4.)
RX4 RX3
RX0
K1RX0
K2RX0
Value range
Decimal notation
-32768 to 32767
0 to 65535
Hexadecimal notation
0H to FH
00H to FFH
000H to FFFH
0000H to FFFFH
1.2 Data Specification Method
Hexadecimal notation
0000H to FFFFH
Example
K4RX10
1 OVERVIEW
1
21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents