EasyManuals Logo

Xinje XD5 User Manual

Xinje XD5
389 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #166 background imageLoading...
Page #166 background image
165
4-9-7Float Square Root [ESQR]
1. Summary
Floating Square Root [ESQR]
16 bits
-
32 bits
ESQR
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable
Models
XD, XL
Hardware
requirement
-
Software
requirement
-
2. Operands
Operands
Function
Data Type
S
The soft element address need to do square root
32 bits, BIN
D
The result address
32 bits, BIN
3. Suitable soft components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
ESQR D10 D20
X0
S· D·
A square root is performed on the floating point value S; the result is stored in D
If a constant K or H used as source data, the value is converted to floating point before the
operation.
ESQR K1024 D110
X1
When the result is zero, zero flag activates.
Only when the source data is positive will the operation be effective. If S is negative then an
error occurs and error flag SM409 is set ON, SD409=7, the instruction can’t be executed.
Note: the operand value must be floating numbers, otherwise the result will be error.
Operand
System
Constant
Module
D
*
FD
TD
*
CD
*
DX
DY
DM
*
DS
*
K /H
ID
QD
S
D
Word
(D11, D10) (D21, D20)
Binary Floating Binary Floating
Description
(K1024) → (D111, D110)
Binary converts to Floating Binary Floating

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Xinje XD5 and is the answer not in the manual?

Xinje XD5 Specifications

General IconGeneral
BrandXinje
ModelXD5
CategoryController
LanguageEnglish

Related product manuals