L9E_SUBFP: Floating Point Subtraction
(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_SUBFP DFB subtracts a floating point value 2 from a floating point value 1 and stores the result in an array.
Representation
Parameters
Input Pin
Name
Data Type
Address Range
Meaning
Top
ENABLE
ON = initiates floating point value 1 - value 2 subtraction
Node
Node Type
Name
Data Type
Address Range
Meaning
Top
IN
VALUE1
ARRAY[1...2] OF UINT
%MW
floating point value 1
VALUE1 stores floating point value 1 (the value from which value 2 will be subtracted).
Middle
IN/OUT
RESULT
ARRAY[1...4] OF UINT
%MW
floating point value 2 and difference
  • Word 1 and 2 store floating point value 2 (the value to be subtracted from value 1).
  • Word 3 and 4 store the difference of the subtraction in floating point format.
Output Pin
Name
Data Type
Address Range
Meaning
Top
OUT
BOOL
ON = operation successful