Range Of Values By Output Format - Mitsubishi Electric MELSEC iQ-R Series User Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

2.3

Range of Values by Output Format

This section shows the range of values that can be output by each output format.
Integer type
The ranges of the values that can be represented in each integer type are as follows.
Output format
Word [Signed]
Double Word [Signed]
Word [Unsigned]/Bit String [16-bit]
Double Word [Unsigned]/Bit String [32-bit]
16bit BCD
32bit BCD
• When the value after scaling, inverse scaling, or data type conversion cannot be expressed, '0' is output.
• When the device value or the value after scaling/inverse scaling/data type conversion exceeds the value
range, the value is rounded to within the range.
If the value exceeds the upper limit value: The upper limit value is output.
If the value is lower than the lower limit value: The lower limit value is output.
Float type
The ranges of the values that can be represented in each float type are as follows.
Output format
Negative values
Lower limit
FLOAT [Single
-3.4028235E+38
Precision]
FLOAT [Double
-1.79769313486231570E+308
Precision]
• When the value after scaling, inverse scaling, or data type conversion cannot be expressed, the following
'NaN' value is output.
• When the device value or the value after scaling/inverse scaling/data type conversion exceeds the value
range, the value is output as follows:
If the value exceeds the upper limit value: The following '+Inf' value is output.
If the value is lower than the lower limit value: The following '-Inf' value is output.
If the value is in a range between the upper limit value of negative value and the lower limit value of positive
value: The following '0' value is output.
Output format
-Inf
FLOAT [Single
0xff800000
Precision]
FLOAT [Double
0xfff0000000000000
Precision]
Lower limit
-32768
-2147483648
0
0
0000
00000000
Positive values
Upper limit
Lower limit
-1.175495E-38
1.175495E-38
-2.22507385850721E-308
2.22507385850721E-308
0
+Inf
0x00000000
0x7f800000
0x0000000000000000
0x7ff0000000000000
Upper limit
32767
2147483647
65535
4294967295
9999
99999999
Upper limit
3.4028235E+38
1.79769313486231570E+308
NaN
0x7fbfffff
0x7ff7ffffffffffff
2 SPECIFICATIONS
2.3 Range of Values by Output Format
2
31

Advertisement

Table of Contents
loading

Table of Contents