L9E_SQRTP: Process Square Root
(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 process square root DFB (L9E_SQRTP) tailors the standard square root function for closed loop analog control applications. It takes the result of the standard square root result, multiplies it by 63.9922 (the square root of 4,095) and stores that linearized result in RESULT.The process square root is often used to linearize signals from differential pressure flow transmitters so that they may be used as inputs in closed loop control operations.
Representation
Parameters
Input Pin
Name
Data Type
Address Range
Meaning
Top
ENABLE
ON = initiates process square root operation
Node
Node Type
Name
Data Type
Address Range
Meaning
Top
IN
SOURCE
ARRAY[1...2] OF UINT
%IW, %MW
source value
Word 1 contains the source value (valid range = 0..4095) for which the square root will be derived.
Word 2 is not used.
Middle
IN/OUT
RESULT
ARRAY[1...2] OF UINT
%MW
linearized result
RESULT stores the linearized result of the process square root operation.
The result is stored in the fixed-decimal format: 1234.5600. where word 1 stores the four-digit value to the left of the first decimal point and word 2 stores the four-digit value to the right of the first decimal point.
Note: Numbers after the second decimal point are truncated; no round-off calculations are performed.
Output Pin
Name
Data Type
Address Range
Meaning
Top
OUT
BOOL
ON = operation successful
Middle
ERR
BOOL
ON =source value out of range