Mitsubishi Electric MELSEC FX Series Structured Programming Manual page 163

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 negation is obtained using each bit of word [unsigned]/bit string [16-bit] data stored
in a device specified in
type of data stored in a device specified in
1) Function without EN/ENO(NOT)
[Structured ladder]
g_word1=16#AAAA
[ST]
g_word2:= NOT(g_word1);
2) Function with EN/ENO(NOT_E)
[Structured ladder]
g_bool1
[ST]
g_bool3:=NOT_E(g_bool1,g_word1,g_word2);
, and the operation result is output to a device specified in
s
NOT
_IN
NOT_E
EN
ENO
g_word1
_IN
.
s
g_word2=16#5555
g_bool3
g_word2
5.5 Standard Bitwise Boolean Functions
using the data
d
1
2
3
4
5
6
A
161

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents