Value Ranges By Output Format - Mitsubishi MELSEC Q series User Manual

Programmable controller
Hide thumbs Also See for MELSEC Q series:
Table of Contents

Advertisement

3.3.3

Value ranges by output format

This section describes the value ranges available for each output format.
(1) Integer type
The value range available for each integer type is shown below.
Output format
Word (unsigned)
Word (signed)
Double word (unsigned)
Double word (signed)
(2) Real number type
The value range available for each real number type is shown below.
Output format
Lower limit
Single-precision
-3.4028235E+38
real number
Double-precision
-1.79769313486231570E+308
real number
If the output value is out of the range specified above, the following value is output.
• +Inf: when the value exceeds the upper limit of positive values
• -Inf: when the value falls below the lower limit of negative values
• 0: when the value is between the upper limit of negative values and the lower limit of positive values
Output format
Single-precision real number
Double-precision real number
42
Lower limit
-2147483648
Negative value
Upper limit
-1.401298E-45
-4.94065645841246544E-324
-Inf
0xff800000
0xfff0000000000000
0
-32768
0
Lower limit
1.401298E-45
4.94065645841246544E-324
0
0x00000000
0x0000000000000000
Upper limit
65535
32767
4294967295
2147483647
Positive value
Upper limit
3.4028235E+38
1.79769313486231570E+308
+Inf
0x7f800000
0x7ff0000000000000

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents