Mitsubishi Electric MELSEC FX Series Structured Programming Manual page 157

Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
(Application Functions)
Program example
In this program, the logical product 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#FF0F
g_word2=16#1234
[ST]
g_bool3:=AND_E(g_bool1,g_word1,g_word2,g_word3);
and
, and the operation result is output to a device specified in
s1
s2
s1
AND_E
g_bool3
EN
ENO
_IN
g_word3=16#1204
_IN
5.5 Standard Bitwise Boolean Functions
and
.
s2
1
using the
d
2
3
4
5
6
A
155

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents