Comparison Operations; Comparison - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

6.3

Comparison Operations

Comparison

GT, GE, EQ, LE, LT, NE, >, >=, =, <=, <, <>
High
Basic
Process
performance
Structured ladder/FBD
GT
s1
s2
s28
The following operator(s) can go in the dotted squares.
GT, GE, EQ, LE, LT, NE
Structured ladder/FBD
Not supported
The following operator(s) can go in the dotted squares.
>, >=, =, <=, <, <>
■Argument
Input/output
argument
Input argument
Output argument
Processing details
■Operation processing
For details of the operation processing, refer to the following.
Page 152 Comparison
Operation error
• No operation error occurs.
Program example
■GT, >
The program which performs comparison operation between the values input to (s1) and (s2), and outputs the operation result
from (d).
[Structured ladder/FBD]
[ST]
g_bool1:=(g_int1)>(g_int2);
6 OPERATOR
214
6.3 Comparison Operations
LCPU
Redundant Universal
ST
d
Not supported
ST
d:=s1
>
Name
s1 to s28
(s1 and s2 only for NE and <>)
d
s2
s28;
Description
Input
Output (TRUE: True value, FALSE: False value)
Data type
ANY_SIMPLE
Bit

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents