19Fnc29 (Neg): Complement - Mitsubishi FX2N-10GM Hardware / Programming Manual

Melsec-f
Hide thumbs Also See for FX2N-10GM:
Table of Contents

Advertisement

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
NEG
(D10)+1→(D10)
D 10
32-bit operation
[D]NEG
5 steps
KnM
D
V,Z
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
5-59

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx2n-20gm

Table of Contents