Limit - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

LIMIT

The LIMIT instruction limits the value of the input variable to the specified minimum and maximum val-
ues.
Instruction
LIMIT
Limiter
Variables
Name
Meaning
MN
Minimum
value
In
Data to
limit
MX
Maximum
value
Out
Processing
result
* If you omit an input parameter, the default value is not applied. A building error will occur.
Bit strings
MN
In
MX
Out
NY-series Instructions Reference Manual (W560)
Name
FB/FUN
FUN
I/O
Description
Minimum value of limiter
Data to limit
Input
Maximum value of limiter
Output
Processing result
OK OK OK OK OK OK OK OK OK OK
OK OK OK OK OK OK OK OK OK OK
OK OK OK OK OK OK OK OK OK OK
OK OK OK OK OK OK OK OK OK OK
Graphic expression
(@)LIMIT
EN
ENO
MN
Out
In
MX
Valid range
Depends on data type.
Depends on data type.
Integers
2 Instruction Descriptions
ST expression
Out:=LIMIT(MN, In, MX);
Unit
Default
*
---
---
---
Times, durations,
dates, and text strings
2
2-337

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents