L9P_DELAY: Time Delay Queue
(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_DELAY DFB can be used to build a series of readings for time-delay compensation in the logic. Up to 10 sampling instances can be used to delay an input.
All values are carried along in a table, where the first element contains the current sampled input. The 10th delay period does not need to be stored. When the 10th instance in the sequence takes place, the value of the last element in the table can be moved directly to 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...32] OF UINT
%MW
see Parameter PAR below
Bottom
IN
LEN
UINT
32
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...32] of UINT
Word
Content
Format
1, 2
input at time n
REAL (Floating Point)
3
output status
UINT
4
input status
UINT
5
reserved (not used)
UINT
6
reserved (not used)
UINT
7, 8
time (in ms) since last solve
DINT
9, 10
solution interval (≥ 100 ms)
DINT
11, 12
sample input at time n0
ARRAY[0..9] OF REAL
...
...
29, 30
sample input at time n9
31, 32
output
REAL (Floating Point)
Output Status
Control Expert-IEC bits
Function
0...7
standard output bits (flags)
8...11
count of words remaining to be initialized
12
1 = time delay out of range
13...15
not used
Input Status
Control Expert-IEC bits
Function
0...4
not used
5...7
echo number of words remaining to be initialized
8...11
time delay ≤ 10
12...15
standard input bits (flags)