L9E_DIVFI: Floating Point Divided by Integer
(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_DIVFI DFB divides a floating point operand 1 by an integer operand 2 and stores the result in an array).
Representation
Parameters
Input Pin
Name
Data Type
Address Range
Meaning
Top
ENABLE
ON = initiates floating point / integer operation
Node
Node Type
Name
Data Type
Address Range
Meaning
Top
IN
VALUE1
ARRAY[1...2] OF UINT
%MW
floating point value
VALUE1 stores the floating point value to be divided by the integer value.
Middle
IN/OUT
RESULT
ARRAY[1...4] OF UINT
%MW
integer value and quotient
The double precision integer value that divides the floating point value is posted in word 1 and 2.
The quotient is posted in word 3 and 4. The quotient is posted in floating point format.
Output Pin
Name
Data Type
Address Range
Meaning
Top
OUT
BOOL
ON = operation successful