L9P_RATE: Derivative Rate Calculation over a Specified Time
(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_RATE DFB calculates the rate of change over the last 2 input values. If you set an initialization flag, the DFB records a sample and sets the appropriate flags.
Representation
Parameters
Output 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...14] OF UINT
%MW
see Parameter PAR below
Bottom
IN
LEN
UINT
14
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...14] of UINT
Word
Content
Format
1, 2
current input
REAL (Floating Point)
3
output status
UINT
4
input status
UINT
5
time word
UINT
6
reserved
UINT
7, 8
time (in ms) since last solve
DINT
9, 10
solution interval (in ms)
DINT
11, 12
last input
REAL (Floating Point)
13, 14
output (result)
REAL (Floating Point)
Output Status
Control Expert-IEC bits
Function
0...7
standard output bits (flags)
8...15
not used
Input Status
Control Expert-IEC bits
Function
0...11
not used
12...15
standard input bits (flags)