Fneg (Floating Point Real Number Data - Sign Changes (Negative/Positive Conversion)) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

11.20 FNEG (Floating Point Real Number Data - Sign Changes (Negative/
11.20 FNEG (Floating Point Real Number Data - Sign Changes
(Negative/Positive Conversion))
Ladder diagram
Available operation units (●: Available)
Operatio
bit
n unit
i
List of operands
Operand
Description
S
Calculation target data (device address or constant)
D
Calculation result (device address)
Available devices (●: Available)
Operan
d
W
W
X
Y
S
D
(Note 1)
Only 16-bit devices, and 32-bit devices can be modified (real number constants cannot be specified).
(Note 2)
Index register (I0 to IE)
(Note 3)
Can be specified only when the operation unit is a single-precision floating point real number (SF).
(Note 4)
Can be specified only when the operation unit is a double-precision floating point real number (DF).
Outline of operation
● According to the operation unit [i], the sign (negative or positive) of the real number value
stored in the area starting with [S] is inverted.
● The calculation result is stored in the area starting with [D].
WUME-FP7CPUPGR-12
US
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
SS
UL
32-Bit
device:
TS
TE
U
W
WI
C
C
M
O
S
E
Positive Conversion))
SL
SF
Real
Integer
numbe
r
D
IX
SF
F
(N
(N
(N
K
H
ote
ote
ote
2)
3)
4)
DF
St
rin
g
Index
modifie
r
(Note 1)
" "
11-41

Advertisement

Table of Contents
loading

Table of Contents