L9_IBKR: Indirect Block Read
(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 L9_IBKR (indirect block read) procedure lets you access non-contiguous parameters dispersed throughout your application and copy the contents into a destination block of contiguous addresses. This function block can be used with subroutines or for streamlining data access by host computers or other PLCs..
L9_IBKR has one control input (ENABLE), which initiates the operation.
L9_IBKR produces two possible outputs. OUT echoes the state of the top input. Power is passed to ERR if there is an event in the source table — for example if the source parameter does not exist.
Representation
Parameters
Input Pin
Name
Data Type
Address Range
Meaning
Top
ENABLE
OFF to ON initiates the operation.
Node
Node Type
Name
Data Type
Address Range
Meaning
Top
IN
SOURCE
ANY_ARRAY_UINT
%MW
The source array contains values with parameter indices that point into the %MW memory. The values at the places pointed to are collected in the DEST array declared as ARRAY[1..LENGTH] OF_UINT.
Middle
IN/OUT
DEST
ANY_ARRAY_UINT
%MW
The destination table declared as ARRAY[1..LENGTH] OF UINT.
LENGTH is represented as a constant value of the LENGTH parameter.
Bottom
IN
LENGTH
UINT
1...255
The number of words in the destination block.
Valid range: 1 to 255.
Output Pin
Name
Data Type
Address Range
Meaning
Top
OUT
BOOL
ON indicates the operation succeeded.
Bottom
ERR
BOOL
ON indicates the attempted operation is not possible.