|
Name in LL984 Editor
|
Function Block Name
|
|---|---|
|
name of legacy 984 instruction
|
name in other tools and editors like:
|
|
|

|
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
|