EasyManua.ls Logo

Xinje XD Series - 4-9.Floating number Operation; 4-9-1 Floating Compare [ECMP,EDCMP]

Xinje XD Series
456 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
Loading...
167
D10GBIN D100
X0
S· D·
0 0 0 0 0 1 0 0 1 0 1 0 0 0 1 1
0 0 0 0 0 1 1 0 1 1 1 1 0 0 1 0
D10b15
b15 b0
b0
D100
Transform the gray code to binary value.
GBIN has32 bits mode DBIN, which can transform32 bits binary value.
Range is 0~32,767 (16 bits instruction); 0~2,147,483,647 (32 bits instruction).
4-9
Floating number Operation
Mnemonic
Function
Chapter
ECMP
Floating Compare
4-9-1
EZCP
Floating Zone Compare
4-9-2
EADD
Floating Add
4-9-3
ESUB
Floating Subtract
4-9-4
EMUL
Floating Multiplication
4-9-5
EDIV
Floating Division
4-9-6
ESQR
Floating Square Root
4-9-7
SIN
Sine
4-9-8
COS
Cosine
4-9-9
TAN
Tangent
4-9-10
ASIN
ASIN
4-9-11
ACOS
ACOS
4-9-12
ATAN
ATAN
4-9-13
4-9-1 Floating Compare [ECMP,EDCMP]
1) Summary
Floating Compare [ECMP,EDCMP]
16 bits
-
32 bits
ECMP
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable
Models
XD, XL
Hardware
requirement
-
Software
requirement
-
64 bits
EDCMP
Execution
condition
Normal ON/OFF/falling or
rising pulse edge
Suitable
Models
XDH, XLH
Hardware
requirement
Version V3.7.1 or later
Software
requirement
Version V3.7.4a or later
Source (GRY) target (BIN)
From the left second bit of D10, XOR
each bit with the value after decoding,
as the bit value after decoding (the left
bit will not change). The
transformation value will be stored in
D100.
tudonghoatoancau.com

Table of Contents

Other manuals for Xinje XD Series