Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 169
Advertising

5.6 Basic Function Instructions
5.6.1 Square Root (SQRT)
5-100
( 3 ) Programming Examples
The following programming examples demonstrate the SQRT instruction using integer and real number input data.
• Integer SQRT
The square root of 64, an integer in the input data in MW00000, is multiplied by 128
and the result is stored
in the output data in DW00000.
× 128
→ DW00000 = 1,448
• Real Number SQRT
The square root of 64.0, a real number in the input data in MF00000, is calculated and the result is stored in the
output data in DF00000.
→ DF00000 = 8.0
2
64
2
64.0
Advertising
This manual is related to the following products: