Applied Instructions
ESQR D10 D20
X0
S· D·
ESQR K1024 D110
X1
Function & Action
(D11,D10) →(D21,D20)
Binary Floating Binary Floating
z A square root is performed on the floating point value in S the result is stored in D.
z If a constant K or H used as source data, the value is converted to floating point before
the addition operation.
(K1024) → (D111,D110)
Binary converts to Floating Binary Floating
z When the result is zero, zero flag activates
z Only when the source data is positive will the operation be effective. If S is negative then
an error occurs and error flag M8067 is set ON, the instruction can’t be executed.
[ESQR]
16 bits instruction: 32 bits instruction- :ESQR
Suitable Models:
XC3、XC5
Word
Device
Bit
Device
X
Y
M
S
T
C
Dn.m
D
FD
DM
DX
DY
DS
TD
CD
K/H
D·
S·
S·
[SIN]
16 bits instruction: 32 bits instruction- :SIN
Suitable Models:
XC3、XC5
124