L9E_ADDFP: 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_ADDFP DFB adds two floating point operands and stores the result in an array.
Representation
Parameters
Input Pin
Name
Data Type
Address Range
Meaning
Top
ENABLE
ON = adds operands and posts sum in designated words
Node
Node Type
Name
Data Type
Address Range
Meaning
Top
IN
VALUE1
ARRAY [1...2] OF UINT
%MW
floating point value 1
  • VALUE1 stores the first floating point operand, with the high-order part containing the sign in word 2 and the low-order part in word 1.
Middle
IN/OUT
SUM
ARRAY [1...4] OF UINT
%MW
floating point value 2 and sum
  • Word 1 and 2 store the floating point value 2
  • 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