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 #189 background imageLoading...
Page #189 background image
5.6 Standard Comparison Functions
5.6.1 Comparison
5-155
5
APPLICATION
FUNCTIONS
GT(_E), GE(_E),
EQ(_E), LE(_E),
LT(_E), NE(_E)
GT(_E), GE(_E), EQ(_E), LE(_E), LT(_E), NE(_E)
(a) GT, GT_E(>) Performs comparison of [ > ]&[ > ]&···&[ (n1) > (n)].
Outputs TRUE if all of comparisons satisfy
(n1) > (n).
Outputs FALSE if any of comparisons satisfies
(n1) (n).
(b) GE, GE_E( ) Performs comparison of [ ]&[ ]&···&[
(n1) (n)].
Outputs TRUE if all of comparisons satisfy
(n1) (n).
Outputs FALSE if any of comparisons satisfies
(n1) < (n).
(c) EQ, EQ_E(=) Performs comparison of [ = ]&[ = ]&···&[
(n1) = (n)].
Outputs TRUE if all of comparisons satisfy
(n1) = (n).
Outputs FALSE if any of comparisons satisfies
(n1) (n).
(d) LE, LE_E( ) Performs comparison of [ ]&[ ]&···&[
(n1) (n)].
Outputs TRUE if all comparisons satisfy
(n1) (n).
Outputs FALSE if any of comparisons satisfies
(n1) > (n).
(e) LT, LT_E(<) Performs comparison of [ < ]&[ < ]&···&[
(n1) < (n)].
Outputs TRUE if all comparisons satisfy
(n1) < (n).
Outputs FALSE if any of comparisons satisfies
(n1) (n).
(f) NE, NE_E(< >) Performs comparison of [ ].
Outputs TRUE if .
Outputs FALSE if = .
(2) The number of pins of variable 's' can be changed in the range from 2 to 27. (The number of
pins of variable 's' for comparison operator NE(_E)) is fixed at and .
Operation result
(1) Function without EN/ENO
An operation is executed and the operation value is output from .
(2) Function with EN/ENO
The following table shows the executing conditions and operation results.
*1 When FALSE is output from ENO, the data output from is undefined.
In this case, create a program so that the data output from is not used.
EN ENO
TRUE (Operation execution) TRUE Operation output value
FALSE (Operation stop)
FALSE
*1
Undefined value
s1
s2 s2
s3 s s
s s
s s
s1
s2 s2
s3 s s
s s
s s
s1
s2 s2
s3 s s
s s
s s
s1
s2 s2
s3 s s
s s
s s
s1
s2 s2
s3 s s
s s
s s
s1
s2
s1
s2
s1
s2
s1
s2
d
d
d
d

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