EasyManua.ls Logo

Inovance H3U Series - Data Operation

Inovance H3U Series
737 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...
101
4
4 Instructions 4.3.2 Comparison Output
D is the comparison result storage unit, which occupies three (bit) variables.
Example:
Floating-point number (D101, D100) > (D21, D20), M0=ON
Floating-point number (D101, D100) <= (D21, D20) <= (D121, D120), M1=ON
Floating-point number (D21, D20) > (D121, D120), M2=ON
M0, M1, or M2 switches to ON when X11 = ON.
The DEZCP instruction is not executed when X11 switches from ON
to OFF, and M0, M1, and M2 remain in the state prior to X11 = OFF.
Use the RST or ZRST instruction to clear the comparison result of M0
to M2.
ǒDEZCP D100 D120 D20 M0Ǔ
X11
S1
S2
D
M0
M1
M2
S
4.4 Data Operation
Four arithmetic
operations
ADD Binary number addition
SUB Binary number subtraction
MUL Binary number multiplication
DIV Binary number division
EADD Binary oating point addition
ESUB Binary oating point subtraction
EMUL Binary oating point multiplication
EDIV Binary oating point division
INC Binary number incremented by 1
DEC Binary number decremented by 1
Logical operations
WAND Binary number logical AND
WOR Binary number logical OR
WXOR Binary number logical XOR
NEG Binary number negation
ENEG Binary oating-point sign negation
Trigonometric functions
SIN Floating point SIN operation
COS Floating point COS operation
TAN Floating point TAN operation
ASIN Binary oating point ARCSIN operation
ACOS Binary oating point ARCCOS operation
ATAN Binary oating point ARCTAN operation
RAD Binary oating point degree-to-radian conversion
DEG Binary oating point radian-to-degree conversion
SINH Binary oating point SINH operation
COSH Binary oating point COSH operation
TANH Binary oating point TANH operation

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals