EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC Q Series

Mitsubishi MELSEC Q Series Structured Programming Manual

Mitsubishi MELSEC Q Series
268 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #181 background imageLoading...
Page #181 background image
5.4 Standard Bitwise Boolean Functions
5.4.1 Boolean AND, boolean OR, boolean exclusive OR, and boolean NOT
5-147
5
APPLICATION
FUNCTIONS
AND(_E), OR(_E),
XOR(_E), NOT(_E)
AND(_E), OR(_E), XOR(_E), NOT(_E)
(2) The program which performs Boolean OR on bit, word (unsigned)/16-bit string or double
word (unsigned)/32-bit string type data input to variables to bit by bit, and outputs the
operation result from in the same data type as that of variables to .
(a) Function without EN/ENO (OR)
[Structured ladder]
[ST]
g_word3 :=(g_word1) OR (g_word2);
(3) The program which performs Boolean XOR on bit, word (unsigned)/16-bit string or double
word (unsigned)/32-bit string type data input to variables to bit by bit, and outputs the
operation result from in the same data type as that of variables to .
(a) Function without EN/ENO (XOR)
[Structured ladder]
[ST]
g_word3 :=(g_word1) XOR (g_word2);
(4) The program which performs Boolean NOT on bit, word (unsigned)/16-bit string or double
word (unsigned)/32-bit string type data input to variable bit by bit, and outputs the
operation result from in the same data type as that of variable .
(a) Function without EN/ENO (NOT)
[Structured ladder]
[ST]
g_word2 :=NOT (g_word1);
s1
s27
d
s1
s27
s1
s27
d
s1
s27
s1
d
s1

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals