L9E_POW: Raising a Floating Point Number to an Integer Power
(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_POW DFB calculates a floating point value raised to the power of an integer value.
Representation
Parameters
Input Pin
Name
Data Type
Address Range
Meaning
Top
ENABLE
ON = calculates floating point value raised to the power of integer value
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 raised to the integer power.
Middle
IN/OUT
RESULT
ARRAY[1...4] OF UINT
%MW
integer value and result
The bit values in word 1 must all be cleared to zero. An integer value representing the power to which VALUE1 will be raised is stored in word 2. The result of the floating point value being raised to the power of the integer value is stored in word 3 and 4.
Output Pin
Name
Data Type
Address Range
Meaning
Top
OUT
BOOL
ON = operation successful