6 basic function instructions, 1 square root (sqrt), 1 ) operation – Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 168: 2 ) format

5.6 Basic Function Instructions
5.6.1 Square Root (SQRT)
5-99
Instructions
5
5.6 Basic Function Instructions
5.6.1 Square Root (SQRT)
( 1 ) Operation
The SQRT instruction calculates the square root of the integer or real number input data and stores the result in the out-
put data.
Double-length integers cannot be used.
If the input data is less than 0, the absolute value of the input data will be used to perform the operation and output
the result.
[ a ] Integer SQRT: When the Input Data and Output Data Are Integer Data.
With an integer SQRT instruction, the result is calculated differently from the square root used in mathematics.
[ b ] Real Number SQRT: For Any Other Data Types
( 2 ) Format
∗ C and # registers cannot be used.
Input data
× 128
2
Output data
Output data
Input data
Parameter Name
Applicable Data Types
B
W
L
F
A
Index
Constant
Input data (Src)
×
{
×
{
×
{
{
Output data (Dest)
×
{
∗
×
{
*
×
{
×
Input data
Output data
Icon:
Key entry: SQRT