FX Series Positioning Controllers
5.10.19 FNC29 (NEG): Complement
FNC 29
NEG
BINARY
devices
Applicable
devices
and basic
format
X00
FNC 29
NEG
Obtaining the absolute value of a negative value
Complement
16-bit operation
NEG
3 steps
Word
K,H
KnX
KnY
Drive
input
FNC 29
D·
NEG
(D10)+1→(D10)
D 10
32-bit operation
[D]NEG
5 steps
KnM
D
V,Z
D·
Each bit of data in the device specified by
is inverted (0→1,1→0), "1" is added to the
inverted bits, then the result is saved in the
same device.
·
This instruction yields the absolute value of a
negative binary value.
Program format 5
Applicable models
Series name
Remarks
FX
-10GM
2N
FX
-20GM
2N
D·
5-59