EasyManua.ls Logo

Inovance H3U Series - Page 120

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...
119
4
4 Instructions 4.4.2 Logical Operations
1100000000000001
' 
0100000000000001
' 
1000000000000001
' 
0000000000000001
' 
0 101111111111111
' 
0 011111111111111
' 
0 111111111111111
' 
1 000000000000000
' 
Max. absolute value: 32
ENEG: Binary oating-point sign negation
Overview
The ENEG instruction inverts the sign of a binary oating-point number (real number).
ENEG
S/D
Binary oating-
point sign negation
Applicable model:
H3U
S/D Operand
Start number of elements that store the binary oating-point
number subjected to a sign change
32-bit instruction
(5 steps)
DENEG: Continuous
execution
DENEGP: Pulse
execution
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S/D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
Function
The sign of the binary oating-point number in [D+1, D] is inverted. The result is stored in [D+1, D]. The
pulse execution type is generally used.
Application
The following example inverts the data in D100 and D101. The result is stored in D100 and D101.
Before execution of the instruction

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals