FXCPU Structured Programming Manual
(Application Functions)
Program example
In this program, the logical sum is obtained using each bit of word [unsigned]/bit string [16-bit] data stored in
devices specified in
data type of data stored in devices specified in
[Structured ladder]
g_bool1
g_word1=16#5F03
g_word2=16#9CCC
[ST]
g_bool3:=OR_E(g_bool1,g_word1,g_word2,g_word3);
and
, and the operation result is output to a device specified in
s1
s2
s1
OR_E
EN
ENO
g_bool3
_IN
g_word3=16#DFCF
_IN
5.5 Standard Bitwise Boolean Functions
and
.
s2
1
using the
d
2
3
4
5
6
A
157