7 square root (sqt) – Yaskawa MP900 Series Motion Programming Manual User Manual
Page 165
Advertising

Sequence Commands
4.6.7 SQUARE ROOT (SQT)
4 -32
Example:
D
Integer Data
MW00100 = ATN (MW00102);
Equivalent
⇒
45=ATN(1.0)
(04500)
(00100)
D
Real Number Data
MF00100 = ATN (MF00102);
(45.0)
(1.0)
4.6.7 SQUARE ROOT (SQT)
J
Overview
The SQT command returns the square root of an integer or real number as the operation result.
Double integer data cannot be used.
J
Description
Designation Method
MW00100=SQT(MW00101);
MW00100=SQT(100);
MF00200=SQT(MF00202);
Data Types
Bit (B)
Integer (W)
Double Integer
(L)
Real Number
(F)
Constant
No
Yes
No
Yes
Yes
J
Programming Examples
Type
Motion Program
Ladder Logic Program
B
−
−
W
MW00102=SQT(MW00100);
MW00100 SQRT
⇒
MW00102
L
−
−
F
DF00202=SQT(DF00200);
DF00200
SQRT
⇒
DF00202
4
A
EXAMPLE
"
Advertising
This manual is related to the following products: