Constant Descriptions - Mitsubishi Electric R16MTCPU Programming Manual

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

4.3

Constant Descriptions

The constant descriptions of the 16-bit integer type, 32-bit integer type and 64-bit floating-point type are shown below.
Representation
Decimal representation
Hexadecimal representation
• The 32-bit integer type is ended by L and the 64-bit floating-point type is provided with a decimal point and exponent part
(E) to denote their data types explicitly.
• The constant without the data type is regarded as the applicable minimum type.
• The constant in decimal representation is headed by K and the one in hexadecimal representation by H. K can be omitted.
• The 64-bit floating-point type cannot be represented in hexadecimal.
16-bit integer type
K-32768 to K32767
H0000 to HFFFF
32-bit integer type
K-2147483648L to K2147483647L
H00000000L to HFFFFFFFFL
4 OPERATION CONTROL PROGRAMS
64-bit floating-point type
K-1.79E+308 to K-2.23E-308,
K0.0,
K2.23E-308 to K1.79E+308
125
4.3 Constant Descriptions
4

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents