FB/FC
LIMIT is used for limiting the output value within the zone between the
FC
specified minimum and maximum values.
Parameters
Parameter
Meaning
name
Minimum
MN
value
In
Data to limit
Maximum
MX
value
Processing
Out
result
Bit string
●
●
●
MN
●
●
●
In
●
●
●
MX
●
●
●
Out
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data
type.
Function Explanation
LIMIT instruction limits the value within range between MN and MX and the result is output to Out.
The value of In
In < MN
MN ≤ In ≤MX
MX < In
Explanation
L IMIT
EN
MN
In
MX
Input/
Description
Output
Input
Minimum value
Input
Data to limit
Input
Maximum value
Output
Processing result
Integer
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
The value of Out
MN
In
MX
Chapter 8 Logic Instructions
ENO
Ou t
Depends on the data type of the
variable that the input parameter is
connected to.
Depends on the data type of the
variable that the input parameter is
connected to.
Depends on the data type of the
variable that the input parameter is
connected to.
Depends on the data type of the
variable that the output parameter is
connected to.
Real
number
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
Applicable model
DVP15MC11T
DVP15MC11T-06
Valid range
Time, date
●
●
●
●
8-147
8_