L9P_LIMIT: Limiter for the Pv
(Original Document)
Naming
Name in LL984 Editor
Function Block Name
name of legacy 984 instruction
name in other tools and editors like:
  • Type Library Browser
  • Data Editor
  • Animation Tables
  • Search Results
Function Description
The L9P_LIMIT DFB limits the input value to a range between a specified high and low limit.
If the input value is over the high limit or below the low limit, the function sets an H or L flag and clamps the output.
Representation
Parameters
Input Pin
Name
Data Type
Address Range
Meaning
Top
ENABLE
ON = enables process control function
Node
Node Type
Name
Data Type
Address Range
Meaning
Middle
IN/OUT
PAR
ARRAY[1...10] OF UINT
%MW
see Parameter PAR below
Bottom
IN
LEN
UINT
10
length of parameter block (can not be changed)
Output Pin
Name
Data Type
Address Range
Meaning
Top
OUT
BOOL
ON = operation successful
Bottom
ERR
BOOL
ON = operation not successful
Parameter PAR
The data type of the parameter block is ARRAY[1...10] of UINT
Word
Content
Format
1, 2
current input
REAL (Floating Point)
3
output status
UINT
4
input status
UINT
5, 6
low limit
REAL (Floating Point)
7, 8
high limit
REAL (Floating Point)
9, 10
output
REAL (Floating Point)
Output Status
Control Expert-IEC bits
Function
0...4
standard output bits (flags)
5
1 = invalid high/low limits (e.g., low ≥ high)
6
1 = input > high limit
7
1 = input < low limit
8...15
not used
Input Status
Control Expert-IEC bits
Function
0...11
not used
12...15
standard input bits (flags)