Operation Error
No operation error occurs in the execution of the MUL(_E) function.
Program Example
The program which performs multiplication (
and
, and outputs the operation result from
s1
s2
(a) Function without EN/ENO (MUL)
[Structured ladder]
[ST]
g_dint3:= g_dint1*g_dint2;
(b) Function with EN/ENO (MUL_E)
[Structured ladder]
[ST]
g_bool3 := MUL_E(g_bool1, g_dint1, g_dint2, g_dint3);
) on double word (signed) type data input to
s1
s2
in the same data type as that of
d
5.3 Standard Arithmetic Functions
5.3.2 Multiplication
MUL(_E)
.
s
5
5-127