Constant Descriptions - Mitsubishi Electric Melsec Q Series Programming Manual

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

5 OPERATION CONTROL PROGRAMS

5.3 Constant Descriptions

Decimal
representation
Hexadecimal
representation
The constant descriptions of the 16-bit integer type, 32-bit integer type and 64-bit
floating-point type are shown below.
16-bit integer type
K-32768 to K32767
H0000 to HFFFF
(1) 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.
(2) The constant without the data type is regarded as the applicable minimum type.
(3) The constant in decimal representation is headed by K and the one in
hexadecimal representation by H.
K can be omitted.
(4) The 64-bit floating-point type cannot be represented in hexadecimal.
32-bit integer type
K-2147483648L to K2147483647L
H00000000L to HFFFFFFFFL
5 - 12
64-bit floating-point type
K-1.79E+308 to K-2.23E-308,
K0.0,
K2.23E-308 to K1.79E+308

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents