784
17 ARITHMETIC OPERATION FUNCTIONS
17.4 Division
â– Operation result
1. Function without EN/ENO
The following table lists the operation results.
2. Function with EN/ENO
The following table lists the execution conditions and operation results.
*1 When FALSE is output from ENO, data output from (d) is undefined. In that case, modify a program so that the data output from (d) is
not used.
• (s1) and (s2) are INT
• (s1) and (s2) are DINT
• (s1) and (s2) are REAL
Operation result (d)
No operation error occurred Operation output value
An operation error occurred Indefinite value
Execution condition Operation result
EN ENO (d)
TRUE (Executes operation) TRUE (Operation error did not occur) Operation output value
FALSE (Operation error occurred)
*1
Indefinite value
FALSE (Stops operation) FALSE
*1
Indefinite value
Error code
(SD0/SD8067)
Description
3400 The value (divisor) specified by (s2) is 0.
Error code
(SD0/SD8067)
Description
3400 The value (divisor) specified by (s2) is 0.
Error code
(SD0/SD8067)
Description
3400 The value (divisor) specified by (s2) is 0.
3402 The data specified by (s1) is -0, denormalized number, NaN (not a number), or .
The data specified by (s2) is -0, denormalized number, NaN (not a number), or .
3403 (d) exceeds the following range. (An overflow has occurred.)
|(d)|<2
128