Chapter 16 PLC Function ApplicationsMH300
ESQR
Find the square root of a binary floating point
number
-
-
DESQR
Continuous
execution type
Flag signal: none
*
*
*
*
Refer to the function
specifications table for each device in series for
the scope of device usage.
S: source device for which square root is desired. D: result of finding square
root.
Finds the square root of the content of the register designated by S, store
result in the register designated by D. Square roots are performed entirely using
binary floating point numbers.
If the source operand S refers to a constant K or H, the command converts that
constant into a binary floating point number for use in the operation.
When X0=ON, finds the square root of the binary floating point number (D1, D0),
and stores the result in the register designated by (D11, D10).
When X2 =ON, finds the square root of K1,234 (which is automatically converted
to a binary floating point number), and stores the result in (D11, D10).