FXCPU Structured Programming Manual
(Application Functions)
Program example
In this program, multiplication is performed using double word [signed] data stored in devices specified in
and
, and the operation result is output to a device specified in
s1
s2
[Structured ladder]
g_bool1
g_dint1
g_dint2
[ST]
g_bool3:=MUL_E(g_bool1,g_dint1,g_dint2,g_dint3);
MUL_E
g_bool3
EN
ENO
_IN
g_dint3
_IN
5.3 Standard Arithmetic Functions
.
d
1
2
3
4
5
6
A
141