L9E_ADDDP: Double Precision 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_ADDDP DFB adds two double precision 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
Value 1 stores the high-order halves and low-order halves of operand 1, for a combined double precision value in the range of 0 through 99,999,999.
Middle
IN/OUT
SUM
ARRAY [1...6] OF UINT
%MW
  • Word 1 and 2 store the high-order and low-order halves of operand 2, for a combined double precision value in the range 0 through 99,999,999.
  • Word 3 indicates whether an invalid value exists (a value of 1 = invalid value)
  • Word 4 and 5 store the high-order and low-order halves of the double precision sum, for a combined double precision value in the range 0 through 99,999,999.
  • Word 6 is reserved.
Output Pin
Name
Data Type
Address Range
Meaning
Top
OUT
BOOL
ON = operation successful
Middle
ERR
BOOL
ON = operand out of range or invalid