EasyManuals Logo

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 #180 background imageLoading...
Page #180 background image
5-146
5.4 Standard Bitwise Boolean Functions
5.4.1 Boolean AND, boolean OR, boolean exclusive OR, and boolean NOT
AND(_E), OR(_E), XOR(_E), NOT(_E)
Operation Error
No operation error occurs in the execution of the AND(_E), OR(_E), XOR(_E), and NOT(_E)
functions.
Program Example
(1) The program which performs Boolean AND 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 (AND)
[Structured ladder]
[ST]
g_word3 :=(g_word1) AND (g_word2);
or
g_word3 :=(g_word1) & (g_word2);
(b) Function with EN/ENO (AND_E)
[Structured ladder]
[ST]
g_bool3 := AND_E (g_bool1, g_word1, g_word2, g_word3);
s1
s27
d
s1
s27

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