L9E_ADDIF: Integer+Floating Point Addition
(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 L9E_ADDIF DFB adds an integer and a floating point operand and stores the result in an array.
Representation
Parameters
Input Pin
Name
Data Type
Address Range
Meaning
Top
ENABLE
ON = initiates integer + floating point operation
Node
Node Type
Name
Data Type
Address Range
Meaning
Top
IN
VALUE1
ARRAY [1...2] OF UINT
%MW
integer value
  • VALUE1 stores the double precision integer value to be added to the floating point value
Middle
IN/OUT
SUM
ARRAY [1...4] OF UINT
%MW
floating point value and sum
  • Word 1 and 2 store the floating point value to be added in the operation
  • Word 3 and 4 store the sum of the addition in floating point format
Output Pin
Name
Data Type
Address Range
Meaning
Top
OUT
BOOL
ON = operation successful