EasyManua.ls Logo

Omron NJ501-1500

Omron NJ501-1500
990 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
Loading...
2 Instruction Descriptions
2-302
NJ-series Instructions Reference Manual (W502)
LIMIT
The LIMIT instruction limits the value of the input variable to the specified minimum and maximum val-
ues.
* If you omit an input parameter, the default value is not applied. A building error will occur.
Instruction Name FB/FUN Graphic expression ST expression
LIMIT Limiter FUN Out:=LIMIT(MN, In, MX);
Variables
Name Meaning I/O Description Valid range Unit Default
MN Minimum
value
Input
Minimum value of limiter
Depends on data type.
--- *
In Data to
limit
Data to limit
MX Maximum
value
Maximum value of limiter
Out Processing
result
Output Processing result Depends on data type.
--- ---
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
MN OK OK OK OK OK OK OK OK OK OK
In OK OK OK OK OK OK OK OK OK OK
MX OK OK OK OK OK OK OK OK OK OK
Out OKOKOKOKOKOKOKOKOKOK
(@)LIMIT
EN ENO
MN Out
In
MX

Table of Contents

Related product manuals