Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1913

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

Advertisement

■Operation result
1.
Function without EN/ENO
The operation processing is performed. The operation result is output from (d).
2.
Function with EN/ENO
The execution conditions and operation results will be as follows.
Execution condition
EN
TRUE (executed)
FALSE (not executed)
*1 If the value FALSE is output from ENO, the output data from (d) will be undefined. Create a program so that the undefined value will not
be used in operations.
Operation error
• When (s1) and (s2) are of REAL data type
Error code
Description
(SD0)
The value input to (s1) is -0, a subnormal number, NaN (not a number), or .
3402H
The value input to (s2) is -0, a subnormal number, NaN (not a number), or .
The value output from (d) is -0, a subnormal number, NaN (not a number), or .
3403H
The data output from (d) exceeds the following range. (An overflow has occurred.)
128
|(d)|<2
• When (s1) and (s2) are of LREAL data type
Error code
Description
(SD0)
The value input to (s1) is -0, a subnormal number, NaN (not a number), or .
3402H
The value input to (s2) is -0, a subnormal number, NaN (not a number), or .
The value output from (d) is -0, a subnormal number, NaN (not a number), or .
3403H
The data output from (d) exceeds the following range. (An overflow has occurred.)
1024
|(d)|<2
Operation result
ENO
TRUE
*1
FALSE
(d)
Operation result output value
Undefined value
27 ARITHMETIC OPERATION FUNCTIONS
27.3 Subtraction
27
1911

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents