Lt (<), Le (<=), Gt (>), And Ge (>=); Nj-Series Instructions Reference Manual (W502 - Omron NJ501-1500 Reference Manual

Machine automation controller nj-series
Hide thumbs Also See for NJ501-1500:
Table of Contents

Advertisement

2 Instruction Descriptions
LT (<), LE (<=), GT (>), and GE (>=)
These instructions compare the sizes of two or more values.
LT (<):
Performs a less than comparison.
LE (<=):
Performs a less than or equal comparison.
GT (>):
Performs a greater than comparison.
GE (>=):
Performs a greater than or equal comparison.
Instruction
Name
LT (<)
Less Than
LE (<=)
Less Than Or
Equal
GT (>)
Greater Than
GE (>=)
Greater Than Or
Equal
2-88
FB/FUN
Graphic expression
FUN
(@)LT
EN
In1
:
:
InN
EN
In1
:
:
InN
FUN
(@)LE
EN
In1
:
:
InN
EN
In1
:
:
InN
FUN
(@)GT
EN
In1
:
:
InN
EN
In1
:
:
InN
FUN
(@)GE
EN
In1
:
:
InN
(@)>=
EN
In1
:
:
InN
Out:=(In1<In2) & (In2<In3)
& ··· &
Out
(InN-1<InN);
(@)<
Out
Out:=(In1<=In2) &
(In2<=In3) & ··· &
Out
(InN-1<=InN);
(@)<=
Out
Out:=(In1>In2) & (In2>In3)
& ··· &
Out
(InN-1>InN);
(@)>
Out
Out:=(In1>=In2) &
(In2>=In3) & ··· &
Out
(InN-1>=InN);
Out

NJ-series Instructions Reference Manual (W502)

ST expression

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents