API
ESQR
127
D
P
bit device
X
Y
M
K
*
S
D
Notes on operand usage:
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, stores the
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 has been automatically
converted to a binary floating point number), and stores the results in (D11,
D10).
Word device
H
KnX KnY KnM
T
*
Chapter 16 PLC Function ApplicationsMS300
Find the square root of a binary floating point
number
16-bit command
C
D
-
*
32-bit command (9 STEP)
*
Continuous
DESQR
execution type
Flag signal: none
733
-
-
-
DESQR
Pulse
P
execution type