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

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
Other than link direct device
Link direct device
A bit device used in safety programs executed by the Safety CPU can be handled as 16-bit data by performing digit
specification.
Item
Bit device
Handling 16-bit data with bit type array labels
A bit type array label can be handled as 16-bit data by performing digit specification.
The following table shows the notation for handling a bit type array label as 16-bit data by digit specification.
Item
Bit type array label
1 OVERVIEW
42
1.2 Data Specification Method
Data size
Value range
Decimal notation
16 bits (1 word)
-32768 to 32767
0 to 65535
Notation
KBit device start number
: Number of digits (Specify the number within the range of 1 to 4.)
J\KBit device start number
 (on the left): Network number
 (on the right): Number of digits (Specify the number within the range of 1 to 4.)
Notation
SA\KBit device start number
: Number of digits (Specify the number within the range of 1 to 4.)
Notation
KLabel name
: Number of digits (Specify the number within the range of 1 to 4.)
Specify a label name without an array element.
Hexadecimal notation
0000H to FFFFH
Example
K4X10
K2M113
J1\K3B10
J10\K2Y10
Example
SA\K4X10
SA\K2M113
Example
K1L_BOOL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents