![FATEK FBs Series Manual Download Page 299](http://html1.mh-extra.com/html/fatek/fbs-series/fbs-series_manual_3764826299.webp)
Advance Function Instruction
7 -1 3 5
FUN 208
P
FSQR
FLOATING POINT NUMBER SQUARE ROOT
FUN 208
P
FSQR
S : Source register to be taken square root
D : Register for storing result
(square root value)
S, D may combine with V, Z, P0~P9 to serve
indirect address application
HR
ROR
DR
K
XR
Range
Operand
R0
∣
R383
9
R5000
∣
R8071
D0
∣
D4095
Floating
point
number
V
、
Z
P0
~
P9
S
○
○
○
○
○
D
○
○
*
○
○
Description
z
The format of floating point number of Fatek-PLC follows the IEEE-754 standard. For detail explanation of
the format please refer to 5.3 (Numbering System) page 5 - 9
.
z
When operation control "EN" = 1 or "EN
↑
" (
P
instruction) from 0 to 1, take the square root of the data
specified by the S value or S~S+1 register, and store the result into the register specified by D~D+1.
z
If the value of S is negative, then the error flag "ERR" will be set to 1, and do not execute the operation.
EN
S :
D :
ERR
208P.FSQR
X0
2520.04
D0