![background image](http://html1.mh-extra.com/html/omron/nx-sl-series/nx-sl-series_instruction-and-reference-manual_742411102.webp)
2 Standard Functions
2 - 68
NX-series Safety Control Unit Instructions Reference Manual (Z931)
LT, LE, GT, and GE
These instructions compare the sizes of two values.
LT: Performs a less than comparison between two values.
LE: Performs a less than or equal comparison between two values.
GT: Performs a greater than comparison between two values.
GE: Performs a greater than or equal comparison between two values.
If you omit an input or output parameter, a building error will occur.
An error will not occur if the output terminal is not used or if it is connected to an input terminal on the
next instruction.
Instruction
Name
FB/FUN
Graphic expression
LT
Less Than
FUN
LE
Less Than Or
Equal
FUN
GT
Greater Than
FUN
GE
Greater Than Or
Equal
FUN
Variables
Name
I/O
Description
Valid range
Default
In1 or In2
Comparison
data
Input
Value to com-
pare
Depends on data type.
---
Out
Comparison
result
Output
Comparison
result
Depends on data type.
---
Boolean
Bit strings
Integers
Durations
BOOL
SAFEBOOL
BYTE
SAFEBYTE
WO
RD
SAFEWORD
DWOR
D
SAFEDWORD
INT
SAFEINT
DINT
SAFEDINT
TI
ME
SAFETIME
In1 or In2
OK
OK
OK
OK
OK
OK
Out
OK
OK
LT
LE
GT
GE
Summary of Contents for NX-SL series
Page 8: ...CONTENTS 6 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 28: ...Sections in this Manual 26 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 98: ...2 Standard Functions 2 64 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 104: ...2 Standard Functions 2 70 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 110: ...2 Standard Functions 2 76 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 265: ...I 1 I NX series Safety Control Unit Instructions Reference Manual Z931 Index ...
Page 268: ...I 4 NX series Safety Control Unit Instructions Reference Manual Z931 Index ...
Page 269: ......