Neg (Sign Inversion) - Panasonic FP7 Series Command Reference Manual

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

Advertisement

7.2 NEG (Sign Inversion)

7.2 NEG (Sign Inversion)

Ladder diagram
Available operation units (●: Available)
Operatio
bit
n unit
i
List of operands
Operand
Description
S
The device address where the data whose sign is to be inverted are stored, or the constant
D
Storage device address
Available devices (●: Available)
Operan
d
W
W
X
Y
S
D
(Note 1)
Cannot be specified when the operation unit is 16-bit integer (SS).
(Note 2)
Only 16-bit devices, 32-bit devices, and integer constants can be modified. (Real number constants,
and character constants cannot be specified.)
(Note 3)
Index register (I0 to IE)
Outline of operation
● This instruction calculates two's complement for the device address value or the constant
specified by [S], to invert the sign of the data.
● The calculation result is stored in the device address specified by [D].
7-4
US
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
SS
UL
32-Bit
device:
(Note 1)
TS
TE
U
W
WI
C
C
M
O
S
E
SL
SF
Real
Integer
numbe
r
IX
(N
K
H
SF
ote
3)
WUME-FP7CPUPGR-12
DF
St
rin
g
Index
modifie
r
D
(Note 2)
" "
F

Advertisement

Table of Contents
loading

Table of Contents